先進到軟體安裝
mariadb-1:5.5.35
mariadb-bench-1:5
mariadb-devel-1:5
mariadb-server
mariadb-test
# systemctl enable mariadb.service
# systemctl start mariadb.service
# mysql -u root -p
web server部分:
進到軟體 安裝
php-5.4.16
php-cli
php-common
php-gd
php-mcrypt
php-mysql
php-pdo
php-theseer-fDOMDocument
php-theseer-fDOMDocument
phpMyAdmin download phpMyAdmin-4.4.12-all-languages.tar.gz
將phpMyAdmin-4.4.12-all-languages.tar.gz 解壓縮到 /var/www/html目錄下
# systemctl restart httpd.service //在重開一次
將/var/www/html/phpMyAdmin內的config.sample.inc.php 改成 config.inc.php
並用gedit開啟
在裡面會看到
$cfg[ 'blowfish_secret' ] = ' '; //在單引號內隨便輸入幾個字
$cfg[ 'Servers' ][$i][ 'AllowNoPassword' ] = false; //將false改成true
在網頁輸入localhost/phpMyAdmin進入phpMyAdmin的頁面
因為上面$兩行以至於不用輸入密碼,只需在帳號的地方輸入root就可以進入
進入後將後四個使用者留下並更改密碼,其他刪除。
Drupal Taiwan 正體中文支援站 下載 Drupal 7.38 以及 7.38的中文化
打開drupal tar檔裡的drupal資料夾裡的所有檔案移至/var/www/html/
在網頁輸入localhost/phpMyAdmin進到phpMyAdmin ,在資料庫的地方 建立一個叫drupal,編碼
為utf8_general_mysql500的資料庫
將drupal-7.38.zh-hant.po(中文化)移至 /var/www/html/profiles/standed/translations/
到/var/www/html/sites/default/ 裡新增 files資料夾
copy default.settings.php to settings.php (同個目錄下)
將drupal-7.38.zh-hant.po(中文化)移至 /var/www/html/profiles/standed/translations/
到/var/www/html/sites/default/ 裡新增 files資料夾
copy default.settings.php to settings.php (同個目錄下)
在使用者裡面新增叫drupal的使用者,主機的部分改為"主機",登錄資訊的部分輸入完之後先進行下一步後再將"權限"全部開啟
# cd /var/www/html/sits/default/
# chown apache.apache files //應drupal設定要求將權限改成apache
# chown apache.apache setting.php
# restorecon -R /var/www/html
# systemctl restart httpd.service
# cd /var/www/html/sits/default/
# chown apache.apache files //應drupal設定要求將權限改成apache
# chown apache.apache setting.php
# restorecon -R /var/www/html
# systemctl restart httpd.service
在網頁輸入localhost進入durpal的頁面設定,在設定資料庫的部分,使用者跟phpMyAdmin新增的使用者一樣
下一步下一步 就OK瞜~(大約~
沒有留言:
張貼留言