Q
Q
QwikTest
Search…
Installation - Cloud VPS
Learn how to install QwikTest in Linux Virtual Private Server
Follow the below steps carefully to install the QwikTest script in the cloud server. Your server must have PHP 7.4, MySQL 5.7.24 or higher, and Apache/NGINX.
    1.
    Configure a domain to your server public IP address
    2.
    Create a database
    3.
    Upload script downloaded from CodeCanyon to the server using WinSCP.
    4.
    Installation
See Important Things to Remember before installation.
The following are some useful links for configuring the Laravel application in cloud servers.

Our Demo is powered by Digital Ocean VPS.

Installation Process

Step 1

Create a domain or subdomain and set A record to the server IP address in your DNS editor.

Step 2

Login to your putty using SSH client, create a database and assign all privileges to the database user.
1
$ myql -u root -p
2
3
mysql > CREATE DATABASE qwiktest;
4
5
mysql > CREATE USER 'user'@'%' IDENTIFIED WITH mysql_native_password BY 'password';
6
7
mysql > GRANT ALL ON qwiktest.* TO 'qwiktest'@'%';
Copied!

Step 3

    Download the zip file from CodeCanyon.
    Extract the zip file from your system.
    Navigate to Fresh Installation folder.
    Select the upload_this.zip file and upload it to the /var/www/app_folder directory of your server using WinSCP.
    Extract the contents of the uploaded zip file to the same directory.
1
cd /var/www/your_folder
2
3
unzip upload_this.zip
4
5
rm -r upload_this.zip
Copied!
    Give 775 permission to the following directories.
      storage/framework
      storage/logs
      bootstrap/cache
1
chown -R $USER:www-data storage
2
chown -R $USER:www-data bootstrap/cache
3
4
chmod -R 775 storage
5
chmod -R 775 bootstrap/cache
Copied!

Step 4

The application files are now in order, but we still need to configure Nginx to serve the content. To do this, we’ll create a new virtual host configuration file at /etc/nginx/sites-available.
1
nano /etc/nginx/sites-available/yourdomain
Copied!
The following configuration file contains the recommended settings for Laravel applications on Nginx: Copy this content to your/etc/nginx/sites-available/yourdomainfile and adjust the directory path and other values to align with your own configuration. Save and close the file when you’re done editing.
1
server {
2
listen 80;
3
server_name server_domain_or_IP;
4
root /var/www/your_folder/public;
5
6
add_header X-Frame-Options "SAMEORIGIN";
7
add_header X-XSS-Protection "1; mode=block";
8
add_header X-Content-Type-Options "nosniff";
9
10
index index.html index.htm index.php;
11
12
charset utf-8;
13
14
location / {
15
try_files $uri $uri/ /index.php?$query_string;
16
}
17
18
location = /favicon.ico { access_log off; log_not_found off; }
19
location = /robots.txt { access_log off; log_not_found off; }
20
21
error_page 404 /index.php;
22
23
location ~ \.php$ {
24
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
25
fastcgi_index index.php;
26
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
27
include fastcgi_params;
28
}
29
30
location ~ /\.(?!well-known).* {
31
deny all;
32
}
33
}
Copied!
To activate the new virtual host configuration file, create a symbolic link to yourdomain in sites-enabled.
1
sudo ln -s /etc/nginx/sites-available/yourdomain /etc/nginx/sites-enabled/
2
3
sudo nginx -t
4
5
sudo systemctl reload nginx
Copied!

Step 5

Then navigate to yourdomain.com/install on the browser and follow the instructions.

Final Step

Finally, when you are on the installation success screen, don't close the browser window directly. Instead, you must hit the Click here to exit the button to complete the installation.
If the installation fails due to server issues, fix them and:
    1.
    Delete all the tables in the existing database or make a new database.
    2.
    Delete the storage/installed file of the app in the sever
    3.
    Replace the .env file on the server with the .env file from the downloaded script.
    4.
    Finally, start the installation again by visiting yourdomain.com/install.

Installation Support

Please raise a ticket on our support portal if you have any issues with the installation within the QwikTest application.
We cannot provide fixes that are related to your web hosting or server environment. Therefore, if your hosting or server environment is different than what is listed in the above section, you’ll need to determine if it will work before purchasing. Server setup and configuration are not in our scope of support.
Last modified 2mo ago