I installed phpMyAdmin in Ubuntu 9.04 via apt-get install but when I type http://localhost/phpmyadmin in the address bar in my Internet Browser the page is not found


I installed phpMyAdmin in Ubuntu 9.04 via apt-get install phpmyadmin but when I type  in the address bar in my Internet Browser the page is not found?  I have installed PHP, Apache2, mySql and have restarted Apache but still nothing happens when I type . Create a symbolic link in /etc/apache2/conf.d that points to/etc/phpmyadmin/apache.conf Files included in the /etc/apache2/conf.d/ directory are...

How to add a Apache VirtualHost on Ubuntu


With this tutorial I assume that you know what Apache web server is and that you have PHP and Apache installed on your machine. Also ensure that you are able to serve web pages. NOTE: This has been tested on Ubuntu 9.04   Answer: Open your Terminal Window or the command line. Navigate to the /etc/apache2/sites-available directory with this command: cd /etc/apache2/sites-available Create...

How to check how much memory you have available on Ubuntu (Linux)


Open a Terminal Window if not yet in command line Type in the following command: cat /proc/meminfo This will display a resultset as below of how much memory you have left MemTotal:        1974152 kB MemFree:          373196 kB Buffers:          107380 kB Cached:           881568 kB SwapCached:        13288 kB Active:           872248 kB Inactive:         640876 kB Active(anon):     599548 kB...

How to change your password via Command Line in Linux


Type in the following command: passwd and hit enter!
Now you will need to enter your current password.
Changing password for YOURNAME.
(current) UNIX password:
Type in your password and hit enter

Now enter your new password:
Enter new UNIX password:

Retype your new password:

Retype new UNIX password:

That’s all! Now you should be able to use your new password

How to restart GDM in UBUNTU


GDM = GNOME Display Manager You may need to restart GDM if GDM halts or does not want to function anymore. If a similar problem like this occurs it usually means that only GDM does not function.     If you quickly want to restart GDM press the following key combinations together: Ctrl+Alt+Backspace To restart GDM via the Terminal session type in the following command: sudo /etc/init...

Creating Aliases in Ubuntu


How to create Aliases in Ubuntu? If you have a command that you run all the time in Ubuntu like pwd to print your working directory, you can create an alias for that specific command. In otherwords a shorter version for the pwd command.   Open a Terminal Window (CLI = Command Line Interface) Type the command cd to take you to your home directory. Now you need to edit the .bashrc file. To...

How to check what Kernel and Distribution of Linux your running


How to check what Kernel and Distribution of Linux your running via the Command Line? KERNEL Type in the following command: uname -r And hit enter The command above will display the kernel version you are running eg. 2.6.28-13-generic uname = Prints System Information -r = Prints the kernel release DISTRIBUTION Type in the following command: cat /etc/issue And hit enter The command above will...

How to mount partition/drive at startup Ubuntu/Linux


Open a new Terminal Window Create a mount point where you need the partition/drive to be mounted. You may mount the drive anywhere and call it whatever you want to. Example: mkdir /media/development   Make a backup of the fstab file!!!  This is very important!!!!!! Example: sudo cp /etc/fstab /etc/fstab.backup20090728 Open the fstab file for editing Example: sudo gedit /etc/fstab Add the line...

How to read a chm file in Ubuntu


(This has been tested on Ubuntu 9.04)(chm was developed by Microsoft Corporation)   Answer: STEP 1 At the top left corner of the Ubuntu Desktop click on Application->Add/Remove STEP 2 In the search box type in ‘chm‘ to search for chm reader applications. Select CHM Viewer in the list and mark the checkbox next to it. STEP 3 Click on the  ‘Apply Changes‘ button to...

How to see statistical information about how Linux is currently handling your memory,swap and processes


Open a new Terminal Window if not already in command line. Type in the ‘top‘ command. Now a list of processes will appear as below. top – 09:38:39 up  1:09,  2 users,  load average: 0.43, 0.29, 0.29 Tasks: 165 total,   2 running, 163 sleeping,   0 stopped,   0 zombie Cpu(s):  4.5%us,  3.2%sy,  0.0%ni, 92.2%id,  0.0%wa,  0.2%hi,  0.0%si,  0.0%st Mem:   1974152k total,  1622216k...

How to change the root MySQL password with MySQL installed on Ubuntu/Linux


Open a new Terminal Window. Type in the commands below. mysqladmin -u root OLDPASSWORD NEWPASSWORD If you get the error below follow solution 2 mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using password: YES)' If you did not get the error above restart the mySql server by typing the following command: sudo service mysql restart Solution...

About Author

Ian Carnaghan

I am a software developer and online educator who likes to keep up with all the latest in technology. I also manage cloud infrastructure, continuous monitoring, DevOps processes, security, and continuous integration and deployment.

Follow Me