Time of Update: 2014-12-13
標籤:linux yum1、建立一個掛載目錄 #mkdir /mnt/iso 把光碟片掛載到/mnt/iso這個目錄上 #mount -o loop /dev/hdc /mnt/iso2、到/etc/yum.repos.d/目錄下 #cd /etc/yum.repos.d/
Time of Update: 2014-12-13
標籤:linux fstab故障原因: 修改/etc/fstab後 ,將一塊swap分區當做ext3去掛載,所以機器無法正常啟動。解決辦法: 按提示 輸入 root的密碼,進入以Repair filesystem 為提示符的介面。 vi /etc/fstab後 提示,唯讀,也就是沒許可權修改。 輸入 mount
Time of Update: 2014-12-13
標籤:style blog http io ar os 使用 sp on <assert.h>:ANSI
Time of Update: 2014-12-12
標籤:io ar 使用 sp strong on 檔案 bs linux 1.作用Linux系統中grep命令是一種強大的文本搜尋工具,它能使用Regex搜尋文本,並把匹
Time of Update: 2014-12-12
標籤:style blog color 使用 sp 檔案 div log bs 一般MATLAB的mex支援的gcc版本都比最新的gcc要低一些,所以一般要配置一下。假設目前的版本的gcc是4.
Time of Update: 2014-12-12
標籤:blog http io ar sp for strong on 檔案 linux下的-atime,-ctime,-mtime含義我們經常會在論壇或者群裡面被問到,在linux
Time of Update: 2014-12-12
標籤:style blog io color sp java on div log 配置tomcat為80連接埠,啟動tomcat,發現tomcat無法啟動,出現錯誤:LifecycleExce
Time of Update: 2014-12-12
標籤:linux 分區建立一個擴充分區:[[email protected] init.d]# fdisk /dev/sdbWARNING: DOS-compatible mode is deprecated. It‘s stronglyrecommended to switch off the mode (command ‘c‘) and change display units
Time of Update: 2014-12-12
標籤:c++c visual studio windows 線程 曾經很好奇線程、進程的美妙;曾經很喜歡Linux下的Top、ps、pstree美好,是否曾想見識Visual
Time of Update: 2014-12-12
標籤:linux kernel 嵌入式軟體 Linux 驅動模型初探3——device講device之前,我要引入一個比喻,這個比喻來自一個學長(z2007b)。driver是帥哥,device是美女,bus是紅娘,bus是提供device和driver配對的場所(方法?)。好吧,暫時先這樣定,現在要講的就是美女。1,老規則,先看看struce
Time of Update: 2014-12-12
標籤:橋接模式 網路 vmware linux 虛擬機器 步驟: 1、在工具列中的虛擬機器--》設定 --》網路介面卡: 在右邊的網路連接中選擇bridged(橋接模式)--》確定
Time of Update: 2014-12-12
標籤:io ar os 使用 sp for strong on 檔案 <Uinx 環境進階編程筆記> 以前經常遇到兩種I/O操作一類是f打頭的fopen, fread,
Time of Update: 2014-12-13
ubuntu14.04+mutt+msmtp 配置 linux 下命令列郵件用戶端,muttmsmtp安裝軟體 msmtp muttapt-get install -y msmtp mutt配置 msmtp安裝完成之後先配置 msmtp,預設的設定檔根據每個作業系統版本不一樣,通過msmtp --version 來查看。# msmtp --versionmsmtp version 1.4.31Platform: x86_64-pc-linux-gnuTLS/SSL library:
Time of Update: 2014-12-13
在CentOS上構建.net自動化編譯環境,centos.net 我們知道在Windows上我們很容易構建於MSBuild的自動化編譯環境,那麼在CentOS也是可以的,主要是需要Mono。 在這兒我們選擇Jenkins+Gitlab+Mono在CentOS 6.5構建的環境。 1. 安裝 Jenkins
Time of Update: 2014-12-13
ubuntu破解密碼方法,ubuntu破解密碼摘要: 開機按住任何鍵(shift)停住grub菜單,進入advanced option for ubuntu,出現的菜單中,游標移動至…(recovery mode)按E進入編輯,找到ro recovery nomodeset更改為rw single init=/b...- 開機按住任何鍵(shift)停住grub菜單,進入advanced option for
Time of Update: 2014-12-13
iptables,iptableslinux規則:網路系統管理員預定義的資料包過濾條件鏈:資料包傳播路徑,每條鏈中可以有多個規則,從第一條規則檢查起表:內建第三張表 filter:主要用於包過濾,只允許對資料報進行接收和丟棄,無法對資料包變更, nat:主要用於網路位址轉譯,Mangle:對指定包進行修改iptables對資料包的處理過程Iptables 指令文法:iptables 【-t tables】 command 【match】
Time of Update: 2014-12-13
Ubuntu12.04更新源ubuntu的源用來apt-get install會根據源中的url去尋找對應的軟體(guess),所以源的配置決定著你更新軟體的速度,甚至能否找到對應的命令(我就是在安裝一個命令發現404的時候才想起來更新的)。當前的系統的源的資訊儲存在/etc/apt/sources.list檔案中,當前系統的源如下(這個應該是ubuntu 12預設使用的):terryu@ubuntu:~/workplace/tbnet/trunk/tbsys$ grep -v "^#
Time of Update: 2014-12-13
Linux Red hat 5 DNS伺服器搭建(一)網域名稱快取服務器,hatdnsLinux Red hat 5 DNS伺服器多實驗詳細搭建 所需軟體包: › bind-9.3.3-7.el5.i386.rpm › 提供主要程式及相關檔案 › bind-utils-9.3.3-7.el5.i386.rpm › 提供對dns伺服器的測試載入器(如nslookup、dig等) › bind-chroot-9.3.3-7.el5.i386.rpm ›
Time of Update: 2014-12-13
Linux下搭建FTP伺服器Linux 下我們使用vsftp來作為我們的ftp server.Server OS : Redhat 6.31.檢查server上是否已經安裝了vsftpdrpm -qa | grep vsftpd2.假如沒有相應的vsftpd rpm包,我們需要下載安裝yum install vsftpd3.配置vsftpd設定檔。# ls /etc/vsftpd/ftpusers user_list vsftpd.conf
Time of Update: 2014-12-13
Ubuntu上配置nginx+php+fastcgi的流程這兩天需要在Ubuntu14.04上搭建nginx和php的環境,配置的過程中在fastcgi的問題上花了很多時間,網上的資料大多年久失修,於是決定將整個過程記錄下來,分享給大家。apt-get updateapt-get install nginxsudo /etc/init.d/nginx startsudo apt-get install php5-cli php5-cgi php5-fpm php5-mcrypt