linuxÏÂapache+php°²×°³£¼ûÎÊÌâ
configure: error: Unable to find libgd.(a|so)
Èç¹ûʹÓõÄÊÇubuntu»òdebian¾ÍºÜ¼òµ¥ÁË£¬Ö±½Ósudo apt-get install apache2
libapache2-mod-php5 php5 php5-gd ¾Í»ù±¾Éϸ㶨£¬µ«ÊÇÓÃÔ´´úÂë°²×°»¹ÊǺÜÂé·³¡«
wget http://www.boutell.com/gd/http/gd-2.0.11.tar.gz
tar zxvf gd-2.0.11.tar.gz
cd gd-2.0.11
sudo ./configure --prefix=/usr/local/gd2
sudo make
sudo make install
ÔÙphp:~/:./configure …… --with-gd=/usr/local/gd2 ……
ÒÔÏÂÊÇ×ªÔØµÄ,¶øÇÒ¶¼ÊÇ»ùÓÚyum install»òÕßapt-getµÄ¡£
1) Configure: error: xml2-config not found. Please check your libxml2
installation.
Solutions :
Quote:
#yum install
libxml2
libxml2-devel
(For Redhat & Fedora)
# aptitude install
lib
xml2
-dev (For ubuntu)
2) Checking for pkg-config… /usr/bin/pkg-config
configure: error: Cannot find OpenSSL’s <evp.h>
Solutions :
Quote:
#yum install
openssl
openssl-devel
3) Configure: error: Please reinstall the BZip2 distribution
Solutions :
Quote:
# yum install
bzip2
bzip2-devel
4) Configure: error: Please reinstall the libcurl distribution -
easy.h should be in <curl-dir>/include/curl/
Solutions :
Quote:
# yum install
curl
curl-devel (For Redhat & Fedora)
# install libcurl4-gnutls-dev (For
Ubuntu)
5) Configure: error: libjpeg.(also) not found.
Solutions :
Quote:
# yum install
libjpeg
libjpeg-devel
6) Configure: error: libpng.(also) not found.
Solutions :
Quote:
# yum install
libpng
libpng-devel
7) Configure: error: freetype.h not found.
Solutions :
Quote:
#yum install freetype-devel
8) Configure: error: Unable to locate gmp.h
Solutions :
Quote:
# yum install gmp-devel
9) Configure: error: Cannot find MySQL header files under /usr.
Note that the MySQL client library is not bundled anymore!
Solutions :
Quote:
# yum install mysql-devel
Ïà¹ØÎĵµ£º
×ÜÀÀ
ÓÃiptables -ADC À´Ö¸¶¨Á´µÄ¹æ
Ôò
£¬-AÌí¼Ó -Dɾ³ý -C ÐÞ¸Ä
iptables - [RI] chain rule num rule-specification[option]
ÓÃiptables - RI ͨ¹ý¹æÔòµÄ˳ÐòÖ¸¶¨
iptables -D chain rule num[option]
ɾ³ýÖ¸¶¨¹æÔò
iptables -[LFZ] [chain][option]
ÓÃiptables -LFZ Á´Ãû [Ñ¡Ïî]
iptables -[NX] chain
ÓÃ -NX ......
http://www.myzqu.com/viewthread.php?tid=56258&extra=page%3D1%26amp;filter%3Dtype%26amp;typeid%3D199
linux, FTP, ´î½¨·½·¨, ·þÎñÆ÷
½ñÌì¸úͬѧÃÇ˵ÏÂÔõô´î½¨Ð£Ô°FTP£¬ÒÔ´ËÀ´¼ÓǿУÄÚ×ÊÔ´Á÷ͨ£¬ÔÚÕâ¸öÍøÂç×´¿öÈÃÈË×¥¿ñµÄ½ñÌ죬ÏàÐźÜÓбØÒª¡£¡£¡£ ´ó¼Ò¿´ÁËÌû×ӾͿÉÒԴ×Ô¼ºµÄFT ......
ÎÒÃÇÏÈдһ¸ö¼òµ¥µÄ½Å±¾£¬Ö´ÐÐÒÔºóÔÙ½âÊ͸÷¸ö±äÁ¿µÄÒâÒå
¡¡¡¡
¡¡¡¡# touch variable
¡¡¡¡# vi variable
¡¡¡¡
¡¡¡¡½Å±¾ÄÚÈÝÈçÏ£º
¡¡¡¡
¡¡¡¡#!/bin/sh
¡¡¡¡echo "number:$#"
¡¡¡¡echo "scname:$0"
¡¡¡¡echo "first :$1"
¡¡¡¡echo "second:$2"
¡¡¡¡echo "argume:$@"
¡¡¡¡
¡¡¡¡±£´æÍ˳ö
¡¡¡¡
¡¡¡¡¸³Óè½Å±¾ ......
½ñÌì±»ÅóÓÑÎʼ°“LinuxÏ¿ÉÒÔÌæ»»ÔËÐÐÖеijÌÐòô£¿”£¬ÒÔǰÒÀÏ¡¼ÇµÃLinuxÏÂÊÇ¿ÉÒԵ썶øWindows¾Í²»Èã©£¬ÓÚÊÇËæ¿Ú´ðµÀ“OK”¡£½á¹ûÅóÓÑ·¢À´Ò»¸öÖ´Ðнá¹û£º£¨testÕýÔÚÔËÐÐÖУ©
# cp test2 test
cp: cannot create regular file `test': Text file busy
¿´ÆðÀ´ÊdzÌÐò±»Õ¼Óã¬ÎÞ·¨¸²¸Ç¡£ÓÚÊÇ×Ô¼ºÓÖÔÙ× ......