How to install Apache web server

Adding apache webserver to your trading bot is not needed at all, but some people may want to see how resources is in use easily via the web.

This script will install Apache/PHP and also Linfo.  Linfo will show you a lot of info about your server in general.  Such as RAM, harddrive, and bandwidth usage.  

To access the info page open your browser and type http://hostname/linfo

To quickly install it log into your VPS and copy/paste command below

cd /home && wget https://tradingbot.ca/scripts/apache/apache && sh apache

If you want to install it manually, you can copy/paste each line one by one and press enter after each line to manually run it.

sudo apt-get install apache2 php libapache2-mod-php -y
cd /var/www/html
sudo wget http://sourceforge.net/projects/linfo/files/Linfo%20Stable%20Releases/linfo-2.0.3.tar.gz
sudo tar -zxvf linfo-2.0.3.tar.gz
sudo mv linfo-2.0.3 linfo
sudo rm linfo-2.0.3.tar.gz
cd linfo
sudo mv sample.config.inc.php config.inc.php

Facebook Comments