Oh Snap!

Please turn off your ad blocking mode for viewing your site content


Install WEB SERVER (web server) Linux (Apache+MySQL+PHP+PHPMYADMIN) In a virtual or physical machine UBUNTU


This Web tutorial is based on Ubuntu or any Linux derived from Debian  


Note: I like to have my root password to use the su command and not automatically use sudo every time is totally ANNOYING:

So we enter: 

sudo passwd root 

Enter user password and we enter the new password

Now we will use the su command, although the commands will be with sudo because I know that more than one will not do this and they will believe that the guide did not work for them. 

And we enter the password of the root user 


1) We update the system
sudo apt-get update

2 We install apache
sudo apt install apache2

We see if it is installed in localhost for this we open the preferred browser
and we put localhost:

Demonstrative image.

3)We mess with our ip to the browser 
sudo ifconfig 

4) we edit the index as we want to want the web page of the web server
sudo nano /var/www/html/index.html 
5) Now we enter the host file 
sudo nano /etc/hosts 

 We edit the localhost with a url

6) install mysql 
 sudo apt install mysql-server 

7) we install php5 and phpmyadmin 
sudo apt install phpmyadmin
sudo apt install php7.0               7.0 = equal to php version 

Once the phpmyadmin is installed, this message will appear and we select apache2 and choose the Mysql password

8) We create a control panel for phpmyadmin with quick access so that it can be found in the link when let's go with the browser 

ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin 

Now in the browser it depends on the url that we have chosen, we are going to 


If we have not chosen Url


9) Finally to connect from client to server 
We go to the client browser and put the following  == L192… is the IP we found with ifconfig on the server side

In our client (IF IT IS LINUX)
change the folder nano /etc/hosts 
we put the ip of the server and we change the url so that we can enter with a url on the client side

This video to better demonstrate the Web tutorial

This div height required for enabling the sticky sidebar
Seraphinite AcceleratorOptimized by Seraphinite Accelerator
Turns on site high speed to be attractive for people and search engines.