2015年8月7日 星期五

Drupal and MariaDB

安裝以下套件
MariaDB
MariaDB-bench
MariaDB-devel
MariaDB-server
MariaDB-test
php-5.4.16
php-cli
php-common
php-gd
php-mcrypt
php-mysql
php-pdo
php-theseer-fDOMDocument

https://www.phpmyadmin.net/  download  phpMyAdmin-4.4.12-all-languages.tar.gz
將phpMyAdmin-4.4.12-all-languages.tar.gz 複製到 /var/www/html目錄下解壓縮
rename to phpMyAdmin,再將資料夾內的config.sample.inc.php rename to config.inc.php
用gedit 編輯此檔案
$cfg[ 'Servers' ][$i][ 'AllowNoPassword' ] = false;    //將false改成true
$cfg[ 'blowfish_secret' ] = ' ';  //在單引號內隨便輸入幾個字
改完即可在phpMyAdmin server 用root帳號不用密碼登入


http://rpm.pbone.net/index.php3/stat/4/idpl/26646085/dir/centos_7/com/php-mbstring-5.4.16-21.el7.x86_64.rpm.html download php-mbstring-5.4.16-21.el7.x86_64.rpm and run

http://drupaltaiwan.org/  download drupal-7.38.tar.gz and drupal-7.38.zh-hant.po
將drupal-7.38.tar.gz move to /var/www/html 目錄下解壓縮
將drupal-7.38.zh-hant.po move to /var/www/html/profiles/standed/translations/
到/var/www/html/sites/default/  create files資料夾
copy default.settings.php to settings.php (同個目錄下)

#systemctl enable mariadb.service
#systemctl start mariadb.service
#cd /var/www/html/sits/default/
#chown apache.apache files
#chown apache.apache setting.php
#restorecon -R /var/www/html
#systemctl restart httpd




沒有留言:

張貼留言