What's new

Closed Full tutorial or another way of making web_panel

Status
Not open for further replies.

ConquerorXXX

Forum Guru
Joined
Apr 19, 2017
Posts
5,954
Reaction
4,681
Points
1,881
INTRODUCTION:
  • Credit to Clrkz for the first tutorials and the source code
  • Pero nais ko pong mag create ng tutorial para mas maintindihan pa ng iba.
  • at makatulong sa gustong gumawa ng panel
  • Kailangan talaga dito ang research at 90% of Brain



Requirements:



♠DO account para gumawa ng Droplets
see the image below


do1.png


♠Piliin ang 7.11 x 64

do2.png

♠Press Create
do3.png
♠Pagkatapos mag create ng droplets e check ang iyong E mail

do5.png

♠Open Digital Ocean again and Click your Droplets then Open Access Console


do4.png

♠In Login type Username and Password na nasa E mail mo


Note: Hindi niyo makikita ang keyword na tina type niyo sa console so try to carefull

do6.png

♠Retype the Password again

do7.png


♠Then Enter the new Password
♠Retype
♠ Exit

May droplets ako na gawing niyong OCS panel
Spoiler contents are visible only to Established Members.
Spoiler contents are visible only to Established Members.
NOTE: Sample lang.. yan walang forever


Now !!! Install My SQL to your VPS

Requirement: Windows putty for Windows OS
JuiceSSH.apk for android

Open Windows putty

Untitled.png

Type your VPS IP then click Open
Login as a root
then type your Password



1. Install My SQL sa iyong VPS --- input this code
Code:
apt-get update && apt-get -y install mysql-server
Tutorial-Install-OCS-Panel-mysql-1-450x230.png
2. Input this code
Code:
mysql_secure_installation

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
Tutorial-Install-OCS-Panel-mysql5-450x296.png
After creating a secure installation, then we must give MySQL permissions. How to enter the command:
Code:
chown -R mysql:mysql /var/lib/mysql/ && chmod -R 755 /var/lib/mysql/

3.After installing MySQL, Next we have to install webserver and php on vps. We will use Nginx + PHP webserver. Enter the command below:
Code:
apt-get -y install nginx php5 php5-fpm php5-cli php5-mysql php5-mcrypt
Tutorial-Install-OCS-Panel-webserver2-450x294.png
Now we set the nginx webserver. The trick is to enter the command below (copy and paste to putty):
Code:
rm /etc/nginx/sites-enabled/default && rm /etc/nginx/sites-available/default
mv /etc/nginx/nginx.conf /etc/nginx/nginx.conf.backup
mv /etc/nginx/conf.d/vps.conf /etc/nginx/conf.d/vps.conf.backup
wget -O /etc/nginx/nginx.conf "http://script.hostingtermurah.net/repo/blog/ocspanel-debian7/nginx.conf"
wget -O /etc/nginx/conf.d/vps.conf "http://script.hostingtermurah.net/repo/blog/ocspanel-debian7/vps.conf"
sed -i 's/cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/g' /etc/php5/fpm/php.ini
sed -i 's/listen = \/var\/run\/php5-fpm.sock/listen = 127.0.0.1:9000/g' /etc/php5/fpm/pool.d/www.conf

Next we will create a user for nginx, testing the file, and also delete the default index directory and grant permissions. Enter the command below:

Code:
useradd -m vps && mkdir -p /home/vps/public_html
rm /home/vps/public_html/index.html && echo "<?php phpinfo() ?>" > /home/vps/public_html/info.php
chown -R www-data:www-data /home/vps/public_html && chmod -R g+rw /home/vps/public_html
service php5-fpm restart && service nginx restart

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

Code:
cd /home/vps/public_html
git init
git remote add origin https://github.com/stevenindarto/OCSPanel.git
git pull origin master
chmod 777 /home/vps/public_html/config
chmod 777 /home/vps/public_html/config/config.ini
chmod 777 /home/vps/public_html/config/route.ini

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
Tutorial-Install-OCS-Panel-ocs1-338x450.png
If so, press the Install button . Then you will see writing like this

Tutorial-Install-OCS-Panel-ocs2.png


Thank you



download.png


  • Editing your Web Panel Themes and User Interface
  • kasi Masyado ng mahaba kung Idag dag ko pa dito

E follow niyo nalang ako
para hindi nyo ito ma miss!!!hahahha
:):):)

Alhezron_Ashkenaz





My team

Serenitylove
Z-Jaygoose
Legendary Hokage

Credits to
stevenindarto










More Power PHC members and Staffs
 

Attachments

Last edited by a moderator:
welcome bro! good etong tutorial mo para sa gusto magkapanel at mas madali nilang makuha at pagpraktisan eto kasi simple lang ang V1 OCS panel
yes bro.. pero ang pinaka mahirap sa DO.. hahahah
ang droplets talaga ang pinaka mahirap


ok lang f may Credit card ka hehehe
 
yes bro.. pero ang pinaka mahirap sa DO.. hahahah
ang droplets talaga ang pinaka mahirap


ok lang f may Credit card ka hehehe
oo haha sinabi mo pa kasi now pahirapan na makagawa except lang pag makatsamba ka sa Socks5 proxy kung kumagat kaya pasalamat ako dati kasi nakagawa ako marami kung di nalocked yung iba nasa 60+ hehe naiwan sakin is 13 nalang eh pang back up iba hehe
 
oo haha sinabi mo pa kasi now pahirapan na makagawa except lang pag makatsamba ka sa Socks5 proxy kung kumagat kaya pasalamat ako dati kasi nakagawa ako marami kung di nalocked yung iba nasa 60+ hehe naiwan sakin is 13 nalang eh pang back up iba hehe
haha,.. yung aking bro.. malapit ng mawala..
:) Kaya gumawa ako ng tutorials for the last breath heheh
 
Last edited by a moderator:
ang mahigpit bro ang Vultr out 5 accounts ko naiwan isa hehe na locked ang apat ewan ko ba 5 droplet per account lang ginawa ko pero ni locked nila haha buti may naka survive na isa hehe
 
Status
Not open for further replies.
Back
Top