ⅰ. localhost
a. You will need to install either Apache/Nginx web server on your system for
Ubuntu. For Windows you can install XAMPP/WAMP web server. And for macOS
please install MAMP. For to install Apache web server on your system (only
applicable for ubuntu), run the below command:
either
sudo apt-get install apache2
or
sudo apt-get install nginx
But for a far more detailed instructions please refer to this tutorial;
b. In the case of Ubuntu your root directory will be “/var/www/html” and in case
of XAMPP it will be "C:\xampp\htdocs" and for WAMP it's "C:/wamp/www". For
MAMP, the root directory is “/Applications/MAMP/htdocs”. Of course all
directory paths can change depending on the version you install.
c. Now you have to install PHP and MySQL databases only in the case of Ubuntu.
Because for the rest of the Operating systems XAMPP or WAMP or MAMP will
do all the work for you. In Ubuntu, you can install the LAMP stack but that is a
whole different story. Please keep the root name, password saved somewhere
for further use.
d. To install PHP on your system please run the below command:
either
sudo apt-get install php libapache2-mod-php
or
sudo apt-get install php-fpm php-mysql
But for a far more detailed instructions please refer to this
tutorial;
e. After installing PHP, you need to enable the mod_rewrite module. To do that
please run this below command:
either
sudo a2enmod rewrite && sudo systemctl restart apache2
or
sudo a2enmod rewrite && sudo systemctl restart nginx
But for a far more detailed instructions please refer to this
tutorial;
f. Now create a folder of your desired name in the root directory i.e.
“/var/www/html” or "C:\xampp\htdocs" or "C:/wamp/www" or
“/Applications/MAMP/htdocs”.
g. Put all the folders and files (i. e. application, assets, system, uploads and
all other files) from inside the venus folder into the folder created in the previous step.
h. Please keep in mind that the .htaccess file is a very important file. It is inside the
main script file (venus folder). Make sure that you have that file copied and pasted properly.
i. Now you will need to set up a MySQL database. You will need to set up a
database only for Ubuntu operating systems because on Windows or macOS, softwares
like XAMPP or WAMP or MAMP will take care of that for you. Now to install MySQL
database on your Ubuntu system please open a terminal and write this below code:
sudo apt-get install mysql-server mysql-client libmysqlclient-dev
But for a far more detailed instructions please refer to this
tutorial
j. To install phpMyAdmin on your system, you will need to run below command on your terminal:
sudo apt-get install phpmyadmin
But for a far more detailed instructions please refer to this
;
k. In both cases you will be asked to set up MySQL database passwords
for later use, so please choose something strong and save it for later use.
l. Now in your MySQL database, create a database according to your desired
name and upload the sql file (database.sql) provided with the script for Ubuntu.
And to do that you will have to login into mysql using your user name and
password; Then you will need to run the below command:
CREATE DATABASE `your desired databsae name`;
and then press enter. After that type
exit;
and that you get you out of the MySQL environment;
m. This time you will have to go the directory where the database.sql
(provided with the script) file is and open a terminal there and run the below command:
mysql -u `your MySQL username` -p `your created database name in the last step` < database.sql;
But for far more detailed instructions please refer to this
tutorial
This is how you need to import the database.sql file provided with the script to your mysql database.
n. If you have decided to install phpMyAdmin instead as described in point 'i', you will need to visit your
phpMyAdmin on the browser as suggested in the given tutorial and you will see the newly created database
there. Click on it, find Import and upload the database.sql provided with the script and click Go at the bottom.
But for a far more detailed instructions please refer to this
tutorial;
o. Then go to application/config/database.php file to change your database configuration
on line number 79, 80 and 81. You need to change database username, database password and
database name that you had created during installation of MySQL or XAMPP or WAMP or MAMP.
p. Finally, change the entire folder permission of uploads to 755. To perform this action
you will have to open the root directory of the application on a terminal. Here the root
directory suggests to the directory of the script where application, assets,...,uploads are on.
Then you will need to run the below command:
sudo chmod -R 755 uploads/
And also this command so that server's user on the machine can read/write on uploads folder.
For performing upload functionalities.
either
sudo chown -R www-data:www-data uploads/
or
sudo chown -R nginx:nginx uploads/
Now please visit http://localhost/folder-name-created-on-step-d and you should be able to see the login page of Saturn script.
ⅱ. cPanel
a. In your cPanel Home create a database by visiting DATABASES -> MySQL Databases.
b. In that page you will first create a database. Then create a user with a password.
And please keep all three (database name, user name, user password) information somewhere safe for further use.
But for a far more detailed instructions please refer to this
tutorial;
c. Now add the created user to that database. Give all privileges and we are done here.
Go back to the Home page of cPanel.
d. This time you need to visit DATABASES -> phpMyAdmin. It will take you to a different page but
you will see the newly created database there. Click on it, find Import and upload the database.sql
provided with the script and click Go at the bottom.
But for a far more detailed instructions please refer to this
tutorial;
e. Now upload all the files (i. e. application, assets, system, uploads and all other files)
from inside the venus folder into public_html directory which you will find by visiting FILES -> File Manager
or you can create a folder in that public_html directory of your desired name and upload all
files from inside the venus folder into that newly created folder.
But for a far more detailed instructions please refer to this
tutorial;
f. Please keep in mind that the .htaccess file is a very important file.
It is inside the root directory (venus folder). Make sure that you have
that file copied and pasted properly.
g. Then go to application/config/database.php file to change your database
configuration on line number 79, 80 and 81. You need to change database username,
database password and database name that you had created during creating
your database in step b.
h. Now please visit http://your-domain-name or http://your-domain-name/folder-name-created-on-step-e
and you should be able to see the login page of Saturn script.
Support
Please email for any kind of support t1m9m.com@gmail.com
and thank you for trying.