Search found 166 matches
- Wed Mar 11, 2015 7:10 pm
- Forum: COMPRESSION / DECOMPRESSION
- Topic: How to extract a part of the compressed file
- Replies: 0
- Views: 8293
How to extract a part of the compressed file
How to extract a part of the big compressed file. View the files in the backup tar archive. tar -tvzf filename.tar.gz You can also grep a part root@d02-03-2-4 [/backup/cpbackup/daily]# tar -tvzf filename.tar.gz | grep mysql drwx------ root/root 0 2015-03-10 07:58:40 filename/mysql/ -rw-r--r-- root/r...
- Sun Sep 28, 2014 10:39 am
- Forum: Install Commands
- Topic: Install nload
- Replies: 0
- Views: 8049
Install nload
For Centos 5 64 bit
If any dependency try
Code: Select all
cd /usr/local/src/
wget http://pkgs.repoforge.org/nload/nload-0.7.4-1.el5.rf.x86_64.rpm
rpm -Uvh nload-0.7.4-1.el5.rf.x86_64.rpm
Code: Select all
yum install nload-0.7.4-1.el5.rf.x86_64.rpm
- Thu Sep 18, 2014 11:30 am
- Forum: Caching Techniques
- Topic: How to install memcached
- Replies: 1
- Views: 7857
Re: How to install memcached
Easy option to install memcached in cPanel servers and centos 6 and higher.
Open port 11211 in firewall.
Open port 11211 in firewall.
Code: Select all
yum install memcached
Code: Select all
pecl install memcache
Code: Select all
service memcached start
Code: Select all
chkconfig memcached on
- Mon Feb 17, 2014 8:01 am
- Forum: Basic (Small scripts)
- Topic: How to find all the tar.gz files and its size
- Replies: 0
- Views: 8358
How to find all the tar.gz files and its size
Below command will list all the tar.gz files and its size.
Code: Select all
find /home/*/ -iname '*.tar.gz' -exec du -sh {} \; > /root/backups_list.txt
- Wed Feb 05, 2014 6:02 pm
- Forum: Useful Commands
- Topic: How to grep dcpumonview output?
- Replies: 0
- Views: 8201
How to grep dcpumonview output?
Replace "user_name" with a username you are searching for.
/usr/local/cpanel/bin/dcpumonview | grep user_name | sed 's/<[^>]*>/ /g'
- Thu Jan 16, 2014 5:51 pm
- Forum: SSH
- Topic: ssh_exchange_identification connection closed by remote host
- Replies: 0
- Views: 8241
ssh_exchange_identification connection closed by remote host
Check if there is any attack from the log :
/var/log/auth.log
- Wed Dec 25, 2013 11:59 am
- Forum: Miscellaneous
- Topic: Find list of files modified in the last X days
- Replies: 1
- Views: 7674
Re: Find list of files modified in the last X days
How to move files older than X days to a new folder
Examplefind /source/folder/path/ -mtime +X -exec mv {} /destination/folder/path/ \;
cd /home/arun/mail/arunp.in/
find cur/ -mtime +365 -exec mv {} /home/arun/mail/arunp.in/arun/.2012/cur/ \;
- Sat Dec 07, 2013 9:41 am
- Forum: General
- Topic: How to increase the default disk usage limit for the FTP.
- Replies: 0
- Views: 7964
How to increase the default disk usage limit for the FTP.
Normally pureftp has the disk usage limit set max to 98%.
ie if /home is 98% we cannot ftp further. To increase the limit edit the below file and make it 100 as shown.
ie if /home is 98% we cannot ftp further. To increase the limit edit the below file and make it 100 as shown.
vi /etc/pure-ftpd.conf
save and exitMaxDiskUsage 100
- Sat Dec 07, 2013 9:38 am
- Forum: Disk Cleanup
- Topic: How to find and delete error files in /home.
- Replies: 0
- Views: 8162
How to find and delete error files in /home.
Below command will get the list of error log which are more than 1Gb in size.
find /home -type f -name "error_log" -size +100000 > /home/1gb_error.txt
- Sat Nov 30, 2013 4:35 pm
- Forum: Errors in Terminal
- Topic: Mongodb wont start ERROR: child process failed, exited with
- Replies: 0
- Views: 15009
Mongodb wont start ERROR: child process failed, exited with
After installation mongodb wont start and the error I receive is : Starting mongod: about to fork child process, waiting until server is ready for connections. ERROR: child process failed, exited with error number 100 Error log shows : ERROR: Insufficient free space for journal files [root@ip-172-31...