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
Then we will want to install php
Now lets restart Apache (you can also use this command to "refresh" your website when you need to)
Now install some general php apps
Then we are going to restart apache one more time
And thats it!
Place your web files in /var/www/
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
Code:
sudo apt-get install php5 libapache2-mod-php5
Code:
sudo service apache2 restart
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
Code:
sudo service apache2 restart
And thats it!
Place your web files in /var/www/