Category: Reliable Penguin

Disable on-access scanning with Sophos

To disable the on-access scanning in Sophos for now with this command:

It can later be re-enabled with this command:

As for checking for what Sophos has been doing lately, the log files are located in the following path:

As for further documentation, there are man pages for most of the various Sophos binaries that you can find in /opt/sophos-av/bin so you should be able to view the man page for them with “man savdctl” or whichever binary you need to look at.

Read More »

Unzipping archives with large files

The standard unzip utility in RHFC6 was not able to handle the 2+GB zip files that I needed to uncompress. Tried the solution shown here: http://www.osde.info/HowToUnzipLargeFiles which involves changing: CF=”-O3 -Wall -I. -DASM_CRC $(LOC)”\ To: CF=”-O3 -Wall -I. -DASM_CRC -DLARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 $(LOC)”\ In the unix/Makefile This helps as it lets unzip open the >2GB archive. But some of the files in the archive were larger then 4GB and gave and error like this: need PK compat. v4.5 (can do v2.1) Found a page here: http://www.penlug.org/twiki/bin/view/Main/GigaUnzipping with the solution which is to use p7zip from: need PK compat. v4.5 (can do v2.1)

Read More »

Static Routes On RedHat

Here’s the docs from redhat on how to setup static routes:

Let’s say you want to add two static routes to eth1. The first routes 10.10.10.0/255.255.255.0 to 10.10.10.1 and the second routes traffic from 10.10.11.0/255.255.255.0 to 10.10.11.1. To accomplish this create a file at:

And place the following lines in the file:

Then restart networking with:

Read More »

SSH Tunnel For VNC

Recent problem where I needed to VNC to a host but the host was not directly routable. So I needed to send my traffic to a routable host and then tunnel it over to the final target host. SSH did the trick here:

Where “rhost” is the intermediate server and “host” is the final target server.

Read More »

Turn off open_basedir on Plesk site.

Here’s a quick bit of apache config that can be placed in the conf/vhost.conf file of a Plesk site to turn off the open_basedir restrictions:

Read More »

Categories

Get a free consultation from Reliable Penguin

Submit the form—or for immediate service call 866-649-7984.