锘??xml version="1.0" encoding="utf-8" standalone="yes"?>
gptr
with char*
鍏ㄩ儴緙栬瘧瀹夎錛屽畨瑁呭埌mcrypt鐨勬椂鍊欏嚭鐜頒簡闂
./config
checking for libmcrypt - version >= 2.5.0... no
*** Could not run libmcrypt test program, checking why...
*** The test program compiled, but did not run. This usually means
*** that the run-time linker is not finding LIBMCRYPT or finding the wrong
*** version of LIBMCRYPT. If it is not finding LIBMCRYPT, you'll need to set your
*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point
*** to the installed location Also, make sure you have run ldconfig if that
*** is required on your system
***
*** If you have an old version installed, it is best to remove it, although
*** you may also be able to get things to work by modifying LD_LIBRARY_PATH
***
configure: error: *** libmcrypt was not found
瑙e喅鏂規硶濡備笅錛氳繍琛?export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
鐒跺悗make 錛?make install
瀹屾垚
CentOS 5.x 緋葷粺涓嬩嬌鐢▂um 鍗囩駭php鍒?.2.x 鏈鏂逛究鏂規硶
鍏堝皢浠ヤ笅鍦板潃瀵煎叆銆?/p>
# rpm --import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
# vi /etc/yum.repos.d/CentOS-Base.repo
澧炲姞涓嬮潰淇℃伅
[utterramblings]
name=Jason's Utter Ramblings Repo
baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka
鎵ц鍛戒護錛岃嚜鍔ㄥ崌綰с?br />
yum update php -y
yum install libmcrypt -y
yum groupinstall "Web Server"
yum groupinstall "Mail Server"
yum groupinstall "MySQL Database"
yum groupinstall "Development Tools"
yum groupinstall "GNOME Desktop Environment"
yum groupinstall "X Window System"
yum groupinstall "KDE (K Desktop Environment)"
yum groupremove
rpm -e *
"error: %preun(*) scriptlet failed, exit status 1"
瑙e喅鏂規硶涓哄姞 --noscripts 鏍囪鏉ュ垹闄PM銆?--noscripts 鐩稿綋浜?--nopre --nopost --nopreun --nopostun銆?/font>
title centos57-text
find --set-root /centos57/vmlinuz
kernel /centos57/vmlinuz text
initrd /centos57/initrd.img
title pbr
rootnoverify (hd0,3)
chainloader +1
title syslinux
find --set-root /syslinux.BIN
chainloader /syslinux.BIN
--ks
#Use CDROM installation media
#cdrom
harddrive --partition=/dev/hd3 --dir=/
#System bootloader configuration
bootloader --location=none
bootloader --location=mbr --driveorder=sda,sdb
title elastix
find --set-root /menu.lst
kernel /elastix/vmlinuz ks=hd:sdb4:/elastix/ks_default.cfg ramdisk_size=8192
initrd /elastix/initrd.img
title centos6livecd
kernel /LiveOS/vmlinuz0 root=live:CDLABEL=GRUB rootfstype=auto ro liveimg quiet nodiskmount nolvmmount rhgb vga=791 rd.luks=0 rd.md=0 rd.dm=0
initrd /LiveOS/initrd0.img