🔒 Closed Centos7 x86_64 (64bit) Openvpn + Squid 3.1 VPS Autoscript

Status
Not open for further replies.
Di na kelangan gawan ng menu pag create ng new user. Try mo ito while logged in as root via SSH:

Code:
NEWUSER=<name ng new user mo>
useradd -m $NEWUSER && passwd $NEWUSER

By the way, yung command sa taas, hindi kasali yung angle brackets. Kung gusto mo ng GUI management, install mo Webmin.
 
Di na kelangan gawan ng menu pag create ng new user. Try mo ito while logged in as root via SSH:

Code:
NEWUSER=<name ng new user mo>
useradd -m $NEWUSER && passwd $NEWUSER

By the way, yung command sa taas, hindi kasali yung angle brackets. Kung gusto mo ng GUI management, install mo Webmin.
paano install ang web min
 
"---------------------------Squid Commands---------------------------"
" to start: # /usr/sbin/squid "
" to stop: # /usr/sbin/squid -k shutdown "
" to reload: # /usr/sbin/squid -k reconfigure "
" to test if running: # ps uax|grep squid "
" to check logs: # tail /var/logs/cache.log "
"--------------------------------------------------------------------"
"-------------------------OpenVPN Commands---------------------------"
" to start: # systemctl start openvpn@server.service "
" to stop: # systemctl stop openvpn@server.service "
" to reload: # systemctl restart openvpn@server.service "
" to check status: # systemctl status openvpn@server.service "
"--------------------------------------------------------------------"
"---------------------- Add Users ---------------------------"
" to add: # useradd enterusernamehere "
" change passwd: # echo "username:password" | chpasswd "
" to remove: # userdel username "
"--------------------------------------------------------------------"


thanks paps @tacome9 sa tutorials at autosctipt mo, problem solve para sa mga naka CentOS7 :)
 
Bakit kaya ayaw magwork sa upcloud vps ko, sucessful naman ang installation. Patulong naman po
 
try mong i run
sudo netstat -nltp | grep squid
or
sudo netstat -nltp

output should be


if listening naman lahat ng port .. then try to open mo sa browser yun [vpsip]:[port] ex.http://32.123.123:8080
if connection refused check mo vps provider mo ang setting for Network Security/Firewall baka di open ang port ..
pero pag naviview mo ang error page ng squid .. try to restart ang pc mo o even possible reinstall OpenVPN GUI
pero syempre try mo din namn sa phone kung the same issue ..
Na try ko na gawin to boss, yung lumalabas ‘command not found’ sa netstat
 
Status
Not open for further replies.

About this Thread

  • 407
    Replies
  • 22K
    Views
  • 107
    Participants
Last reply from:
tacome9

Trending Topics

Online now

Members online
869
Guests online
1,417
Total visitors
2,286

Forum statistics

Threads
2,273,530
Posts
28,950,214
Members
1,235,802
Latest member
esther80000
Back
Top