Posts

Showing posts from July, 2012

How To Edit Grub Menu or Software On Ubuntu / Linux / Fedora Grub Customizer

Image
Define Grub ..?? GNU GRUB  (short for  GNU GRand Unified Bootloader ) is a  boot loader  package from the  GNU Project . GRUB is the  reference implementation  of the  Multiboot Specification , which provides a user the choice to boot one of multiple  operating systems  installed on a computer or select a specific  kernel  configuration available on a particular operating system's partitions. --- Says Wiki... Now, For Ubuntu  Open Terminal and type   sudo add-apt-repository ppa:danielrichter2007/grub-customizer  sudo apt-get update  sudo apt-get install grub-customizer (Fedora 32-bit) wget -O grub-customizer-2.5.7-i686.rpm http://goo.gl/vE2Ev sudo yum install grub-customizer-2.5.7-i686.rpm (Fedora 64-bit) wget -O grub-customizer-2.5.7-x86_64.rpm http://goo.gl/1GL6B sudo yum install grub-customizer-2.5.7-x86_64.rpm Now open you can open it from System tools>> administration >> Grub optimizer  Enjoy...

How To Change GRUB2 Background Image Or Splash Image In Ubuntu 12.04/11.10 LInux

Image
Splash menu....? This is the menu which comes first when u stat your system ,and this allows you to select the os. Now you can change the back ground of this screen to a picture or anything you want.. For that u need to install grub2splash images.. Now open the terminal and type sudo apt-get install grub2-splashimages GRUB spalsh images are stored in the /usr/share/images/grub folder, you can access it with this command: sudo nautilus /usr/share/images/grub Yup can have any image of your own for one condition that it should be TGA format  edit now the /etc/default/grub file with this command: sudo gedit /etc/default/grub At the end of the file, add this line: GRUB_BACKGROUND=/usr/share/images/grub/YOUR-IMAGE.tga Replace YOUR-IMAGE.tga with your custom image name. When you finish, press CTRL+Q and save your file. Run now this command: sudo update-grub Restart now your computer to see if changes are successful ...

Install LAMP (Linus Apache My SQL PHP ) in LINUX / UBUNTU TIPS

Image
This is how wiki defines LAMP ...                      LAMP is an acronym for a solution stack of free , open source software, referring to the first letters of Linux ( operating system ), Apache HTTP Server , MySQL ( database software ) and originally Perl (but now sometimes PHP or Python ), principal components to build a viable general purpose web server . 1. At first  Login as root: sudo su 2 Install MySQL 5 apt-get install mysql-server mysql-client 3.  Install Apache apt-get install apache2 Now type "localhost" in web page ad you will lead to apache page Default location is /var/www   - web-root by default 4.  Install PHP5 apt-get install php5 libapache2-mod-php5 Now restart PHP /etc/init.d/apache2 restart 6.  To get support of My Sgl in php apt-cache search php5 Also install the following bundles... apt-get install php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-mi

How To Stop or Block The PING response in linux / Ubuntu

Image
Define PING...                                               Ping is a computer network administration utility used to test the reachability of a host on an Internet Protocol (IP) network and to measure the round-trip time for messages sent from the originating host to a destination computer. The name comes from active sonar terminology which sends a pulse of sound and listens for the echo to detect objects underwater. With computer operating systems Ping or PING stands for Packet INternet Groper but is ordinarily written as "ping" instead of the proper acronym for which it stands.--- Wikipedia If your system response the the hacker will try to hack your system.. if you turn off the ping its much of safe.. Now go to file system : /etc/init.d/networking and type :... echo 1 >/proc/sys/net/ipv4/icmp_echo_ignore_all to re-enable echo 0 >/proc/sys/net/ipv4/icmp_echo_ignore_all Stop Hackers......

Installing CGI BIN in Apache - Ubuntu -Common Gateway Interface

Image
Let me introduce you to CG I   at First .. The Common Gateway Interface ( CGI ) is a standard method for web server software to delegate the generation of web content to executable files. Such files are known as CGI scripts ; they are programs, often stand-alone applications, usually written in a scripting language .  ---- by WikiPedia  Now.. 1:- There are mainly 3 modules  I   CGI II  CGID III userdir Now type the following command in the terminal\ $ sudo a2enmod module #NB: You should execute the command 3 times with each module names on "module"  o the command above  2:- Now Restart the Apache:  $ sudo /etc/init.d/apache2  restart 3:-  Make  public_html inside your home folder and place cbi-bin in it $ cd ~                                     $ mkdir public_html                                     $ mkdir public_html/cgi-bin 4:- Now Edit Config... $ cd /etc/apache2 5. Open Default file . $ s

