Archive for the ‘Linux’ Category

How to Repair GRUB 2 When Ubuntu Won’t Boot


Using Terminal Method

If you have Ubuntu 12.04 installed, ensure you use a Ubuntu 12.04 live CD.
Open a terminal after booting into the live environment. Identify the partition Ubuntu is installed on using one of the following commands:
sudo fdisk -l
sudo blkid
Step 1
Here is the output of both commands. In the sudo fdisk -l command, the Ubuntu partition is identified by the word Linux in the System column. 

Output of drive information 1

Read more »

Apache 2 Web Server in Linux – Start, Stop and Restart

Start Apache 2 Web Server
To start Apache 2 web server, enter:
/etc/init.d/apache2 start
sudo /etc/init.d/apache2 start

Restart Apache 2 Web Server
Restart Apache 2 web server, enter:
/etc/init.d/apache2 restart
sudo /etc/init.d/apache2 restart


Read more »

Remove Old Kernels from Ubuntu 12.10 with Ubuntu Tweak


If you’ve been using and updating Ubuntu for sometime now, you may have old kernels installed on your system that are not useful anymore.
Using Ubuntu Tweak, this brief tutorial is going to show you how to remove those old kernels from Ubuntu 12.04 / 12.10 easily with few clicks. If these unused kernels are not removed, they may just end of using valuable space on your system’s disks.
Step 1
To get started, press Ctrl + Alt + T on your keyboard to open the terminal. When it opens, run the commands below to add Ubuntu Tweak PPA
sudo add-apt-repository ppa:tualatrix/ppa

Read more »