Step 1: Create a Database and a User

Using CPanel

  1. Log in to your cPanel.
  2. Click MySQL Databases.

Create a database user:

  1. Choose a username (for example “silurus”) and enter it in the Username field.
  2. Choose a database password (ideally containing a combination of upper- and lower-case letters, numbers, and symbols), and input it into the Password field.
  3. Click Create user.

Create a Silurus database:

  1. Choose database name (for example “silurus”) and input it into the “New Database” field. Click Create Database

Add the user to just created database:

  1. Under Add Users To Your Database, select your Silurus username from the User dropdown list, then select your Silurus database from the Database dropdown list. Make sure ALL is checked under Privileges, then click Add User To Database.
  2. When you return to the main MySQL Account Maintenance screen, cPanel will list information about the database you just created. You should see the username you just added to the database (with ALL PRIVILEGES).

Note all the values of hostname, username, databasename, and the password you have chosen. (Note that hostname will usually be localhost.)

Using MySQL Client

If you have shell access to your web server and your MySQL user has the permissions to create MySQL users and databases, you can follow the sample session below to create your username and database.

$ mysql -u adminusername -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 5340 to server version: 3.23.54

Type ‘help;’ or ‘\h’ for help. Type ‘\c’ to clear the buffer.

mysql> CREATE DATABASE databasename;
Query OK, 1 row affected (0.00 sec)

mysql> GRANT ALL PRIVILEGES ON databasename.* TO “username”@”hostname” IDENTIFIED BY “password”;
Query OK, 0 rows affected (0.00 sec)

mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.01 sec)

mysql> EXIT
Bye
$

In the above:

  • adminusername will typically be root, unless you have another high-privileged account set up.
  • use silurus for databasename.
  • hostname will usually be localhost.
  • password should be a difficult-to-guess, ideally containing a combination of upper- and lower-case letters, numbers, and symbols.

Note all the values you used for databasename, username, hostname, and password.

Step 2: Upload all files to your web server

In the Root Directory

  • Use your favorite FTP client to upload all the contents of the public_html folder from silurus-v.X.X.zip archive into the root directory of your web site.

In a Subdirectory

  • Create a directory in the root directory of your web site, then use your favorite FTP client to upload the contents of the public_html folder from silurus-v.X.X.zip archive into the created directory.

Step 3: Web site Installation

Using your favorite web browser navigate to your domain (http://mysite.com/) or to your subdirectory (http://mysite.com/subdirectory/)

The installation instruction should appear in your browser’s window. Follow them carefully to complete the installation.

To enter your Administration panel please use the following URL:
http://www.mysite.com/admin/

If you are installing Silurus in a sub-directory then the URL will be:
http://www.mysite.com/sub-directory/admin/

To login to the Administration Panel you should use the information which you have appointed above.

Default Administrator login – admin, password – admin
Defaul User login – demo, password – demo