原创 remove CMakeCache.txt and rerun cmake.on Redhat and derivates it is ncurses-devel.

-- Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)CMake Error at cmake/readline.cmake:83 (MESSAGE):

原创 make: Nothing to be done for `unix'

編譯freetype的時候報錯make: Nothing to be done for `unix'解決方法make cleanmake make install

原创 httpd: Could not reliably determine the server's fully qualified domain name

[root@localhost var]# /etc/init.d/apache starthttpd: Could not reliably determine the server's fully qualified domain na

原创 我的友情鏈接

51CTO博客開發

原创 腳本實現記錄所有登錄用戶的信息,包括用戶名、登錄時間和登錄位置

有這樣一個需求,記錄所有登錄用戶的信息,包括用戶名、登錄時間和登錄位置到/var/log/login,我這裏寫了兩個腳本來實現。需求分析:用戶的話無非就是root或者是普通用戶;我可以用whoami或者echo $USER命令來查看當前的登

原创 linux系統開機過程描述

本文描述linux系統開機過程,屬於個人理解範疇,如果文中表述有誤請大家批評指正!計算機開機之後,首先要加載BIOS(基本輸入輸出系統)信息,BIOS包含了很多重要的信息,包括CPU信息,設備啓動順序信息,硬盤信息,內存信息,時鐘信息等。

原创 rhel6鏡像下載地址 32位,64位

32bit:ed2k://|file|rhel-server-6.0-i386-dvd.iso|2931056640|503184dff4dd37542eee6e57f4a85341|h=azsa3gqbngp23ujbqeyc3ghd4w

原创 env: zh_CN.GB2312:: No such file or directory

安裝apache的時候編譯報錯,真的不知原因[root@localhost httpd-2.2.23]# make Making all in srclibmake[1]: Entering directory `/usr/src/http

原创 /usr/src/php-5.4.6/ext/gd/gd.c:1582: error: too many arguments to function ;zend_list_insert‘

/usr/src/php-5.4.6/ext/gd/gd.c:1582: error: too many arguments to function ;zend_list_insert‘解決這個問題vi /usr/src/php-5.4.6

原创 /etc/fstab和/etc/mtab的區別!

etc/fstab文件的作用 記錄了計算機上硬盤分區的相關信息,啓動 Linux 的時候,檢查分區的 fsck 命令,和掛載分區的 mount 命令,都需要 fstab 中的信息,來正確的檢查和掛載硬盤。 /etc/mtab文件的作

原创 rpmdb: unable to join the environment

在使用yum install安裝軟件時候報錯rpmdb: unable to join the environment   error: db4 error(11) from dbenv->open: Resource temporaril

原创 You are *required* to use the date.timezone setting or the date_default_timezone_set() function.

2013/09/18 15:23:08 [error] 4023#0: *2 FastCGI sent in stderr: "PHP message: PHP Warning: phpinfo(): It is not safe to r

原创 apache 編譯報錯:undefined reference to `apr_array_clear'

apache 編譯報錯:modules/http/.libs/libmod_http.a(byterange_filter.o): In function `ap_set_byterange':byterange_filter.c:(.te

原创 NFS for LINUX

一、NFS的原理介紹NFS爲Network File System的縮寫,可以用於不用的機器,不同操作系統之間的文件共享。與samba相比,NFS更快捷方便。簡單的講,可以把NFS服務器當做是一個文件服務器,NFS服務器可以讓PC機將遠程的

原创 LAMP架構編譯安裝過程中遇到的錯誤

LAMP架構編譯安裝過程中遇到的錯誤做運維工作一年了,中間遇到了 各種各樣的錯誤,可惜的是沒有將這些錯誤積累下來形成自己的文檔,現在開始記錄,從最簡單的開始,記錄一下我在編譯安裝LAMP架構過程中遇到的錯誤吧。編譯安裝php-5.3