Monthly Archives: March 2010

Turning On X Forwarding on Mac OS X Snow Leopard

Read this article. sed ‘s/#X11Forwarding\ no/X11Forwarding\ yes/’ /etc/sshd_config > /tmp/sshd_config sudo mv /tmp/sshd_config /etc/.

Posted in Mac OS X, Snow Leopard | Leave a comment

Installing Tor on Debian Squeeze

Install packages: $ sudo aptitude install tor privoxy Add the following lines to relevant sections in /etc/privoxy/config: … forward-socks4a / 127.0.0.1:9050 . … listen-address 127.0.0.1:8118 ( See this thread for detail.)  Then $ sudo /etc/init.d/privoxy restart to make the change … Continue reading

Posted in Debian, Linux, Squeeze | Tagged , , , , , , , | 1 Comment

Microsoft Natural Ergonomic Keyboard 4000 on Mac OS X Snow Leopard

I don’t really need to tweak much for the MS keyboard to work with Snow Leopard, as it will be detected and configured automatically.  However, I’m not used to the Mac keyboard bindings, though I can live with it as … Continue reading

Posted in Uncategorized | Tagged , , , | Leave a comment

Installing PSFex on Mac OS X Snow Leopard

There seems to be no stable release for PSFex yet.  So we download source from subversion. Before doing that, you need to install FFTW and ATLAS first.  (You need a single-precision library for FFTW.) Download a tarball (for trunk) from … Continue reading

Posted in Mac OS X, Snow Leopard | Leave a comment

Installing GFortran on Mac OS X Snow Leopard

Installing from GFortran Wiki (My Current Preferred Way) GCC Wiki has a link to Mac OS X installer.  As the command gfortran will be installed at /usr/local/gfortran and causes less interferences with other libraries and software, this is my preferred … Continue reading

Posted in Uncategorized | Tagged , , , , , | 6 Comments

Installing SExtractor on Mac OS X Snow Leopard

(November 25, 2010) I screwed up SExtractor installation for no reason and in an attempt to fix it, I’ve found a few things.  After wasting a few hours again, I think this installation note can work for most people who … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | 16 Comments

Installing ATLAS on Mac OS X Snow Leopard

Installing from Fink Do: $ fink install atlas atlas-shlibs That’s it.  They will be installed under /sw/lib. Installing from Source (Recommended if Building Other Software That Depends on ATLAS) First of all, I need a FORTRAN compiler, so install it.  … Continue reading

Posted in Uncategorized | Tagged , , , , , , | 7 Comments

Installing Squid Proxy Server on Mac OS X Snow Leopard

My goal is to set up a very basic proxy server on my Mac box on campus, so that I can have full access to subscription-based academic journals via the proxy on my laptop even when I am off campus.  … Continue reading

Posted in Uncategorized | Tagged , , , , , | 23 Comments

Installing DS9 on Debian Squeeze

Download the latest version from the official website: $ wget http://hea-www.harvard.edu/saord/download/ds9/linux64/ds9.linux64.6.0.tar.gz $ tar -xvzf ds9*.tar.gz $ chmod 755 ds9 $ sudo mv ds9 /usr/local/bin (The wget line is an example.) This will install DS9 under /usr/local/bin.

Posted in Debian, Linux, Squeeze | Tagged , , , , , , , | Leave a comment

Installing Science Packages for Python on Debian Squeeze

Eventually it’s likely I need to build all NumPy, SciPy, and Matplotlib from source, but for now this is good enough: $ sudo aptitude install ipython python-mode $ sudo aptitude install python-numpy python-scipy python-matplotlib python-nose If I need WXAgg as … Continue reading

Posted in Debian, Linux, Squeeze | Tagged , , , , , , | Leave a comment