find . -name “.htaccess” -type f -print | xargs grep -e ‘.*401.*http’ /dev/null
Entries from August 2009
Fix 401 errors
August 17th, 2009 by EZ linux · No Comments
Tags: Linux Commands
Upgrading Perl on cpanel
August 17th, 2009 by EZ linux · 1 Comment
wget http://layer1.cpanel.net/perl588installer.tar.gz tar xfvz perl588installer.tar.gz cd perl588installer ./install /usr/local/cpanel/bin/checkperlmodules
Tags: Linux Commands
Tar and Untar commands
August 17th, 2009 by EZ linux · No Comments
tar -cvzf mytar.tar.gz sourcefilesordir/creates new tar file tar -xzvf mytar.tar.gz destination – extracts tar.gz file-any fileordir – compresses a file with gzip. gunzip file.gz – decompresses a file with gzip. tar -xvf mytar.tar.gz destination – extracts tar filegzip
Tags: Linux Commands
Services kill command
August 17th, 2009 by EZ linux · 1 Comment
ps aux (shows all processes) kill (pid #) to remove service For example kill 12435 (this kills pid 12435)
Tags: Linux Commands
Remove core files
August 17th, 2009 by EZ linux · 1 Comment
find /var/ -name core.* -exec rm {} \; find /home/dwhs/public_html/ -name core.* -exec rm {} \; find /home/dwhs/ -name core.* -exec rm {} \; find /home/dwhs/ -name error_log -exec rm {} \; find /home/dwhs/ -name error_log -exec rm {} \;
Tags: Linux Commands
Remove a service
August 17th, 2009 by EZ linux · No Comments
service nfslock stop chkconfig nfslock off
Tags: Linux Commands
Neuros open set-top box puts Linux in living rooms
August 17th, 2009 by EZ linux · No Comments
At the OSCON open source convention in Portland last week, Neuros CEO Joe Born explained how Linux-based embedded devices will bring open source to the set-top market and the consumer electronics space. He also demonstrated how to build applications for the Neuros OSD, his company’s programmable DVR product. We looked at Neuros last year when [...]
Tags: Linux Operating Systems
MySQL limiter script
August 16th, 2009 by EZ linux · No Comments
Install a MYSQL script on a CPanel server –downloading cd /sbin rm -f watchmysql wget http://www.downloadspot.com/downloads/watchmysql chown root.root watchmysql chmod 0750 watchmysql –configuration #Sets the maximum concurrent connections per MySQL user. my $max_concurrent_connections = ’15′; #Who to tell about this user… (email) my $warning_email = ‘your@email.address’; #Kill Abuser’s MySQL Connections (0 = [...]
Tags: Linux Software / Scripts
FSCK file systems check
August 16th, 2009 by EZ linux · No Comments
fsck -A -a Automatically repairs everything
Tags: Linux Commands
Adding a Symlink
August 16th, 2009 by EZ linux · No Comments
ln -s linktext linkname linktext is the location of the actual file. linkname is the redirect path ln -s /backup/logs /var/logs ln -s /home/cpanel /var/cpanel
Tags: Linux Commands · Linux Tricks