Installing Multimedia and Video in Linux Ubutu 12.04

Image
Guys, If you had installed the fresh version of Linux Ubuntu  12.04,you would wont be able to play music files or videos directly. For that you may need  to install medibuntu repository and some extra packages. Step 1: Open terminal and enter the command below sudo -E wget --output-document=/etc/apt/sources.list.d/medibuntu.list http://www.medibuntu.org/sources.list.d/$(lsb_release -cs).list && sudo sed -i "/^# deb .*partner/ s/^# //" /etc/apt/sources.list && sudo apt-get --quiet update && sudo apt-get -y --force-yes --quiet --allow-unauthenticated install medibuntu-keyring app-install-data-medibuntu apport-hooks-medibuntu && sudo apt-get update Step 2: Then  install some packages for player and MUSIC ON!!!! sudo apt-get install ubuntu-restricted-extras non-free-codecs p7zip-rar acroread gimp inkscape blender smplayer vlc libdvdcss2 libdvdread4 faac faad audacious rubyripper cd-discid aacplusenc gtkpod lame cdrdao aacgain flac

How To Dowload widows 8 Customer Preview For Free

Image
Hi,     The Microsoft is making a cut by making the windows 8 to the market.They had released the consumer preview version in the market. You can either install it as new or upgrade it to the current windows 7 .The download link is given below.The Link pulls you to the Microsoft site.. but not to be afraid of anything Download Link >> Click Here

How To Insert Program Code[C++,C,Php, HTML..etc ] In Word Press Or Blogger

Image
Guys,                                   If you are a beginner the u may noticed that some time you can't enter the program code .. and some time it may seems to be wrongly printed...The basic reason is that the Blogger will also work out your code resulting in error data. So in order to insert the Program code use the following site and enter the code on it and get the formated code on the other end.. Happy coding Link : Code Formatter

How to get the File Size and File Type of File / Folder in PhP With Example Source Code

Image
Guys, By using the following code we can find out the File size and type of files/ folders in a directory . The help is give as comments and if have any more doubt then please comment Example Code <?php   $myDirectory = opendir("rootFolder");   // get each entry   while($entryName = readdir($myDirectory)){        $dirArray[] = "rootFolder/".$entryName;   }   // close directory   closedir($myDirectory);   //     count elements in array    $indexCount     = count($dirArray);    Print ("$indexCount files<br>\n");   // sort 'em   sort($dirArray);   // print 'em    print("<TABLE border=1 cellpadding=5 cellspacing=0 class=whitelinks>\n");    print("<TR><TH>Filename</TH><th>Filetype</th><th>Filesize</th></TR>\n");   // loop through the array of files and print them all   for($index=0; $index < $indexCount; $index++) {       if (substr("$dirArray[$in

How to connect Or Access a Windows share folder or file from a Linux / Ubuntu system in the same network

Image
Hi,                                                                            This Blog include the details about how to connect a  Windows share folder from a Linux / Ubuntu system in the same network. Step I: Click on the " Places "tab and select "connect to server".     Places>>Connect To Server Step II: Form the window popping up ,From the Service type select " Windows Share " Step III: Then in the server Field Enter the computers IP address , ie the IP of the system that the shared folder in  windows  exists . Step IV: Then you will get a new  window.Select the folder ad Go on..... This will help You if U have both Linux ad Windows i a same network.For more Details Enlarge the images.

How to Create Live Search In Html Using Ajax Ad PhP - Google Live Search / Instant Search Code And Example

Image
Hi, Here Is the code and example for how to create a live search or instant search for your website.It consist of 3 parts 1.A JavaScript including Ajax 2.A Input box to enter the keywords by user 3.A Php Code to do the searching           Now , the JavaScript code is given below <script type="text/javascript"> function showResult(str) { if (str.length==0) { document.getElementById("livesearch").innerHTML=""; document.getElementById("livesearch").style.border="0px"; return; } if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, IE5 xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("livesearch").innerHTML=xmlhttp.responseTe

Video Player Online For A Website For Free

Image
Howdies, Guys if you need a video player online for your website then you can use FLOW PLAYER.It is basically a flash player but it can supper iPhone in separate code.It support FLV ,MP4 ,F4V.We can use many other features like adding play list effects etc.. its a free edition but you can buy it for professional business. Go To Flow Player

Download Calender JavaScript or source code of calender java script-ajax

Image
Guys,                        I had searched a lot for finding the calender script for my project and now i had the perfect one .Yow can download it from the Link Below.There are more script in that site.Copy the code and jst paste it where u want the calender  Download Here Source  Code Example: