Category Archives: Linux
Scientific Linux Use Vnc
install tigervnc package by yum yum install tigervnc* set your password: vncpasswd set password: vncpasswd Password: Verify: open /etc/sysconfig/vncserver VNCSERVERS="1:root" 1 is display number,like: if you use 1 ,vncviewer must use x.x.x.x:1 root is user account start to vncserver … Continue reading
手動 掛載LVM的磁碟
掃瞄LVM磁碟 pvscan PV /dev/sda2 VG vg_servernd1 lvm2 [36.78 GiB / 0 free] Total: 1 [36.78 GiB] / in use: 1 [36.78 GiB] / in no VG: 0 [0 ] PV /dev/sda2 VG vg_servernd1 lvm2 [36.78 … Continue reading
samba 啟動,網路芳鄰看不到?
一般以為只要啟動samba就可以像windows一樣就啟動網路分享的功能, 但是其實還有一個背景程式叫「nmb」這個服務要啟動才可以在瀏覽網 路芳鄰時看的到主機名稱,也就是在smb.conf中所設定的netbios string 這個設定才會有效,當在網路芳鄰看不到時就要去確定一下是否有啟動 「nmb」這個服務: chkconfig –list nmb nmb 0:關閉 1:關閉 2:關閉 3:關閉 4:關閉 5:關閉 6:關閉 例子中可以看到是關閉的,這時就要將它開啟後,每次機器重新開機時就會自動 啟動了: chkconfig nmb on nmb 0:關閉 1:關閉 2:開啟 3:開啟 4:開啟 … Continue reading
Synology DS211+ install ipkg
Synology DS211之cpuinfo的內容: QStation211P> cat cpuinfo Processor : Feroceon 88FR131 rev 1 (v5l) BogoMIPS : 1589.24 Features : swp half thumb fastmult edsp CPU implementer : 0×56 CPU architecture: 5TE CPU variant : 0×2 CPU part : 0×131 CPU revision … Continue reading
頻寬使用率偵測 bwmon for Linux console
軟體名稱:bwmon Linux Bandwidth Monitor 下載位址:http://sourceforge.net/projects/bwmon/ 軟體畫面:
重設mysql密碼-Reset mysql password
1.停止mysql服務 # /etc/init.d/mysql stop Stopping MySQL database server: mysqld. 2.安全模式啟動mysql # mysqld_safe –skip-grant-tables & [1] 62488 Starting mysqld daemon with databases from /var/lib/mysql mysqld_safe[62488]: started 3.連線至mysql # mysql -u root Welcome to the MySQL monitor. Commands end with … Continue reading
libtorrent:Package sigc++-2.0 was not found
libtorrent錯誤訊息 checking for sigc++-2.0… Package sigc++-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `sigc++-2.0.pc’ to the PKG_CONFIG_PATH environment variable No package ‘sigc++-2.0′ found configure: error: Library requirements (sigc++-2.0) not met; consider … Continue reading
rtorrent: ncurses library is required
編譯rtorrent發生蠻多問題的,一開始就告訴我沒有”ncurses”這個library checking for execinfo.h… no checking for proper overloaded template function disambiguation… yes checking for library containing add_wch… no checking for library containing wbkgdset… no *** The ncurses library is required! 新增ncurses [root@vps rtorrent-0.8.6]# yum install *ncurses*

