Procedures for setup Ubuntu and Modx Revolution:
Install Ubuntu Server 12.04
SSH:
Installation: sudo apt-get install openssh-server openssh-client
Verify: ssh localhost
Apache2:
Installation: sudo apt-get install apache2
Verify: http://localhost or the IP
Verify: sudo netstat -tap | grep mysql
Location: /etc/apache2/
Mysql:
Installation:
sudo apt-get install mysql-server
sudo apt-get install php5-mysql
Verify: sudo netstat -tap | grep mysql
PHP5:
Installation: sudo apt-get install php5 libapache2-mod-php5
Restart Apache: sudo service apache2 restart
Verify: <?php
phpinfo();
?>
Configurations:
edit /etc/apache2/sites-available/default, set the DocumentRoot there to /home/your_name/www
References:
http://www.cyberciti.biz/faq/ubuntu-linux-openssh-server-installation-and-configuration/
https://help.ubuntu.com/12.04/serverguide/index.html
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.