Search found 14 matches

by gautham
Wed Sep 05, 2012 3:51 pm
Forum: Pure FTP
Topic: How to open Passive ports in pureftp
Replies: 0
Views: 4720

How to open Passive ports in pureftp

Open the FTP conf file and add the port vi /etc/pure-ftpd.conf PassivePortRange 30000 35000 Now enable the same set of ports in firewall. CSF vi /etc/csf/csf.conf # Allow incoming TCP ports TCP_IN = "20,21,22,25,53,80,110,30000:35000" APF vi /etc/apf/conf.apf IG_TCP_CPORTS="20,21,22,2...
by gautham
Wed Aug 22, 2012 11:00 am
Forum: Caching Techniques
Topic: How to install memcache
Replies: 0
Views: 2152

How to install memcache

Most probably the below should work
pecl install memcache
by gautham
Wed Aug 22, 2012 10:59 am
Forum: Caching Techniques
Topic: How to install memcached
Replies: 1
Views: 5426

How to install memcached

Download memcached from main site cd /usr/local/src/ wget http://memcached.googlecode.com/files/memcached-1.4.14.tar.gz tar -xzvf memcached-1.* cd memcached* ./configure make If the above gives an error on libevent, check if its installed and if not install that using yum install libevent libevent-d...
by gautham
Fri Jul 13, 2012 2:16 pm
Forum: Mod_Security
Topic: How to disable mod_security for a domain
Replies: 1
Views: 6029

How to disable mod_security for a domain

How to disable mod_security for a domain in cpanel servers.
vi /usr/local/apache/conf/modsec2.user.conf
On top of that file insert the below rule
SecRule SERVER_NAME "domain.com" phase:1,nolog,allow,ctl:ruleEngine=off
by gautham
Thu Jul 05, 2012 10:52 am
Forum: Errors in Terminal
Topic: ping: icmp open socket: Operation not permitted
Replies: 0
Views: 3450

ping: icmp open socket: Operation not permitted

I am unable to ping when logged in as a user.
Solution :
chmod +s `type -p ping`
by gautham
Mon Jul 02, 2012 3:57 pm
Forum: Antivirus
Topic: Maldet scan
Replies: 1
Views: 2412

Re: Maldet scan

maldet --scan-all /home/*/public_html/ ---> To scan maldet --report 122111-1532.827 -----> To see the report maldet -q 122111-1532.8272 ----> To remove the Infected files maldet(7488): {scan} quarantine is disabled! set quar_hits=1 in conf.maldet or to quarantine results run: maldet -q 122111-1532....
by gautham
Mon Jul 02, 2012 1:21 pm
Forum: cPanel / WHM
Topic: Error log
Replies: 0
Views: 1900

Error log

Apache error log
/usr/local/apache/logs/error_log
Cpanel error log
/usr/local/cpanel/logs/error_log
Mod_security logs (Can be found in apache error logs too)
/usr/local/apache/logs/modsec_audit.log
Exim mail log
/var/log/exim_mainlog
Logs regarding named errors
/var/log/messages
by gautham
Mon Jul 02, 2012 1:00 pm
Forum: Virtuozzo VPS
Topic: Important Virtuozzo VPS commands
Replies: 0
Views: 1970

Important Virtuozzo VPS commands

List the containers in the NODE
vzlist -a
Login to VPS from NODE
vzctl enter VEID
by gautham
Mon Jul 02, 2012 10:21 am
Forum: cPanel / WHM
Topic: Where is MySQL conf file located?
Replies: 0
Views: 2095

Where is MySQL conf file located?

In most of the servers its in
cat /etc/my.cnf
by gautham
Mon Jul 02, 2012 9:57 am
Forum: Useful Commands
Topic: Command to create a file of XMB
Replies: 1
Views: 2708

Command to create a file of XMB

How to create a file of 10MB.
dd if=/dev/zero of=testfile_10MB bs=10485760 count=1
du -sch testfile_10MB
Note : The size might get increased to 11MB
10485760 in the above exzmple is in Byte
2 MB -- > 2097152
5 MB --> 5242880
20 MB --> 20971520
50 MB --> 52428800

Go to advanced search