Thursday, November 24, 2011

LiteSpeed admin pass

How to change the LiteSpeed admin password :

root@server [~]# /usr/local/lsws/admin/misc/admpass.sh

Please specify the user name of administrator.
This is the user name required to login the administration Web interface.

User name [admin]: ajeesh

Please specify the administrator's password.
This is the password required to login the administration Web interface.

Password:
Retype password:
Administrator's username/password is updated successfully!

Friday, November 4, 2011

to clear memory cache

If your server using all your memory and you have no available memory you can safely run this command to clear the memory cache




sync; echo 3 > /proc/sys/vm/drop_caches