Time of Update: 2013-12-12
Linux NFS說明,配置及故障分析 一、NFS服務簡介NFS 是Network File System的縮寫,即網路檔案系統。一種使用於分散式檔案系統的協定,由Sun公司開發,於1984年向外公布。功能是通過網路讓不同的機器、不同的作業系統能夠彼此分享個別的資料,讓應用程式在用戶端通過網路訪問位於伺服器磁碟中的資料,是在類Unix系統間實現磁碟檔案分享權限設定的一種方法。NFS
Time of Update: 2013-12-12
使用者管理命令useradd等的深入理解及手動建立使用者 一 搞清楚adduser和useradd的關係[plain] [root@larrywen opt]# type adduser adduser is /usr/sbin/adduser [root@larrywen opt]# type useradd useradd is /usr/sbin/useradd [root@larrywen opt]# which
Time of Update: 2013-12-12
利用awk重排資料 未經處理資料: Java代碼 1<;>1<;>1<;>PC COOKIE<;>99<;>1024<;><;>2013/07/28 39<;>1<;>1<;>PC手機<;>97<;>272<;>8<;>2013/07/28 Java代碼
Time of Update: 2013-12-12
Public key for *.rpm is not installed解決 >[root@RedHat mnt]# cd /opt/cdrom/Packages/ [root@RedHat Packages]# yum install google-chrome-stable_current_i386.rpm Loaded plugins: refresh-packagekit, rhnplugin This system is
Time of Update: 2013-12-12
vi設定檔更改(Ubuntu) ubuntu 中vi設定檔在/etc/vim/vimrc, 需要用root的許可權修改 1、顯示行號 在檔案末端添加一新行,輸入 set nu 2、文法高亮在檔案中找到 "syntax on 這一行,去掉前面的雙引號",雙引號是注釋的意思 3、自動縮排 在檔案末尾添加一行,輸入 set
Time of Update: 2013-12-12
Ubuntu11.10編譯核心:make xconfig錯誤解決 問題:root@czu:~/案頭/linux-2.6.30.4# make xconfig CHECK qt
Time of Update: 2013-12-12
Linux網路設定進階指南 本文面向的是被Linux複雜的有線無線網路架構弄得頭昏腦脹;或者被網上半吊子的教程弄得暈頭轉向;或者厭倦了Network
Time of Update: 2013-12-12
第一種方法:在tomcat中的conf目錄中,在server.xml中的,<host/>節點中添加:<Context path="/hello" docBase="D:eclipse3.2.2forwebtoolsworkspacehelloWebRoot" debug="0" privileged="true">< /Context>至於Context
Time of Update: 2013-12-12
ubuntu13.04安裝vncserver後只顯示案頭,不顯示功能表列解決 0.背景介紹: 一般的server作業系統是不安裝圖形系統的,這樣的話,要想開啟它的圖形介面可以在server端上安裝vncserver軟體。然後再在本地機器(windows或linux)上安裝一個vnc viewer就能顯示圖形介面。 1. 在ubuntu server上安裝vncserver,用以下命令:(我的ubuntu server ip為10.141.247.133)
Time of Update: 2013-12-12
解決不能通過linux hostname的方式串連Linux host 最近從XP更新到了Win7,更新結束之後,想串連原來putty儲存的Linux host;原來訪問linux host的方式是通過linux
Time of Update: 2013-12-12
Linux常用命令(磁碟管理) ls 查看目錄 cd 進入目錄 ..代表上一級 cd直接進入工作目錄 .代表目前的目錄 pwd 顯示目前的目錄 df /目錄 查看目錄在系統磁碟分割掛載點 mount /目錄 掛載目錄 umount /目錄 卸載掛載點 head -n 1
Time of Update: 2013-12-12
Linux shell建立空檔案(0位元組大小)檔案方法 echo>fileName建立的檔案是1個位元組的。 學習後發現建立空檔案(0位元組大小)的檔案有以下幾個方法 一、file不存在時,touch
Time of Update: 2013-12-12
1. install latest emacsxz -d emacs-24.3.tar.xztar xvf emacs-24.3.tar./configuremakemake install #need root2. install Steve Purcell's emacs configgit clone https://github.com/purcell/emacs.d.gitrm -rf .emacs.d/ emacsmv emacs.d/ .emacs.d/emacs #
Time of Update: 2013-12-12
解決Ubuntu下dpkg的available問題 最近入手一個pcDuino,閑來沒事,想先熟悉一下linux環境,搭一下各種東東,然後進行感應器擴充玩玩開源硬體,無奈,突然間遇到這麼一個問題 1sub-process/usr/bin/dpkg returned an error
Time of Update: 2013-12-12
兩種方式:一、Tomcat伺服器配置: 1、 把 <Resource name="jdbc/TestDB" auth="Container" type="javax.sql.DataSource" maxActive="100"
Time of Update: 2013-12-12
git服務端安裝 環境:centos 5.3 64bit安裝:01[root@lzwsy-centos ~]# yum install git-all02Loaded plugins: fastestmirror03Loading mirror speeds from cached hostfile04 * epel: mirrors.hust.edu.cn05 * rpmforge: mirror.oscc.org.my06Setting up
Time of Update: 2013-12-12
關於Ubuntu 12.04修改預設運行層級,啟動字元介面的個人理解 網上通常的做法是:(親自實驗,不管用),如果想直接操作請看綠色字型部分(1)第一種方法: 由於RedHat中是通過一個叫inittab的檔案來管理運行層級的,而ubuntu中沒有,所以建議在/etc/目錄下建立該檔案 $sudo vi /etc/initab 然後編輯該檔案,運行層級設為3,內容如下id:3:initdefault: 然後重啟。 親自實驗,不管用,
Time of Update: 2013-12-12
ubuntu修改使用者名稱稱和電腦名稱 1.修改使用者名稱稱: 切換到root開啟如下兩個設定檔 vi /etc/passwd 把我想改的"xxx"這個使用者名稱改為"cyrec"了,儲存並退出 vi /etc/shadow 同樣把"xxx"改為"cyrec"
Time of Update: 2013-12-12
網卡eth0,未發現串連裝置Bringing up interface eth0: Error: No suitable device found: no device found for conne 環境:win7, VMware Workstation 9.0 , Centos6.4 發生錯誤:進入虛擬機器修改IP執行 service network restart 出現如錯誤 解決方案: # vi
Time of Update: 2013-12-12
Linux Mint安裝最新版R R是用於統計分析、繪圖的語言和作業環境。R是屬於GNU系統的一個自由、免費、原始碼開放的軟體,它是一個用於統計計算和統計製圖的優秀工具。 版本控請一定試試下面的方法安裝最新版 開啟終端 1sudo gedit /etc/apt/sources.list加入1deb http://源鏡像/bin/linux/ubuntu 版本/例如:1deb