To see all VPS on a node

ARUN Post in VPS
0

vzlist -a

To set directory listing

ARUN Post in Set Many Things
0

To set directory listing to 15000
vi /etc/ftpd.con
Edit line :
LimitRecursion 15000  8

To view Plesk admin password

ARUN Post in PLESK BACKEND
0

cat /etc/psa/.psa.shadow

For Plesk 10.2 onwards

[  /usr/local/psa/bin/admin --show-password  ]

 

Increase disk quota

ARUN Post in WHM FRONTEND
0

WHM  >> Quota Modification >> Pull out the domain name >> Click on Modify.

Find mail server

ARUN Post in MAIL
0

If an entry present in
/etc/localdomains
Mail server will be the currents server

If mail server set as remote server, then entry will be present on
/etc/remoteserver

Apache logs

ARUN Post in FILE PATH ( conf, logs etc)
0

tail -f /usr/local/apache/logs/error_log                 –> In cpanel

tail -f /usr/local/apache/logs/error_log | grep domain name OR our IP etc  —-> To search a particular domain`s log continiously

View Exim log (mail log)

ARUN Post in FILE PATH ( conf, logs etc), MAIL
0

tail -f 100 /var/log/exim_mainlog

Find java version

ARUN Post in VERSION CHECK
0

java -version

To find in MB the size of a folder that we are in

ARUN Post in DISK RELATED
0

du -sh

RESTART MYSQL (Forceful restart included)

ARUN Post in RESTART
0

/etc/init.d/mysql restart

/etc/init.d/mysqld restart

/scripts restartsrv mysql

/scripts/mysqlup –force   –> Forceful restart for cpanel severs