CentOS 安裝 Joomla 3.0.3

有鑑於網站升級特別找了一個穩定的WebSite後台管理套件Joomla 3.0.3
以下為安裝流程,作為筆記。

主要步驟如下:
1. Install httpd、php、mysqld
2. 設定httpd、mysqld
3. Install Jommla

1. Install httpd、php、mysqld
預設這些套件在CentOS 6.3上都已經有了,可直接使用yum安裝
#yum  install  httpd  php  php-devel  php-mysql  php-mcrypt php-mbstring mysql  mysql-server
原廠網站上有提到安裝Joomla 前必要的套件版本
http://www.joomla.org/about-joomla/technical-requirements.html
主要的兩樣如下:
php 5.3.1 +
mysql 5.1 +
檢查php版本
#rpm -qa php
php-5.3.3-14.el6_3.i686
檢查mysql版本
#rpm -qa mysql
mysql-5.1.67-1.el6_3.i686

2. 設定mysql、httpd

設定httpd hostname
#vi /etc/hosts
******************************************
192.168.10.100     www1.example.com
192.168.10.100     www2.example.com
******************************************
建立Web Site目錄
#mkdir -p /var/www/site1

設定mysql
啟動服務
#/etc/init.d/mysqld start
設定root password
#mysqladmin -u root password yourpassword
登入mysql
#mysql -u root -p
Enter password:
建立資料庫
mysql > create database www1;
mysql > grant all privileges on www1.* to www1@localhost  identified by ‘yourpassword’;
mysql > quit;
測試登入www1
#mysql -u www1 -p
Enter password:
設定開機啟動mysqld
#chkconfig mysqld on

設定httpd
因為我的環境需要用到Virtual Host
#vi /etc/httpd/conf.d/www1.conf
******************************************
NameVirtualHost 192.168.10.100:80
<VirtualHost 192.168.10.100:80>
ServerName www1.exanmple.com
DocumentRoot /var/www/site1
CustomLog    /var/log/httpd/site1
</VirtualHost>
*****************************************
#/etc/init.d/httpd start
設定開機啟動httpd
#chkconfig httpd on

3.Install Joomla
台灣Joomla
http://www.joomla.org.tw/news/joomla-official-news
目前可以看到的是3.0.3
#wet http://joomlacode.org/gf/download/frsrelease/17965/78414/Joomla_3.0.3-Stable-Full_Package.zip
解壓縮
#cd /var/www/site1
#unzip /root/Joomla_3.0.3-Stable-Full_Package.zip
更改檔案權限為apache
#chown -R apache.apache *
基本上這樣已經算是大功告成了,再確認一下selinux 是否關閉
#vi /etc/selinux/config
******************************************
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
#       enforcing – SELinux security policy is enforced.
#       permissive – SELinux prints warnings instead of enforcing.
#       disabled – SELinux is fully disabled.
SELINUX=disabled

******************************************

透過瀏覽器登入Joomla

填入網站名稱、網站描述、管理者資訊

填入當初建立的mysql 資訊,包含帳號、密碼、資料庫名稱
我這邊沒有開啟FTP做檔案上傳的需求,因為Joomla有很多套件透過http的方式即可安裝模組

最後確認configuration.php是否可以寫入,若無法寫入請把產出來的內容貼上,大功告成。

 

machine rape hentai hentaihug.com read hentai magna
ladki chodna pornude.mobi bluefilm com video
hindi video new pornozavr.me gora aur kala
نيك عنيف مترجم 24h-porn.net ينيكها وهي نايمه
يشبفسثء freebigassporn.org فيلم اجنبى قليل الادب
elizabeth olsen bf blondeporntrends.com malayalam sexi
chudai karwai indiandesiclips.com bhabisex.com
haryana village sex video ganstagirls.net wwwxnxcom
bf sexy vidio indiantubetv.com bhaagamathie songs naa songs
open sex free brownporntube.info open dance
bp hd sexy palimas.mobi xexi movie
malayalifuck dunato.mobi sex vedios malayalam
sexy film video hindi mai collegeporntrends.com tamilplay.com 2015 movies download
hot romantic sex porn alohaporn.net xnxx japnese
دانا فسبولى arabicaporn.com مصريه متناكه