Month: April 2012

Change the default ssh port on Ubuntu

Leave a comment
Linux

Changing the default port of ssh is not a huge improvement in security, but I’ve found it to be a useful tool in keeping log files free from failed login attempts with username root on port 22 (and I hope you do spend the time to review your log files!). A large number of scripts run scans on the default ssh port of 22 looking for known vulnerabilities. Of course, you should keep ssh fully […]

Install Python 2.7.2 from source on Ubuntu 10.04 LTS

Leave a comment
Linux / Python

The first thing I did was to create a wwwuser that I plan to run pyramid under. As a result, I am intentionally installing Python 2.7.2 under only 1 user account, and am leaving the system wide python installation unchanged. useradd wwwuser passwd wwwuser cd /home mkdir wwwuser chown wwwuser:wwwuser wwwuser Copy all of the hidden files into the /home/wwwuser folder. I did this from my desktop files. vi /etc/passwd Update the shell to be: […]

Install MySQL 5.5 on Ubuntu 10.04 LTS running in the Rackspace Cloud

comments 6
Linux / MySQL

Update April 23, 2012 I added new instructions for adding the MySQL libs to the loader path. Failure to add the libs to the loader path will cause errors when you try to run/build programs that depend on MySQL, such as installing the MySQL driver for Pyramid (Python). Update April 18, 2012 Thanks to Lampros for pointing out that WordPress was converting double dashes into single dashes “-“. I have updated the post so that […]