Tuesday, November 8, 2016
Wednesday, November 2, 2016
Shared folders in Linux Guest on Windows Host
This issue occurs if the GCC and PAE kernels are not up to date in the Linux VM and the hgfs folder is not created in the /mnt folder.
- su -
- yum install gcc gcc-c++ make binutils
- yum update kernel
- reboot
- ./vmware-install.pl
- Power on the virtual machine. The shared folder should be accessible in the given location, /mnt/hgfs/.
Wednesday, September 28, 2016
Linux I/O Performance Tests using dd
dd if=/dev/zero of=test2.img bs=164K count=100000 oflag=dsync
dd bs=1M count=1024 if=/dev/zero of=test conv=fdatasyn
https://romanrm.net/dd-benchmark
dd bs=1M count=1024 if=/dev/zero of=test conv=fdatasyn
https://romanrm.net/dd-benchmark
Thursday, September 22, 2016
Install Htop 2.0 for CentOS 7
yum groupinstall "Development Tools"
yum install ncurses ncurses-devel
wget http://hisham.hm/htop/releases/2.0.0/htop-2.0.0.tar.gz
tar xvfvz htop-2.0.0.tar.gz
cd htop-2.0.0
./configure
make
make install
yum install ncurses ncurses-devel
wget http://hisham.hm/htop/releases/2.0.0/htop-2.0.0.tar.gz
tar xvfvz htop-2.0.0.tar.gz
cd htop-2.0.0
./configure
make
make install
Monday, March 21, 2016
Comsol: Tuning the Java heap size
If you get an error message like this:
Error in sweep: Java heap space
try to increase the Java heap. Open the
comsol.ini file located in the subdirectory bin/$arch in the COMSOL installation directory, where $arch corresponds to the platform you are using. Modify the number in the row that starts with -Xmx, its value is the Java heap size. If you have enough RAM, try doubling the size. This will give the line -Xmx2048m for a 64-bit platform. Repeat this for all *.ini files in the same directory.If you do not have write permission to the
bin/$arch directory, you can instead try the following:- Copy the
comsol.inifile to a folder where you have write permission. - Open the file and modify it according to the instructions above.
- When you launch COMSOL, add the option
-comsolinifile [path]to the COMSOL command, where [path] is the path to your newcomsol.inifile.
Also here we can find some recommendations on how to deal with java.lang.OutOfMemoryError in Java, http://javarevisited.blogspot.co.il/2011/09/javalangoutofmemoryerror-permgen-space.html
Sunday, January 31, 2016
Wednesday, January 6, 2016
Color schemes - Midnight Commander
[Colors]
base_color=normal=lightgray,black:input=white,brightred:errors=white,brightred:gauge=yellow,red:selected=gray,lightgray:marked=yellow,black:markselect=yellow,brown:directory=white,black:executable=brightgreen,black:link=green,black:device=brightmagenta,black:special=brown,black:core=brightred,yellow:menu=gray,lightgray:menuhot=yellow,lightgray:menuhotsel=brightred,black:dnormal=white,gray:dfocus=white,brightgreen:dhotnormal=brightred,gray:dhotfocus=brightred,gray:editmarked=white,brightred:editnormal=white,black:editbold=blue,brown:reverse=yellow,black:helpnormal=white,black:helpitalic=brightmagenta,black:helpbold=brightcyan,black:helpslink=yellow,black:helplink=brightblue,black:viewunderline=brightgreen,white
Sunday, June 7, 2015
Wednesday, June 3, 2015
VNC server on ubuntu 14.04
#!/bin/sh
# Uncomment the following two lines for
export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
# exec /etc/X11/xinit/xinitrc
#[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
#[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
#xsetroot -solid grey
vncconfig -iconic &
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#x-window-manager &
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal &
normal desktop:
Thursday, April 16, 2015
Subscribe to:
Posts (Atom)
How to Encrypt and Decrypt Files With GPG on Linux
https://www.howtogeek.com/427982/how-to-encrypt-and-decrypt-files-with-gpg-on-linux/
-
Another way to create automatically the user subroutine UMAT is by automatic UMAT code generation procedure for pseudoelastic materials u...
-
export LD_LIBRARY_PATH=/usr/ansys_inc/v172/Framework/bin/Linux64/Mesa sudo nano ~/.bashrc export LD_LIBRARY_PATH=/usr/ansys_inc/v180/...





