Requirement:
httpd
php php-devel php-mysql
mysql mysql-server
frontaccount
1. 安裝相依套件
yum install httpd php php-devel php-mysql mysql mysql-server
2. 修改PHP相關參數
vi /etc/php.ini
session.auto_start = off
magic_quotes_gpc = off
register_globals = off
/etc/init.d/httpd restart
chkconfig httpd on
/etc/init.d/mysqld restart
chkconfig mysqld on
wget http://sourceforge.net/projects/frontaccounting/files/FrontAccounting-2.3/2.3.2/frontaccount-2.3.2.zip/download
4. 安裝FrontAccounting
mkdir /var/www/html/account
cp frontaccount-2.3.2.zip /var/www/html/account/
cd /var/www/html/account
unzip frontaccount-2.3.2.zip
chown -R apache /var/www/html/account/
5. 建立FrontAccounting使用的資料庫
mysqladmin -u root password '管理者密碼'
mysql -u root -p
mysql> create database account;
mysql> grant all on account.* to front@localhost identified by 'front';
mysql> flush privileges;
mysql> quit
6. 配置FrontAccounting
http://FrontAccounting server URL/account/
6-1 環境偵測是否符合
6-2 輸入資料庫參數
6-3 輸入網站相關參數
6-4 配置完成
7. 驗證,登入
參考文章:
http://sourceforge.net/projects/frontaccounting/
http://frontaccounting.com/wb3/pages/download/installation-guide.php
沒有留言:
張貼留言