by Anjani Phuyal | May 27, 2014 | Linux
to check package version apt-cache policy cacti simulate installation apt-get -s install “package_name”
by Anjani Phuyal | May 26, 2014 | Linux
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...
by Anjani Phuyal | May 26, 2014 | Linux
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...
by Anjani Phuyal | May 26, 2014 | Linux, Mysql
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
by Anjani Phuyal | May 26, 2014 | Linux
problem: ulimit: open files: cannot modify limit: Operation not permitted Current status: ulimit -n 1024 Solution: ulimit -n 16384 and refresh the system
by Anjani Phuyal | May 26, 2014 | Linux, ubuntu
Problem: No java on ubuntu Solution: sudo apt-get install openjdk-6-jdk