• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

Linux (Ubuntu) Website guide

Neccta

Exalted Member
To setup a website on Linux is pretty easy.
First you will want to open the terminal to your server. (Make sure you have administrative powers)
Second use the command
Code:
sudo apt-get install apache2
Then we will want to install php
Code:
sudo apt-get install php5 libapache2-mod-php5
Now lets restart Apache (you can also use this command to "refresh" your website when you need to)
Code:
sudo service apache2 restart
Now install some general php apps
Code:
sudo apt-get install php5-mysql php5-curl php5-gd php5-intl php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl
Then we are going to restart apache one more time
Code:
sudo service apache2 restart

And thats it!
Place your web files in /var/www/
 
Top