Archive:
Month: April 2013
Force hard reboot without physically accessing the computer
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
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
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: […]
Samba “Strict locking” prevented file to be modified
From certain number of linux SAMBA and higher, “strict locking =1” is the default. When such SAMBA share is mapped on older versions of windows, the files would be not able to be modified – you can create new file, modify it. However, when you try to save, it will return “The process cannot access […]