2014年8月1日 星期五

[研究] phpSysInfo 3.1.14 快速安裝程式(tar.gz)(CentOS 7.0 x64)

[研究] phpSysInfo 3.1.14 快速安裝程式(tar.gz)(CentOS 7.0 x64)

2014-08-01
phpSysInfo 是以網頁方式查詢主機系統資訊的系統

phpSysInfo 官方網站:
http://phpsysinfo.sourceforge.net/

快速安裝程式

#!/bin/bash
echo -e "\033[31m"
echo -e "Program : phpsysinfo3.1.14_centos7.0x64.sh "
echo -e "phpSysInfo 3.1.14 Install Shell Script (CentOS 7.0 x86_64)"
echo -e "by Shau-Rong Lu 2014-08-01 "
echo -e "\033[0m"

yum  -y install httpd php php-mbstring php-xml  wget
wget https://github.com/phpsysinfo/phpsysinfo/archive/v3.1.14.tar.gz
tar  zxvf  v3.1.14.tar.gz  -C  /var/www/html/
mv /var/www/html/phpsysinfo-3.1.14  /var/www/html/phpsysinfo
cp  /var/www/html/phpsysinfo/config.php.new  /var/www/html/phpsysinfo/config.php
cp  /var/www/html/phpsysinfo/phpsysinfo.ini.new  /var/www/html/phpsysinfo/phpsysinfo.ini
sed -i -e "s@DEFAULT_LANG=\"en\"@DEFAULT_LANG=\"tw\"@"  /var/www/html/phpsysinfo/phpsysinfo.ini
grep DEFAULT_LANG /var/www/html/phpsysinfo/phpsysinfo.ini
systemctl restart httpd
firewall-cmd --permanent --add-service=http
systemctl restart firewalld
firefox http://localhost/phpsysinfo &

(完)



[研究] phpSysInfo 3.1.14 安裝(tar.gz)(CentOS 7.0 x64)
http://shaurong.blogspot.com/2014/08/phpsysinfo-3114-targzcentos-70-x64.html
http://download.ithome.com.tw/article/index/id/2362

[研究] phpSysInfo 3.1.7 安裝(tar.gz)(CentOS 6.4 x64)
http://shaurong.blogspot.com/2013/11/phpsysinfo-317-targzcentos-64-x64.html

[研究] phpSysInfo 3.1.14 安裝(tar.gz)(CentOS 6.3 x86)
http://shaurong.blogspot.com/2013/02/phpsysinfo-311centos-63-x86.html

[研究] phpSysInfo 3.0.11安裝(CentOS 6.0 x86)
http://shaurong.blogspot.com/2011/07/phpsysinfo-3011centos-60-x86.html

[研究] phpsysinfo 2.5.4 安裝(tar.gz)(CentOS 5.4 x86)
http://forum.icst.org.tw/phpbb/viewtopic.php?t=18002

沒有留言:

張貼留言