Install MyBB on CentOS 5.5
# yum install php-xml
- Download myBB, unzip it (I renamed the folder to ‘forum’), and upload it into the /var/www/html/forum directory.
# cd /var/www/html/forum/inc
# cp config.default.php config.php
# chmod 666 config.php
# chmod 666 settings.php
# cd /var/www/html/forum
# chmod 777 cache
# chmod 777 cache/themes
# chmod 777 uploads
# chmod 777 uploads/avatars
# chmod 777 languages
# chmod 777 admin/backups
- Now set up MySQL:
# mysql -u -root -p
CREATE DATABASE myBB_db;
CREATE USER 'myBB_user'@'localhost' IDENTIFIED BY 'asecurepassword';
GRANT ALL PRIVILEGES ON myBB_db.* to 'myBB_user'@'localhost';
FLUSH PRIVILEGES;
EXIT;
Setup myBB. In my case, I typed in 192.168.1.25/forum/install/ and followed the instructions.
Remove the install/ folder after installation is complete.
ไม่มีความคิดเห็น:
แสดงความคิดเห็น