How to disable root login in linux
How to disable root login in linux Login to shell. Copy and paste below command to server using your favourite editor. pico -w /etc/ssh/sshd_config Find the line Protocol 2, 1…
How to check the RAID Drive Status
RAID – Redundant Array of Inexpensive Disks How to check 3ware RAID drive status Login to the server via SSH. Paste the below command. 3ware /c0 show It will show…
How to disable Telnet and Other Unused Service
How to disable Telnet and Other Unused Service Steps: 1. Login to server as root 2. vi /etc/xinetd.d/telnet // OR 3. vi /etc/xinetd.d/krb5-telnet look for lines disable=no and change to…
How to scan server for softlinks
SoftLink Scan on the servers : Hacker creates softlinks under one account and makes link with other users. This way he can hack other accounts. So how to find such…
How to install memcache
How to install memcache Definition: Memcache is a high-performance memory object caching system intended to speed up dynamic web applications by alleviating database load. Memcache is extremely fast. It uses…
How to take Database Backup using phpMyAdmin
How to take Database Backup using phpMyAdmin. First you need phpMyAdmin which is a MySQL Database Administration Tool. 1 – Open phpMyAdmin 2 – Click on Export 3 – Under…
Mysql Commands
Mysql Commands: How to check mysql connection or login to your Database using shell ========================= root@server mysql -u username -p ========================= it will ask for password then provide the correct…
How to download the files forcefully using .htaccess
How to download the files forcefully using .htaccess without displaying it in browser Create .htacceses file under your accout and insert the below code. AddType application/octet-stream .avi AddType application/octet-stream .mpg…