How to install litecoin on fedora

Download litecoin source code from github. Install depend packages. yum install -y libdb-cxx-devel boost-thread boost-filesystem boost-system wget http://www.openssl.org/source/openssl-1.0.1e.tar.gz tar zxf openssl-1.0.1e.tar.gz; cd openssl-1.0.1e/ Build openssl, cause fedora default openssl doesnt support ec.h ./Configure linux-x86_64 –prefix=/usr –openssldir=%{_sysconfdir}/pki/tls zlib enable-camellia enable-seed enable-tlsext enable-rfc3779 enable-cms enable-md2 no-mdc2 no-rc5 –with-krb5-flavor=MIT –with-krb5-dir=/usr shared make depend vim crypto/Makefile , add -fPIC to CFLAG make && make isntall Install litecoin demon cd litecoin/src, modify makefile.

Linux DISPLAY set properly

Some time we meet error like : Error: Unable to initialize gtk, is DISPLAY set properly? Then Try 1 2 # export DISPLAY=:0.0 # export wxUSE_GUI=0 Referenct: http://blog.csdn.net/jiangxinyu/article/details/1630713

Some useful cmd for linux audio and video

将视频里的音频提取出来的方法 Install mencoder sudo yum install -y mencoder reencode mencoder -oac MP3lame -ovc copy -of rawaudio $input_file -o $out_mp3_file use mencoder -oac help to see all support format Cmus – music player / or Try mocp cmus 是一款相当不错的控制台音乐播放器。它小巧

ESXi Create Vlan

Steps to add vm network for ESXi server: Left click you host (not virtual machine), choose “configuration” on the right panel. Choose Hardware -> networking, you can see there is only one vm network by default. click Add Networking -> Virtual Machine -> Create a vSphere standed switch, there is no need to add a vlan id, just click next and finish adding it. Edit you new vm network Properites and make promicuous mode accpeted.