Archive:

Month: April 2013


Force hard reboot without physically accessing the computer

By: | Post date: April 22, 2013 | Comments: No Comments

Posted in categories: Computer Tips, Work related

Sometimes a zombie process might prevent “reboot” “shutdown -r now” from working properly since such soft reboot methods will try to close the zombie processes “normally” and stall on permanent waiting. In this case, instead of approaching the computer and press the power button, there is a way to do so remotely if you still […]

Running Mathematica through cygwin

By: | Post date: April 15, 2013 | Comments: No Comments

Posted in categories: Computer Tips, Work related

Mathematica will crash cygwin/X, if certain fonts were not properly installed. Wolfram released a font package that could help this issue out. Here is the download. $ wget http://support.wolfram.com/technotes/MathematicaV7FontsLinux.tar.gz Once you get this file, you may $ tar xvfz MathematicaV7FontsLinux.tar.gz to extract the font files, then $ rsync -av Fonts/ /usr/share/fonts/ to install them. After […]

Using ssh tunnel to port NFS through firewall and private network

By: | Post date: April 15, 2013 | Comments: No Comments

Posted in categories: Computer Tips, Work related

network structure: machine1 >> firewall >>>- Internet -> machine2 nfs_server Step 1: on nfs_server, add line in /etc/exports: nfs_dir 127.0.0.1(rw,async,insecur) Also, add line in /etc/sysconfig/nfs MOUNTD_PORT <port_number3 The port_number3 is a large number, for example, 32334, Then do "service nfs restart" This allows the nfs mount point is accessible from the box itself; Step 2: […]