Archive for the ‘Uncategorized’ Category
Posted by admin May 5th, 2010
Many python packages suggest using ‘easy_install‘ to install them. How do you get easy_install working if its not present on your system.
Download the correct egg for your python version from http://pypi.python.org/pypi/setuptools.
Run the egg as if it were a shell script (which it is). For example sh xxx.egg
There are various options for changing defaults for if [...]
Posted in Uncategorized •
No Comments »
Posted by andy January 19th, 2010
On January 4th as reported on DarkReading and DataBreaches, Lincoln National Corporation notified the New Hampshire Attorney General’s Office of a major security breach affecting 1.2 million people. In addition to the internal cost of investigating the breach and bringing in an external forensics team; in addition to planning and executing [...]
Posted in Uncategorized •
No Comments »
Posted by andy September 10th, 2009
As part of an experiment at work, I wanted to intercept all traffic on port 80 that was headed to a certain IP address. To handle the traffic, I built a python script using BaseHTTPServer based around this sample code and ran it on .202 - one of my CentOS 5.2 boxes.
Next step was to [...]
Posted in Uncategorized •
No Comments »
Posted by andy February 16th, 2009
Running out of space on your VMWare Server? Try this to convert some of your larger preallocated disks to growable. This way they only consume the space on the disk that they currently need, and will not consume disk space on the host drive for disk space on the guest systems whic is in fact [...]
Posted in Uncategorized •
No Comments »
Posted by andy February 15th, 2009
This is a known bug inherited from RedHat.
http://rhn.redhat.com/errata/RHSA-2009-0225.html
Workaround is to add
scsi0.virtualDev = “lsilogic”
to the .vmx file before installation.
Posted in Uncategorized •
No Comments »
Posted by andy January 2nd, 2009
dd if=/dev/cdrom of=your_image.iso
Posted in Uncategorized •
No Comments »
Posted by andy January 2nd, 2009
Ensure the mount point /mnt/cdrom exists.
To perform the mount:
mount -t auto /dev/cdrom /mnt/cdrom
If the symbolic link /dev/cdrom is not there, then try:
mount -t auto /dev/hdb /mnt/cdrom
replacing hdb with whatever your device is called.
Posted in Uncategorized •
No Comments »
Posted by andy January 2nd, 2009
With CentOS 5.2 (as ever), use the following to enable a listening tcp port (in this case 8000) to be accessed through the firewall.
sudo /sbin/iptables -A INPUT -p tcp –dport 8000 -j ACCEPT
sudo /sbin/service iptables save
sudo /sbin/iptables -F
Posted in Uncategorized •
No Comments »
Posted by andy December 27th, 2008
The instructions for retrofitting Terminal server to Windows Vista Home are here. This enables Remote Desktop to that machine.
Posted in Uncategorized •
No Comments »
Posted by andy December 27th, 2008
The instructions for retrofitting Terminal server to Windows XP Home are here. This enables Remote Desktop to that machine.
Posted in Uncategorized •
1 Comment »