To install the CSV Reader Tool please follow the instruction as follow.
Connect to SSH on the server and install the dependencies required to the script to work:
Check if Python 3 is available using this command
python3 --version
If it have Python 3 type this command to install them on a Ubuntu server
sudo apt-get install python-pip sudo pip install numpy sudo pip install pandas
Make sure the vhost file can run CGI scripts by making the virtual host file look like the following lines:
ScriptAlias /cgi-bin/ /var/www/website/public_html/cgi-bin/ <Directory "/var/www/website/public_html/cgi-bin/"> AllowOverride All Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Require all granted AddHandler cgi-script .cgi .py </Directory> <Directory /var/www/website/> Options +ExecCGI AllowOverride All Require all granted </Directory>
Upload the files to the document root directory (public_html)
Make sure the cgi-bin folder have the correct permissions. The permission should be 0755.
Make sure the correct permission are set on the upload folder (0775). The writing permission is needed to allow Apache to write to the directory.
Test the script to make sure it works on the server and to ensure you have installed everything correctly.
Votes status: Authorized
Comments status: Authorized
Views total: 1036
Comments total: 0
Votes results: 0 0
Article author: csvreader
Author rank: Administrator
Article time: 10:28:58
Article date: 2018-11-02
Article source: csvreader
Modified the 2020-03-31 at 19:59:40
Votes status: Authorized
Comments status: Authorized
Views total: 1036
Comments total: 0
Votes results: 0 0
Article author: csvreader
Author rank: Administrator
Article date: 2018-11-02
Article time: 10:28:58
Article source: csvreader
Modified the 2020-03-31 at 19:59:40