input. then on the second question that change the root password, fill in with n . Then the next question fill with y .
Enter current password for root (enter for none) : (Fill in the MySQL password you set earlier)
Change the root password? [Y / n]: n
Remove anonymous users? [Y / n]: y
Disallow root login remotely? [Y / n]: y
Remove test database and access to it? [Y / n]: y
Reload privilege tables now? [Y / n]: y View attachment 362812
After creating a secure installation, then we must give MySQL permissions. How to enter the command:
4 After setting up the webserver, we will now install the OCS Panel. First we create a database for OCS Panel. How to enter the command:
Code:
mysql -u root -p
You will be prompted to input the MySQL password (the Password that was created). Enter the password.
After the mysql> appears , enter the command below
Code:
CREATE DATABASE IF NOT EXISTS OCSPANEL;EXIT;
5. After creating the database, we install a git app that works to clone the OCS Panel project. Enter the command below:
Code:
apt-get -y install git
After git is installed, now we install OCS Panel. Enter the command below
6. Now we have to install OCS Panel via browser to set the database, user admin, and password. The trick is to open the browser, then enter the posts below in your browser
http: // ip-vps : 85
(replace ip-vps into your own server IP, for example: http: // 49.213.17.122:85)
Setting as follows:
DATABASE
Database Host: localhost
Database Name: OCSPANEL
Database User: root
Database Pass: MySQL Password that was created earlier
ADMIN LOGIN
Username: Fill in the username of OCS you want
New Password: Enter with OCS password you want
Re-enter Password: Input reset password View attachment 362814
If so, press the Install button . Then you will see writing like this