**You need remote file transfer software to upload the files to your VPS. You can use for example Filezilla or WinSCP. *This guide assumes you have WinSCP.***
1. Click on **New Site**. Then enter your SSH details. Then click on **Login**.
![screenshot_114.png](/screenshot_114.png =25%x)
2. Go to the `/var/www/themeparkpanel` directory and upload the files of **the SSH zip**.
3. Run the following command to fix the file permissions:
```shell
chmod -R 755 storage/* bootstrap/cache/
```
## 3. Creating the MySQL database
1. Run the following command to enter the MariaDB console.
```shell
mysql -u root -p
```
And enter the following SQL commands in sequence.
```sql
# Make sure to replace 'yourPassword' with a secure password
CREATE USER 'themeparkpanel'@'%' IDENTIFIED BY 'yourPassword';
CREATE DATABASE panel;
GRANT ALL PRIVILEGES ON panel.* TO 'themeparkpanel'@'%' WITH GRANT OPTION;
exit
```
2. Open the `/etc/mysql/mariadb.conf.d/50-server.cnf` file and replace the value of the `bind-address` setting with `0.0.0.0`.
```yml
[mysqld]
# Replace the 127.0.0.1 with 0.0.0.0
bind-address=0.0.0.0
```
3. Run the following command to restart the MariaDB server.
```shell
systemctl restart mariadb
```
## 4. Configuration of the panel
1. Copy the .env.example file to .env (using `cp .env.example .env`) and open the `.env` file.
- Change `APP_URL` to the URL of your panel
- At `DB_` change the credentials to the database details created above.
- At `MAIL_` change the credentials to the credentials of an email account.
2. Run the followings command in sequence to proceed the installation.
Choose if you want to add SSL encryption to your panel or not.
# Tabs {.tabset}
## Without SSL
*We include an example configuration to serve our panel. Make sure to replace `%DOMAIN` with the full domain, and `%PATH%` with the full installation path (probably `/var/www/themeparkpanel`).*
1. Create `/etc/nginx/sites-available/themeparkpanel.conf` and put the following content in it.
```nginx
server {
listen 80;
listen [::]:80;
root /var/www/themeparkpanel/public;
server_name %DOMAIN%;
index index.php index.html index.htm index.nginx-debian.html;
*We include an example configuration to serve our panel. Make sure to replace `%DOMAIN` with the full domain, and `%PATH%` with the full installation path (probably `/var/www/themeparkpanel`).*
1. Create `/etc/nginx/sites-available/themeparkpanel.conf` and put the following content in it.