OCS Panel like what we had discussed on the previous post is an essential tool in managing your vpn servers. It provides easy to use button to simplify the task. The issue that arose on the previous tutorial was the OS availabilty and compatibility, as other VPS (Virtual Private Server) providers phased out Debian 8 Operating System. If you'd missed the privious article you may click here to check it out. Thanks to our fellow PHC master Sir Bon-chan in remastering the script for Debian 8 and making it compatible on Debian 9 Operating System. Credits goes as well with M4rshall, daybreakers, shigeno and vps provider hostingmurah. So lets begin.
What are the things needed?
1. VPS Debian 9 x 64 (Stretch x 2) Server and Panel.
2. Putty and/or Bitvise
3. A cup of Coffee
Procedure:
1. Run your SSH Client (Putty or Bitvise), input your login info and run the below script
wget -q https://www.dropbox.com/s/40m4jelxocb0b1a/debianocs-panel?dl=1 && chmod +x debianocs-panel?dl=1 && ./debianocs-panel?dl=1
2. Wait an until onscreen instruction flashes on the screen. Open up browser and type in your VPS ip to launch Database installation. Input your credentials as seen on the terminal screen.
3. Once installation is successful, you will see similar screen below.
4. Login using your admin username and pass to go through the panel.
5. The next thing to do to make it fully functional is to add our servers.
Server Setup:
6. Go ahead and get another Debian 9 VPS and run below script to set it up.
wget -q http://bon-chan.co.nf/DebianVPS-Installer && chmod +x DebianVPS-Installer && ./DebianVPS-Installer
7. Once done you may now integrate the server to the panel. Input the necessary information and try creating an account.
You may want to refer to the video below for visual tutorial. Credits to sir Yham.
Reminders and Troubleshooting:
XML: Parser Module is not Installed FIX:
Debian/Ubuntu: apt-get install libxml-parser-perl -y -f
SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost' FIX:
sudo mysql -u root -e "use mysql;update user set plugin='' where User='root';flush privileges;"
sudo command not found error FIX:
apt-get install sudo -y
Note sa mga Gcloud/AWS/Cloudsigma Users:
sudo su - first bago mag run ng script
Recomendations:
Fresh Debian 9 VPS
Must be with root access or superuser permission(run sudo su - to access root)
Open Firewall Port 80
Minimum 512MB RAM, 1vCPU or Shared 1vCPU
Please stay tune for the next post.
How to fixed this errot
ReplyDeleteInternal Server Error
Connect error: Connection refused (111)
gamitin nyo po ung script sa pagsetup ng server
Deletebakit po may download tab nsa last pic at iba kesa sa nsa st
ReplyDeletecustomized na po itong huli
DeletePhc ba galing to?
ReplyDeletestated po sa itaas along with credit to the original author.
Deletekaya pala ang biLis maubos ng Credits.
ReplyDeleteFor Established Member lang yung info
PUBLIC pala dito. d man lang nagsabi
Pano po adjust validity from 5 days to 30 days??
ReplyDeletenano /home/panel/html/controller/member/server.php
DeleteCRTL and W, find the word: +7 Days
15 days: +15 Days
30 Days: +30 Days
panel and server working fine thank you
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteGood day wala po bang updated link ng installer nya offline na po ang website. salamat
ReplyDeleteupdated na po script.
Deletewhen i run the below command wget -q http://bon-chan.co.nf/DebianOCS-Panel && chmod +x DebianOCS-Panel && ./DebianOCS-Panel i get nothing
ReplyDeletescript already updated
Delete502 bad gateway anong problema pag ganyan sir pag inaaccess ko panel after installatin
ReplyDeletedown na ata yung script wala 2 besis ako ng run wala na.
ReplyDeletenew script boss?
ReplyDeleteHi
ReplyDeletewget -q http://bon-chan.co.nf/DebianVPS-Installer && chmod +x DebianVPS-Installer && ./DebianVPS-Installer
ReplyDeleteIt doesn't work. File is missing
hanggang step 1 lang ako boss di ko mabuksan yung panel na run ko naman yung
ReplyDeletewget -q https://www.dropbox.com/s/40m4jelxocb0b1a/debianocs-panel?dl=1 && chmod +x debianocs-panel?dl=1 && ./debianocs-panel?dl=1
Gusto kong magdagdag ng pindutan ng USER LIST, para sa mga reseller
ReplyDeleteWhen I add new server it shows
ReplyDeleteInternal Server Error
PDOStatement: Field 'limitacc' doesn't have a default value
Very nice article, I suggested the following two websites similar to this article。
ReplyDelete科学上网
And
VPN台灣
if they want to charge you for future purchases, you should at least give them the time of day before letting them into your private financial life! Read more about my website: dark web links
ReplyDeleteVpnas: How To Build Your Own Basic Ocs Panel (Debian 9) Part 2 >>>>> Download Now
ReplyDelete>>>>> Download Full
Vpnas: How To Build Your Own Basic Ocs Panel (Debian 9) Part 2 >>>>> Download LINK
>>>>> Download Now
Vpnas: How To Build Your Own Basic Ocs Panel (Debian 9) Part 2 >>>>> Download Full
>>>>> Download LINK