Linux Series 1: Dedicated Linux server – Host your own

dedicated linux server hostingWelcome to a new article on “Linux Dedicated Hosting” and how to host your own web server. This will be an ongoing series with the end goal being hosting your own domain ( and allowing others the ability to buy server space from you and make a profit online. The first step is to get our server operating system up and running and configuring the needed tools and updates, I will be using Ubuntu Linux 10.10 as my “OS” and will be setting up a LAMP server which stands for “Linux, Apache HTTP server, MySQL, and PHP ” so we first open the terminal “Cntrl + Alt + T” or you can go to “Applications >Accessories >Terminal” either way is fine. Once we have the terminal open we type in:

sudo apt-get install tasksel lamp=server

enter our password for root and press enter. After our packages have downloaded in the terminal we type sudo tasksel (tasksel package provides a simple interface for users who want to configure their system to perform a specific task. This program is used during the installation process, but users can also use tasksel at any time.)  we choose LAMP server and enter.

LAMP-taskselAfter that we want to make sure our server is running by going to http://localhost/ and we will see a screen like this.

It Works!!After that we want to go to /var/www and create a file called testing.php then in terminal type:

sudo gedit /var/www/testing.php
And we want to type in:


and close that file, then go to http://localhost/testing.php (or info.php whatever you decide to name it.)  and you will see all the PHP info for your system. We will need these later on configurring other Linux software wo work correctly for this system.

Linux Series 1: Dedicated Linux server - Host your own

sudo apt-get install phpmyadmin

then go to our browser http://localhost/phpmyadmin and we will see a login with out username and password we created during the install of phpmyadmin we can now administer all the SQL databases on our webserver.

Php My Admin

Now that we have all of those up and running we have a verified Linux, Apache HTTP Server, MySQL, PHP, and phpMyAdmin to manage all of those databases.