Time of Update: 2018-12-05
本文詳細描述了在Linux作業系統上安裝和配置“自適應通訊環境(ACE)”的過程和注意事項。文中的描述基於RedHat Linux 9作業系統和ACE 5.4版準備工作:1.確保你的Linux作業系統的開發環境(gcc、make……)是完整且可用的。2.在安裝ACE的過程中,可能需要root許可權,因此確保你擁有root帳戶的密碼。3.對於典型的Redhat9系統,autoconf程式的版本可能過低,你需要首先升級它。 升級的步驟如下:在控制台中輸入 autoconf
Time of Update: 2018-12-05
一,許可權:把檔案夾設定成可讀寫;二,設定pdo_mysql的完整路徑,根據你的實際情況設,完全複製可不行extension = /usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/pdo_mysql.so基本的操作方法基本的操作方法基本的操作方法基本的操作方法:::: 本文假設你的apahce安裝目錄為/usr/local/apache2,這些方法適合任何情況 apahce啟動命令: 推薦/usr/local/apache2
Time of Update: 2018-12-05
[root@rhes6 svn]# svn add 186svn: warning: cannot set LC_CTYPE localesvn: warning: environment variable LANG is ENsvn: warning: please check that your locale name is
Time of Update: 2018-12-05
轉自:http://rtxbc.iteye.com/blog/870160首先保證我們拿到的是最新代碼,運行Linux代碼 svn up Index/ 然後找出要撤銷的確切版本:Linux代碼 svn log --limit 10 Index/tpl/css/global.css 根據log懷疑是16976版本改壞的,比較一下:Linux代碼 svn diff -r 16975:16976 Index/tpl/css/global.css 發現16976有錯誤 撤銷16976
Time of Update: 2018-12-05
轉自:http://blog.163.com/yangzhanghui_job/blog/static/17957506220127171173225/1.建立一個檔案夾activeMQ mkdir /server2.授權 chmod 777
Time of Update: 2018-12-05
學習筆記:Linux的系統停止與重啟動命令詳解 來源: ChinaUnix部落格 日期: 2006.05.21 18:04 (共有0條評論) 我要評論 聲明:可以自由轉載本文,但請務必保留本文的完整性。作者:張子堅說明:本文所涉及樣本均在fedora
Time of Update: 2018-12-05
1、Linux是一個多使用者的作業系統。每個使用者登入系統後,都會有一個專用的運行環境。通常每個使用者預設的環境都是相同的,這個預設環境實際上就是一組環境變數的定義。使用者可以對自己的運行環境進行定製,其方法就是修改相應的系統內容變數。 2、常在/etc/profile檔案中修改環境變數,在這裡修改的內容是對所有使用者起作用的。 以下主要操作將在該檔案中進行。 3、如何添加環境變數。 例如添加“NAME=liheng” 。 在profile檔案的最後添加如下內容export
Time of Update: 2018-12-05
linux的scp命令2009-06-22 16:05linux 的 scp 命令 可以 在 linux 之間複製 檔案 和 目錄; ================== scp 命令 ================== scp 可以在 2個 linux 主機間複製檔案; 命令基本格式: scp [選擇性參數] file_source file_target ====== 從 本地 複製到 遠程 ====== * 複製檔案: * 命令格式:
Time of Update: 2018-12-05
本文摘自(偶有較小改動)《Linux 裝置驅動開發詳解》(宋寶華 編著;人民郵電出版社;),留作紀念。——Living Park 第14章 Linux終端裝置驅動14.1終端裝置 在Linux系統中,終端是一種字元型裝置。包括序列埠終端、偽終端和控制台終端。14.2終端裝置驅動結構 Linux核心中tty的層次包含tty核心、tty線路和tty驅動。操作:分配tty驅動 alloc_tty_driver();註冊tty驅動
Time of Update: 2018-12-05
曆時將近兩個月,終於化零為整,對《Linux裝置驅動程式》(3rd edition)中第三章scull驅動有了詳細的瞭解,下面對scull的驅動進行解析,方便以後的查看。一、建立字元驅動的步驟:1、獲得裝置號:int register_chrdev_region(dev_t first, unsigned int count, char *name);int alloc_chrdev_region(dev_t *dev, unsigned int firstminor, unsigned
Time of Update: 2018-12-05
方法一:linux 下tomcat開機自啟動修改Tomcat/bin/startup.sh 為:export JAVA_HOME=/usr/java/j2sdk1.4.2_08export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib/tools.jar:$JAVA_HOME/lib/dt.jar:.export PATH=$PATH:$JAVA_HOME/binexport
Time of Update: 2018-12-05
移植hello world 模組到TQ2440開發板1.準備核心,TQ2440開發板內建的linux-2.6.30.4_20100531.tar.bz2。2.放到自己建立的目錄/opt/guoqian/下,tar -jxvf linux-2.6.30.4_20100531.tar.bz23.進入解壓的核心目錄底下,執行make distclean.4.利用TQ2440內建的配置,執行cp config_EmbedSky_W43
Time of Update: 2018-12-05
1. 從http://www.apache.org/ 上下載apache_1.3.39.tar.gz,然後解壓縮的一個目錄,然後轉到apache_1.3.39目錄。2. 使用本地的gcc編譯這個版本,我用的是FC6上的gcc 4.1,運行:./ configuremake 完成後,不需要make install3. 然後建立一個新的編譯arm版本的目錄,然後在那個目錄下解壓縮apache_1.3.39.tar.gz,轉到該目錄下的apache_1.3.39,運行: export
Time of Update: 2018-12-05
#include <unistd.h>#include <sys/types.h>#include <sys/wait.h>#include <stdio.h>#include <errno.h>#include <math.h>int main(void){ pid_t child; if((child=vfork())==-1) //建立子進程 {
Time of Update: 2018-12-05
今天鬱悶死了,在虛擬機器上重裝了ubuntu系統,竟然ibus輸入框不知道跑到哪裡去了。於是卸載了,然後重裝,終於看見了那個小小的輸入鍵盤,可是竟然沒可選擇的IME。火大。直接卸載了ibus:apt-get remove ibus。然後就開始裝Google拼音的旅程。 1.下載源碼,通過如下命令下載,下載的東西在目前的目錄下sudo wget http://malu.googlecode.com/files/scim-googlepinyin.tar.gz2.解壓tar zxvf
Time of Update: 2018-12-05
#include <unistd.h>#include <sys/types.h>#include <errno.h>#include <stdio.h>#include <string.h>#include <stdlib.h>int main(){ int pipe_fd[2]; //建立管道標識符 pid_t pid; char r_buffer[100];
Time of Update: 2018-12-05
直接利用宿主機的核心編譯hello world 模組1.選擇一個工作目錄,我選擇/opt/guoqian/hellomod;mkdir -p /opt/guoqian/hellomod 2.然後用vim編輯hello.c,代碼如下:#include <linux/init.h>#include <linux/module.h>MODULE_LICENSE("Dual BSD/GPL");static int hello_init(void){
Time of Update: 2018-12-05
現在是網路社會,學linux不會tcp/ip,心裡老感覺空空的。所以也要認真好好學習這個東東了。實驗目的:實現用戶端發送,伺服器接收===========server===================#include <stdio.h>#include <stdlib.h>#include <errno.h>#include <string.h>#include <netdb.h>#include
Time of Update: 2018-12-05
#include <iostream>#include <string>#include <stdio.h>#include <stdlib.h>#include <fcntl.h>#include <string.h>using namespace std;int main(){ /*int fd; fd = open("/sddisk/tmpfile",O_RDWR|O_CREAT); if(fd==-
Time of Update: 2018-12-05
為了記錄學習驅動過程,自己簡單的做了筆記。某年某月,當自己成為驅動高手的時候,我再回過頭看看自己當時的想法。。。應該這種感覺是妙不可言的 So,come on!Everyday is nice! 關於基礎1.tar 可以用來備份關鍵資料,而 dd 則可以用來備份整顆 partition 或 整顆 disk2.vim區塊選擇(Visual Block)的功能3.set 這個指令除了會將環境變數列出來之外,其它我們的自訂變數,與所有的變數,都會被列出來喔4.uptime查看開機已耗用時間5.