[研究] Joomla 3.2.1 快速安裝程式 (CentOS 6.5 x64)
2014-01-21
Joomla官方認可中文支援社群:
http://www.joomla.org.tw/
官網下載位置:
http://www.joomla.org/download.html
http://joomlacode.org/gf/download/frsrelease/19007/134333/Joomla_3.2.1-Stable-Full_Package.zip
資料庫名稱:JoomlaDB
資料庫帳號:JoomlaUser
資料庫密碼:JoomlaPassword
可以依據自己喜好變更
# joomla3.2.1_centos6.5x64_install.sh
if [ "`grep SELINUX=disabled /etc/selinux/config`" == "" ]; then
/usr/sbin/setenforce 0
getenforce
sed -i -e "s@SELINUX=enforcing@#SELINUX=enforcing@" /etc/selinux/config
sed -i -e "s@SELINUX=permissive@#SELINUX=permissive@" /etc/selinux/config
sed -i -e "/SELINUX=/aSELINUX=disabled" /etc/selinux/config
fi
service iptables stop
chkconfig iptables off
yum -y install mysql mysql-server httpd php php-mysql wget php-mbstring php-gd
chkconfig httpd on
chkconfig mysqld on
service httpd restart
service mysqld restart
wget http://joomlacode.org/gf/download/frsrelease/19007/134333/Joomla_3.2.1-Stable-Full_Package.zip
mkdir /var/www/html/joomla
unzip Joomla_3.2.1-Stable-Full_Package.zip -d /var/www/html/joomla
mysql -e "create database JoomlaDB"
mysql -e "show databases; "
mysql -e "grant all on JoomlaDB.* to JoomlaUser@localhost identified by 'JoomlaPassword'; "
mysql -e "flush privileges; "
mysql -e "use mysql; select Host,User,Password from user; "
touch /var/www/html/joomla/configuration.php
chmod a+w /var/www/html/joomla/configuration.php
firefox http://localhost/joomla/installation &
echo "When you finish Web-based Install, Press any key to continue ..."
read
(下圖) 按下橘色 [移除安裝資料夾] 按鈕無用
手動刪除安裝目錄
rm -fr /var/www/html/joomla/installation
(完)
[研究] Joomla 3.2.1 快速安裝程式 (CentOS 6.5 x64)
http://shaurong.blogspot.tw/2014/01/joomla-321-centos-65-x64.html
[研究] Joomla 1.7.3 快速安裝程式 (CentOS 6.2 x86)
http://forum.icst.org.tw/phpbb/viewtopic.php?t=21279
[研究] Joomla 1.5.22 快速安裝程式 (CentOS 5.5 x86)
http://forum.icst.org.tw/phpbb/viewtopic.php?t=19285
[研究] Joomla 1.6.0 快速安裝程式 (Fedora 14 x86)
http://forum.icst.org.tw/phpbb/viewtopic.php?t=19321
沒有留言:
張貼留言