How to Install Web Hosting Apps on Ubuntu

How to Install Web Hosting Apps on Ubuntu thumbnail
Any Ubuntu computer can be a server with Web hosting applications installed.

Ubuntu is a popular Linux based operating system. Linux is also a popular platform for Web hosting. In order to host websites and other Web applications on Ubuntu, you need to install software, such as LAMP (Linux-Apache-MySQL-PHP) onto your system. Whether you plan to use this Ubuntu installed computer for development and testing, or for production hosting, the installation is the same.


    • 1

      Open a terminal. If you are using the desktop version of Ubuntu, press the <CTRL><ALT><T> combination, or access the terminal from the menu at the top left. Using Ubuntu server edition, you start out in the terminal.

    • 2

      Type the following command into the terminal:

      sudo apt-get install lamp-server^

      The carat is not a typo.

    • 3

      Press the "Enter" key to confirm you want to install the listed packages.

    • 4

      Enter and confirm the new MySQL password when you are prompted.

    • 5

      Confirm the successful installation of LAMP by pointing your Web browser to "http://localhost/" -- The page says, "It works!"

Tips & Warnings

  • Many people also prefer to install phpMyAdmin to manage their MySQL installation. This can be accomplished by typing "sudo apt-get install libapache2-mod-auth-mysql phpmyadmin" into the terminal, and following the prompts. Be sure to select apache2.

Related Searches


  • Photo Credit Hemera Technologies/ Images

Related Ads