

Terminal will then display the list of possible modules. PHP also has a variety of useful libraries and modules that you can add onto your server.

DirectoryIndex index.php index.html index.cgi index.xhtml index.htm To install PHP, open your SSH client and enter the following commands: apt-get install php5 libapache2-mod-php5 php5-mcryptĪfter you install PHP, add index.php to the beginning of the directory index. Now go ahead and say yes to all of the questions Remove anonymous users? yDisallow root login remotely? yRemove test database and access to it? yReload privilege tables now? y Go ahead and choose N and move on to the next steps. Once you have installed MySQL, we should activate it with this command: mysql_install_dbįinish up by running the MySQL set up script: /usr/bin/mysql_secure_installationĮnter your current root password, Then it will ask you if you want to change the root password. To install MySQL, open your SSH client and enter the following commands: apt-get install mysql-server libapache2-mod-auth-mysql php5-mysql

To install Apache, open your SSH client and enter the following commands: apt-get updateadduser USERapt-get install apache2 Get $10 FREE Credit towards a VPS - DigitalOcean The steps in this tutorial require the user to be the root user on your server.
#Ubuntu simple ftp server how to#
In this tutorial will teach you how to turn your fresh server install into a working website masterpiece. LAMP stands for Linux, Apache, MySQL, PHP
