原创 SuSE linux 使用minicom

1.在SuSE linux上安裝 rzsz和minicom。 2.執行 minicom -s 顯示界面如下             ┌─────[configuration]──────┐             │ Filenames

原创 使用git下載kernel代碼

windows 1.安裝git軟件,下載目錄http://code.google.com/p/msysgit/downloads/list 2. 右鍵點擊git bash,輸入 git clone git://git.kernel.org

原创 fedora 16 在桌面顯示圖標

1.安裝gnome-tweak-tool 2.運行gnome-tweak-tool 開啓 Hae file manager handle the disktop. 3.到/usr/share/applications目錄選中文件右鍵“複

原创 ubuntu更新firefox

ubuntu自帶的firefox通常版本號比較低,例如ubuntu10.4帶的是firefox 4.0.1,而最新的firefox是6.0.2版本,可以下載最新的版本進行安裝並更新默認設置。 可以看到默認的配置 root@glory-d

原创 intern method of String class of java

intern method of String class of java

原创 fedora 安裝 rar

sudo rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm sudo rpm -Uvh http:/

原创 C程序float型變量的存儲方式

C程序float型變量的存儲方式 點贊 收藏 分享 文章舉報 單車假日 發佈了43 篇原創文章 · 獲贊 5 · 訪問量 4萬+ 私信

原创 修復MBR

刪除雙系統的linux分區之後,由於系統將windows的驅動也放到grub裏面,導致windows啓動異常。 修復辦法: 使用windows安裝盤,進入修復模式, 執行fixboot、fixmbr將windows設置從mbr引導。

原创 SuSE linux 配置XDMCP

服務器安裝gdm 修改/etc/opt/gnome/gdm/gdm.conf文件 1.修改AllowRemoteRoot=false爲true 2.修改[xdmcp]段落 修改Enable=false爲true 增加Port=177

原创 MYSQL數據導出和導入

mysql支持通過shell將數據表結構和內容導出。  數據導出使用mysqldump,用法如下: mysqldump -p{數據庫密碼}    數據庫名    表名   -T '{導出路徑}'; 數據文件導入使用mysqlimpor

原创 Suse Linux 配置NAT

首先需要在網卡配置中打開enable IP forwarding,才能做基於不同主機之間的轉發。 iptables 配置將私網端口映射到公網 iptables -t nat -A PREROUTING -d 128.20.57.120(

原创 ubuntu安裝軟件

ubuntu繼承自debian,支持通過deb文件的方式進行安裝,也支持通過編譯的方式進行安裝。 方式1. 在桌面點擊下載deb文件,即可啓動安裝 方式2. 在終端命令行下通過sudo dpkg -i xxxx.deb 進行安裝

原创 fedora 16 啓動gnome-tweak-tool失敗

使用sudo yum install gnome-tweak-tool 成功安裝gnome-tweak-tool之後。 啓動時出現以下錯誤 Traceback (most recent call last):   File "/usr/b

原创 用戶sudo失敗的處理

使用新立得軟件更新時報一下錯誤: 運行 /usr/sbin/synaptic '--hide-main-window' '--non-interactive' '-o' 'Synaptic::closeZvt=true' '--pare

原创 common and different of final in java and const in C++

common and different of final in java and const in C++