how to compile gdbm 64 bit for solaris sparc 10 #CC=”gcc -m64″ CXX=”g++ -m64″ ./configure #make #make install #file /usr/local/lib/libgdbm.so /usr/local/lib/libgdbm.so: ELF 64-bit MSB dynamic lib SPARCV9 Version 1, dynamically linked, not stripped
Archive for the ‘Linux How to’ Category
Create ramdisk on solaris #ramdiskadm -a idisk 512m #newfs /dev/ramdisk/idisk #mkdir /test #mount /dev/ramdisk/idisk /test
How to change Sharing network number to 10.10.0.0 # sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.nat NAT -dict-add SharingNetworkNumberStart 10.10.0.0 # defaults read /Library/Preferences/SystemConfiguration/com.apple.nat restart internet sharing
vmware esx open tcp outgoing port 80 [root@myway root]# esxcfg-firewall -o 80,tcp,out,httpClient vmware esx close tcp outgoing port 80 [root@myway root]# esxcfg-firewall -c 80,tcp,out,httpClient
add mpxio-disable=”no”; to /kernel/drv/fp.conf #reboot #devfsadm #format #stmsboot -L
ideo condo บริการแย่มากหลังจากโอนไปแล้วทำไม่ตรงตามแบบรอให้มาแก้ไขรอนานมากๆ ตรงชุดครัวตอนตรวจรับเจ้าหน้า รับปากบอกจะต่อท่อดูดควันออกไปข้างนอกให้แต่ดันเอาปล่องไม้มาปิดหลอกซะงั้น พอดีเอาของไปวางเลื่อนไปดูมันขยับได้พอเปิดออกมาดู เท่านั้นล่ะ ท่อก็ยังไม่ได้ต่อให้ พอเจ้าหน้าที่ส่วนกลางจาก ideocondo มาบอกจะแก้ไขให้แล้วก็เงียบไป
add # Hard limit set rlim_fd_max = 65535 # Soft limit set rlim_fd_cur = 65535 to /etc/system
/export/home to /home on solaris add * -fstype=lofs :/export/home/& to /etc/auto_home
install bdb wget http://download.oracle.com/berkeley-db/db-4.8.30.tar.gz tar -xvzf db-4.8.30.tar.gz cd db-4.8.30/build_unix/ ../dist/configure –prefix=/usr/local make make install install openldap wget ftp://ftp.OpenLDAP.org/pub/OpenLDAP/openldap-stable/openldap-stable-20100719.tgz tar -xvzf openldap-stable-20100719.tgz cd openldap-* ./configure make depend make make install
yum install groff.x86_64