Web server under Ubuntu: the missing packages to install
- You open it in Ubuntu in a Terminal. For example, on the Dash home panel on the left top of the icon. You are looking for simply "Terminal". You should be logged in as a user with Admin Rights.
- Now install the packages you need for a web server. Type in: "sudo apt-get install apache2 php5 php5-mysql mysql-server libnet-ssleay-perl libauten-pam-perl libio-pty-perl apt-show-versions" without the quotation marks. You have to confirm the sudo command with your password.
- Now Ubuntu will install the mentioned packages. In between, asks the mySQL Installation to set a password for the Server. You are awarded for the security of, even if the Server is maybe operated only in the home network.
- To manage your web server, you can install a graphical interface like Webmin. Go in the Browser to Webmin and download the Debian-Installer. (Alternatively, go Froxlor or ISPConfig.)
- When the Download is complete, navigate in your Terminal to the folder where the downloaded Webmin package. You install it with "sudo dpkg-i webmin[...].deb", where you "webmin[...].deb" with the name of your downloaded package, you must replace it.
- Now you are almost done. You have to test whether the installed services are working. In the Browser, go to the address "https://localhost:10000" for Webmin and on "http://localhost" for the Apache Server. The Apache Server logs on to a successful Installation with "It works!". On Webmin, you can login with your Ubuntu Account.
- To put PHP and HTML pages onto your Server, you will need to obtain the necessary rights for the folder "/var/www". So you go back to the Terminal and navigate to the folder "/var". There you can set the Read and write permissions with "chmod": "sudo chmod 777 www".
- You can now add any kind of HTML and PHP pages under "/var/www" and your Server "http://localhost:10000" to manage.

Latest Videos
Open a Terminal and install the necessary packages: "sudo apt-get install apache2 php5 php5-mysql mysql-server libnet-ssleay-perl libauten-pam-perl libio-pty-perl apt-show-versions".

Open a Terminal and install the necessary packages: "sudo apt-get install apache2 php5 php5-mysql mysql-server libnet-ssleay-perl libauten-pam-perl libio-pty-perl apt-show-versions".
You to confirm the Installation.

You to confirm the Installation.
To demand a password for the mySQL Server.

To demand a password for the mySQL Server.
After Installation, you can [[http://www.webmin.com/Webmin]] a graphical administration interface to download for your Server. Select the Debian package.

After Installation, you can [[http://www.webmin.com/Webmin]] a graphical administration interface to download for your Server. Select the Debian package.
Then navigate in the Terminal to your Webmin Download.

Then navigate in the Terminal to your Webmin Download.
You can install Webmin with the command "sudo dpkg-i webmin[...].deb". You can complete the file name with the Tab key to auto.

You can install Webmin with the command "sudo dpkg-i webmin[...].deb". You can complete the file name with the Tab key to auto.
After the Installation, you need to reach Webmin via the address "http://localhost:10000". Confirm the exception, it is your own Server.

After the Installation, you need to reach Webmin via the address "http://localhost:10000". Confirm the exception, it is your own Server.
Webmin and the Apache Server should now run. Under "http://localhost" can you check in the Browser whether Apache is running. In Webmin, you can login with your normal Ubuntu Account and administer the Server.

Webmin and the Apache Server should now run. Under "http://localhost" can you check in the Browser whether Apache is running. In Webmin, you can login with your normal Ubuntu Account and administer the Server.
PHP - and HTML-files for your Website, you can file it under "/var/www".

PHP - and HTML-files for your Website, you can file it under "/var/www".
Before that you need to set the necessary access rights for the folder. Navigate in Terminal to the folder "/var" and type with "sudo chmod 777 www" the necessary Write and read permissions. From now on, you have your own web server.

Before that you need to set the necessary access rights for the folder. Navigate in Terminal to the folder "/var" and type with "sudo chmod 777 www" the necessary Write and read permissions. From now on, you have your own web server.