Basic admin commands

useradd -m username crontab edit env EDITOR=nano crontab -e   To backup using TAR tar -zcvf file_27_07_2012.tar.gz /var/www/ To Restore tar backup   Remote file copy using scp scp localfile root@remoteserver:/BACKUP eg: scp tomcat.tar [email protected]:/BACKUP...

FTP installation and configuration in ubuntu

sudo apt-get install vsftpd vi /etc/vsftpd.conf write_enable=YES local_enable=YES pam_service_name=ftp sudo /etc/init.d/vsftpd restart Setting the default permissions for files uploaded via FTP to a directory change your umask setting to 022   Additional...

Zabbix Installation on ubuntu

apt-cache search zabbix sudo apt-get install zabbix-server-mysql zabbix-frontend-php zabbix-agent   web interface: http://servername/zabbix   default username/password is admin/zabbix

changing ulimit value

problem: ulimit: open files: cannot modify limit: Operation not permitted Current status: ulimit -n 1024 Solution: ulimit -n 16384 and refresh the system