1. 程式人生 > 實用技巧 >Apache簡單配置(3)搭建Discuz 6.0.0論壇

Apache簡單配置(3)搭建Discuz 6.0.0論壇

Apache簡單配置(3)搭建Discuz 6.0.0論壇 案例: 企業需求 公司要為自己網站搭建一個論壇來實現廣大使用者的線上交流,內網採用的IP地址為192.168.1.200,要求伺服器滿足1000人同時線上訪問,管理員郵箱設定[email protected],首頁設定index.php。Apache根目錄和文件保持預設設定/var/www/html/bbs RHEL5.3 基本網路配置 一、 1、RHEL5 U3:如圖1 clip_p_w_picpath002 (如圖1) 2、#hostname //檢視當前主機的主機名:如圖2 clip_p_w_picpath003 (如圖2) 3、#vi /etc/sysconfig/network-scripts/ifcfg-eth0 編輯指定網路介面配置檔案:如圖3
clip_p_w_picpath005 (如圖3) 4、#vi /etc/sysconfig/network 通過配置檔案修改主機名:如圖4 clip_p_w_picpath007 (如圖4) 5、在終端字元介面修改其字型和中文字型大小:如圖5 clip_p_w_picpath009 (如圖5) 6、掛載光碟:如圖6 clip_p_w_picpath011 (如圖6) 7、檢視OpenSSH是否安裝:如圖7 clip_p_w_picpath013 (如圖7) 8#vi /etc/hosts 設定本地DNS解析檔案:如圖8 clip_p_w_picpath015 (如圖8) 9#vi /etc/resolv.conf 指定當前主機的DNS伺服器,最多可指定三個:如圖9 clip_p_w_picpath017 (如圖9) 10、關閉iptables防火牆:如圖10 clip_p_w_picpath018 clip_p_w_picpath020 clip_p_w_picpath022 clip_p_w_picpath024 (如圖10) 二、DNS簡單配置 1、vim /etc/named.conf clip_p_w_picpath026 2、vim /var/named/benet.com.zone
clip_p_w_picpath028
3、vim /var/named/1.168.192.in-addr.arpa.zone clip_p_w_picpath030 三、nslookup檢視 clip_p_w_picpath031 四、Apache簡單配置 1、HTTPD安裝 httpd-2.2.3-11.el5.i386.rpm httpd-devel-2.2.3-11.el5.i386.rpm httpd-manual-2.2.3-11.el5.i386.rpm system-config-httpd-1.3.3.1-1.el5.noarch.rpm [[email protected] Server]# ls -l | grep httpd -r--r--r-- 55 root root 1270589 2008-12-11 httpd-2.2.3-22.el5.i386.rpm -r--r--r-- 63 root root 151651 2008-12-11 httpd-devel-2.2.3-22.el5.i386.rpm -r--r--r-- 55 root root 852783 2008-12-11 httpd-manual-2.2.3-22.el5.i386.rpm -r--r--r-- 148 root root 611542 2007-11-27 system-config-httpd-1.3.3.3-1.el5.noarch.rpm [
[email protected]
Server]# rpm -ivh --aid httpd-2.2.3-22.el5.i386.rpm warning: httpd-2.2.3-22.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing... ########################################### [100%] 1:httpd ########################################### [100%] [[email protected] Server]# rpm -ivh --aid httpd-devel-2.2.3-22.el5.i386.rpm warning: httpd-devel-2.2.3-22.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 error: Failed dependencies: apr-devel is needed by httpd-devel-2.2.3-22.el5.i386 apr-util-devel is needed by httpd-devel-2.2.3-22.el5.i386 [[email protected] Server]# rpm -ivh --aid apr-devel-1.2.7-11.i386.rpm warning: apr-devel-1.2.7-11.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing... ########################################### [100%] 1:apr-devel ########################################### [100%] [[email protected] Server]# rpm -ivh --aid apr-util-devel-1.2.7-7.el5.i386.rpm warning: apr-util-devel-1.2.7-7.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing... ########################################### [100%] 1:apr-util-devel ########################################### [100%] [[email protected] Server]# rpm -ivh --aid httpd-devel-2.2.3-22.el5.i386.rpm warning: httpd-devel-2.2.3-22.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing... ########################################### [100%] 1:httpd-devel ########################################### [100%] [[email protected] Server]# rpm -ivh --aid httpd-manual-2.2.3-22.el5.i386.rpm warning: httpd-manual-2.2.3-22.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing... ########################################### [100%] 1:httpd-manual ########################################### [100%] [[email protected] Server]# rpm -ivh --aid system-config-httpd-1.3.3.3-1.el5.noarch.rpm warning: system-config-httpd-1.3.3.3-1.el5.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 error: Failed dependencies: libxslt-python is needed by system-config-httpd-1.3.3.3-1.el5.noarch [[email protected] Server]# rpm -ivh --aid libxslt-python-1.1.17-2.el5_2.2.i386.rpm warning: libxslt-python-1.1.17-2.el5_2.2.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing... ########################################### [100%] 1:libxslt-python ########################################### [100%] [[email protected] Server]# rpm -ivh --aid system-config-httpd-1.3.3.3-1.el5.noarch.rpm warning: system-config-httpd-1.3.3.3-1.el5.noarch.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing... ########################################### [100%] 1:system-config-httpd ########################################### [100%] [[email protected] Server]# cd /var/www/html/ [[email protected] html]# ls -l 總計 0 [[email protected] html]# echo hello.This is my web! > index.html [[email protected] html]# ls -l 總計 8 -rw-r--r-- 1 root root 22 09-27 17:28 index.html [[email protected] html]# chkconfig --level 35 httpd on [[email protected] html]# chkconfig --list httpd httpd 0:關閉 1:關閉 2:關閉 3:啟用 4:關閉 5:啟用 6:關閉 clip_p_w_picpath033 clip_p_w_picpath035 2、MYSQL安裝: 安裝MySQL的時候,特別要注意安裝順序哈~否則MySQL無法正常安裝成功,參考以下安裝順序就可以順序完成安裝 安裝第一個軟體包:perl-DBI-1.52-1.fc6.i386.rpm
安裝第二個軟體包:mysql-5.0.22-2.1.0.1.i386.rpm
安裝第三個軟體包:perl-DBD-MySQL-3.0007-1.fc6.i386.rpm
安裝第四個軟體包:mysql-server-5.0.22-2.1.0.1.i386.rpm 安裝第五個軟體包:mysql-devel-5.0.22-2.1.0.1.i386.rpm [[email protected] Server]# ls -l | grep mysql -r--r--r-- 91 root root 16035 2008-10-14 freeradius-mysql-1.1.3-1.4.el5.i386.rpm -r--r--r-- 99 root root 17668 2007-01-19 libdbi-dbd-mysql-0.8.1a-1.2.2.i386.rpm -r--r--r-- 99 root root 22570 2007-01-19 mod_auth_mysql-3.0.0-3.1.i386.rpm -r--r--r-- 117 root root 4347498 2008-04-02 mysql-5.0.45-7.el5.i386.rpm -r--r--r-- 99 root root 525622 2008-04-02 mysql-bench-5.0.45-7.el5.i386.rpm -r--r--r-- 99 root root 144863 2007-01-19 mysql-connector-odbc-3.51.12-2.2.i386.rpm -r--r--r-- 113 root root 2508069 2008-04-02 mysql-devel-5.0.45-7.el5.i386.rpm -r--r--r-- 99 root root 10143466 2008-04-02 mysql-server-5.0.45-7.el5.i386.rpm -r--r--r-- 99 root root 3522524 2008-04-02 mysql-test-5.0.45-7.el5.i386.rpm -r--r--r-- 69 root root 86519 2008-12-01 php-mysql-5.1.6-23.el5.i386.rpm -r--r--r-- 99 root root 28166 2007-01-18 qt4-mysql-4.2.1-1.i386.rpm -r--r--r-- 55 root root 11457 2008-12-02 rsyslog-mysql-2.0.6-1.el5.i386.rpm [[email protected] Server]# rpm -ivh --aid perl-DBI-1.52-2.el5.i386.rpm warning: perl-DBI-1.52-2.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing... ########################################### [100%] 1:perl-DBI ########################################### [100%] [[email protected] Server]# rpm -ivh --aid mysql-5.0.45-7.el5.i386.rpm warning: mysql-5.0.45-7.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing... ########################################### [100%] 1:mysql ########################################### [100%] [[email protected] Server]# rpm -ivh --aid perl-DBD-MySQL-3.0007-2.el5.i386.rpm warning: perl-DBD-MySQL-3.0007-2.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing... ########################################### [100%] 1:perl-DBD-MySQL ########################################### [100%] [[email protected] Server]# rpm -ivh --aid mysql-server-5.0.45-7.el5.i386.rpm warning: mysql-server-5.0.45-7.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing... ########################################### [100%] 1:mysql-server ########################################### [100%] [[email protected] Server]# rpm -ivh --aid mysql-devel-5.0.45-7.el5.i386.rpm warning: mysql-devel-5.0.45-7.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing... ########################################### [100%] 1:mysql-devel ########################################### [100%] clip_p_w_picpath037 3、啟動mysqld [[email protected] Server]# service mysqld restart 停止 MySQL: [失敗] 初始化 MySQL 資料庫: Installing MySQL system tables... OK Filling help tables... OK To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: /usr/bin/mysqladmin -u root password 'new-password' /usr/bin/mysqladmin -u root -h dns password 'new-password' See the manual for more instructions. You can start the MySQL daemon with: cd /usr ; /usr/bin/mysqld_safe & You can test the MySQL daemon with mysql-test-run.pl cd mysql-test ; perl mysql-test-run.pl Please report any problems with the /usr/bin/mysqlbug script! The latest information about MySQL is available on the web at http://www.mysql.com Support MySQL by buying support/licenses at http://shop.mysql.com [確定] 啟動 MySQL: [確定] [[email protected] Server]# mysqladmin -u root password wishes [[email protected] Server]# mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 3 Server version: 5.0.45 Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> exit Bye [[email protected] Server] [[email protected] Server]# chkconfig --level 35 mysqld on [[email protected] Server]# chkconfig --list mysqld mysqld 0:關閉 1:關閉 2:關閉 3:啟用 4:關閉 5:啟用 6:關閉 clip_p_w_picpath039 4、安裝PHP 安裝PHP軟體包 安裝第一個軟體包:php-common-5.1.6-15.el5.i386.rpm
安裝第二個軟體包:php-cli-5.1.6-15.el5.i386.rpm
安裝第三個軟體包:php-5.1.6-15.el5.i386.rpm
安裝第四個軟體包:php-pdo-5.1.6-15.el5.i386.rpm
安裝第五個軟體包:php-mysql-5.1.6-15.el5.i386.rpm [[email protected] Server]# ls -l | grep php -r--r--r-- 69 root root 1210093 2008-12-01 php-5.1.6-23.el5.i386.rpm -r--r--r-- 69 root root 33834 2008-12-01 php-bcmath-5.1.6-23.el5.i386.rpm -r--r--r-- 69 root root 2217057 2008-12-01 php-cli-5.1.6-23.el5.i386.rpm -r--r--r-- 69 root root 156876 2008-12-01 php-common-5.1.6-23.el5.i386.rpm -r--r--r-- 69 root root 41051 2008-12-01 php-dba-5.1.6-23.el5.i386.rpm -r--r--r-- 35 root root 524983 2008-12-01 php-devel-5.1.6-23.el5.i386.rpm -r--r--r-- 69 root root 118420 2008-12-01 php-gd-5.1.6-23.el5.i386.rpm -r--r--r-- 69 root root 54031 2008-12-01 php-imap-5.1.6-23.el5.i386.rpm -r--r--r-- 69 root root 36215 2008-12-01 php-ldap-5.1.6-23.el5.i386.rpm -r--r--r-- 69 root root 993525 2008-12-01 php-mbstring-5.1.6-23.el5.i386.rpm -r--r--r-- 69 root root 86519 2008-12-01 php-mysql-5.1.6-23.el5.i386.rpm -r--r--r-- 69 root root 40825 2008-12-01 php-ncurses-5.1.6-23.el5.i386.rpm -r--r--r-- 69 root root 52937 2008-12-01 php-odbc-5.1.6-23.el5.i386.rpm -r--r--r-- 69 root root 64933 2008-12-01 php-pdo-5.1.6-23.el5.i386.rpm -r--r--r-- 148 root root 364195 2007-10-05 php-pear-1.4.9-4.el5.1.noarch.rpm -r--r--r-- 69 root root 68137 2008-12-01 php-pgsql-5.1.6-23.el5.i386.rpm -r--r--r-- 69 root root 29155 2008-12-01 php-snmp-5.1.6-23.el5.i386.rpm -r--r--r-- 69 root root 139586 2008-12-01 php-soap-5.1.6-23.el5.i386.rpm -r--r--r-- 69 root root 97237 2008-12-01 php-xml-5.1.6-23.el5.i386.rpm -r--r--r-- 69 root root 57298 2008-12-01 php-xmlrpc-5.1.6-23.el5.i386.rpm [[email protected] Server]# rpm -ivh --aid php-common-5.1.6-23.el5.i386.rpm warning: php-common-5.1.6-23.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing... ########################################### [100%] 1:php-common ########################################### [100%] [[email protected] Server]# rpm -ivh --aid php-cli-5.1.6-23.el5.i386.rpm warning: php-cli-5.1.6-23.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing... ########################################### [100%] 1:php-cli ########################################### [100%] [[email protected] Server]# rpm -ivh --aid php-5.1.6-23.el5.i386.rpm warning: php-5.1.6-23.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing... ########################################### [100%] 1:php ########################################### [100%] [[email protected] Server]# rpm -ivh --aid php-pdo-5.1.6-23.el5.i386.rpm warning: php-pdo-5.1.6-23.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing... ########################################### [100%] 1:php-pdo ########################################### [100%] [[email protected] Server]# rpm -ivh --aid php-mysql-5.1.6-23.el5.i386.rpm warning: php-mysql-5.1.6-23.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186 Preparing... ########################################### [100%] 1:php-mysql ########################################### [100%] [[email protected] Server]# [[email protected] Server]# vim /var/www/html/index.php <?php phpinfo(); ?> ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ "/var/www/html/index.php" [新] 3L, 20C 已寫入 [[email protected] Server]# cat /var/www/html/index.php <?php phpinfo(); ?> [[email protected] Server]# service httpd restart 停止 httpd: [確定] 啟動 httpd: [確定] clip_p_w_picpath041 clip_p_w_picpath043 五、編輯Apache配置檔案httpd.conf 2、vim /etc/httpd/conf/httpd.conf 1)修改主配置檔案httpd.conf 設定Apache的根目錄為/etc/httpd 設定客戶端訪問超時時間為120秒 這兩個設定為系統預設——57行和68行 clip_p_w_picpath045 2)設定客戶端最大連線數為1000——104105 clip_p_w_picpath047 3)設定httpd監聽埠80,預設——134 clip_p_w_picpath049 4)設定管理員E-mail地址為[email protected]——251 設定WEB伺服器的主機名和監聽埠為www.benet.com:80——265 clip_p_w_picpath051 5)設定文件目錄為/var/www/html/bbs——281 clip_p_w_picpath053 6)允許所有人訪問/var/www/html/bbs目錄——306333 clip_p_w_picpath055 clip_p_w_picpath057 7)設定主頁檔案為index.php——391 clip_p_w_picpath059 8)設定伺服器的預設編碼為GB2312——747 clip_p_w_picpath061 9)重新啟動httpd [[email protected] Server]# mkdir /var/www/html/bbs (重要一步,不然不能啟動) [[email protected] Server]# service httpd restart 停止 httpd: [確定] 啟動 httpd: [確定] [[email protected] Server]# [[email protected] Server]# mkdir /var/www/html/bbs/ [[email protected] Server]# chmod -R 777 /var/www/html/bbs/ [[email protected] Server]# ls -l /var/www/html/ 總計 24 drwxrwxrwx 2 root root 4096 09-28 01:54 bbs -rw-r--r-- 1 root root 22 09-28 01:43 index.html -rw-r--r-- 1 root root 20 09-28 01:52 index.php [[email protected] Server]# [[email protected] ~]# cp -r /root/upload/* /var/www/html/bbs/ [[email protected] ~]# cd /var/www/html/bbs/ [[email protected] bbs]# ls -l 總計 804 drwxr-xr-x 2 root root 4096 09-27 17:48 admin -rw-r--r-- 1 root root 4026 09-27 17:48 admincp.php -rw-r--r-- 1 root root 6601 09-27 17:48 ajax.php -rw-r--r-- 1 root root 2497 09-27 17:48 announcement.php drwxr-xr-x 3 root root 4096 09-27 17:48 api drwxr-xr-x 3 root root 4096 09-27 17:48 archiver -rw-r--r-- 1 root root 7779 09-27 17:48 p_w_upload.php drwxr-xr-x 2 root root 4096 09-27 17:48 p_w_uploads -rw-r--r-- 1 root root 1950 09-27 17:48 campaign.php -rw-r--r-- 1 root root 2661 09-27 17:48 config.inc.php -rw-r--r-- 1 root root 106 09-27 17:48 crossdomain.xml -rw-r--r-- 1 root root 2544 09-27 17:48 digest.php -rw-r--r-- 1 root root 147 09-27 17:48 discuz_version.php -rw-r--r-- 1 root root 8045 09-27 17:48 eccredit.php -rw-r--r-- 1 root root 2613 09-27 17:48 faq.php -rw-r--r-- 1 root root 25214 09-27 17:48 favicon.ico drwxr-xr-x 6 root root 4096 09-27 17:48 forumdata -rw-r--r-- 1 root root 19721 09-27 17:48 forumdisplay.php -rw-r--r-- 1 root root 1262 09-27 17:48 frame.php drwxr-xr-x 21 root root 4096 09-27 17:48 p_w_picpaths drwxr-xr-x 6 root root 4096 09-27 17:48 include -rw-r--r-- 1 root root 10081 09-27 17:48 index.php drwxr-xr-x 3 root root 4096 09-27 17:48 install -rw-r--r-- 1 root root 5457 09-27 17:48 invite.php drwxr-xr-x 2 root root 4096 09-27 17:48 ipdata -rw-r--r-- 1 root root 1548 09-27 17:48 leftmenu.php -rw-r--r-- 1 root root 9496 09-27 17:48 logging.php -rw-r--r-- 1 root root 18839 09-27 17:48 magic.php -rw-r--r-- 1 root root 2619 09-27 17:48 medal.php -rw-r--r-- 1 root root 13889 09-27 17:48 member.php -rw-r--r-- 1 root root 34446 09-27 17:48 memcp.php -rw-r--r-- 1 root root 39326 09-27 17:48 misc.php drwxr-xr-x 2 root root 4096 09-27 17:48 modcp -rw-r--r-- 1 root root 4201 09-27 17:48 modcp.php -rw-r--r-- 1 root root 30398 09-27 17:48 my.php -rw-r--r-- 1 root root 908 09-27 17:48 plugin.php drwxr-xr-x 2 root root 4096 09-27 17:48 plugins -rw-r--r-- 1 root root 3156 09-27 17:48 pm.php -rw-r--r-- 1 root root 11655 09-27 17:48 post.php -rw-r--r-- 1 root root 3285 09-27 17:48 redirect.php -rw-r--r-- 1 root root 15034 09-27 17:48 register.php -rw-r--r-- 1 root root 3434 09-27 17:48 relatekw.php -rw-r--r-- 1 root root 5688 09-27 17:48 relatethread.php -rw-r--r-- 1 root root 734 09-27 17:48 robots.txt -rw-r--r-- 1 root root 5899 09-27 17:48 rss.php -rw-r--r-- 1 root root 10104 09-27 17:48 search.php -rw-r--r-- 1 root root 2038 09-27 17:48 seccode.php -rw-r--r-- 1 root root 3521 09-27 17:48 sitemap.php -rw-r--r-- 1 root root 7393 09-27 17:48 space.php -rw-r--r-- 1 root root 38488 09-27 17:48 stats.php -rw-r--r-- 1 root root 6043 09-27 17:48 tag.php drwxr-xr-x 6 root root 4096 09-27 17:48 templates -rw-r--r-- 1 root root 23248 09-27 17:48 topicadmin.php -rw-r--r-- 1 root root 1015 09-27 17:48 topic.php -rw-r--r-- 1 root root 9800 09-27 17:48 trade.php drwxr-xr-x 6 root root 4096 09-27 17:48 uc_client -rw-r--r-- 1 root root 976 09-27 17:48 video.php -rw-r--r-- 1 root root 27586 09-27 17:48 viewthread.php drwxr-xr-x 3 root root 4096 09-27 17:48 wap [[email protected] bbs]# cd [[email protected] ~]# chmod -R 777 /var/www/html/bbs/ [[email protected] ~]# service httpd restart 停止 httpd: [確定] 啟動 httpd: [確定] [[email protected] ~]# [[email protected] Server]# cd /var/www/html/bbs/ [[email protected] bbs]# chmod -R 777 templates/ [[email protected] bbs]# chmod -R 777 p_w_uploads/ [[email protected] bbs]# chmod -R 777 customavatars/ [[email protected] bbs]# chmod -R 777 forumdata/ [[email protected] bbs]# chmod -R 777 forumdata/templates/ [[email protected] bbs]# chmod -R 777 forumdata/cache/ [[email protected] bbs]# chmod -R 777 forumdata/threadcaches/ [[email protected] bbs]# chmod -R 777 forumdata/logs/ [[email protected]]#chmod-R777config.inc.php clip_p_w_picpath063 clip_p_w_picpath065 六、下載DISCUZ 6.0.0論壇原始碼並使用SSH客戶端軟體(上傳或下載) 官方地址http://www.discuz.net 1、使用SSH軟體(如圖1 複製uploads目錄裡所有檔案到/var/www/html/bbs目錄 clip_p_w_picpath066 如圖1 clip_p_w_picpath067 如圖2 clip_p_w_picpath069 如圖3 clip_p_w_picpath071 clip_p_w_picpath073 clip_p_w_picpath075 2、更改目錄許可權 chmod -R 777 /var/www/html/bbs/ clip_p_w_picpath076 3、安裝動網論壇 (1)IE輸入http://bbs.benet.com/install.php clip_p_w_picpath078 (2)點選我同意 clip_p_w_picpath080 clip_p_w_picpath082 (3)點選下一步 clip_p_w_picpath084 (4)輸入:資料庫密碼,並下一步 clip_p_w_picpath086 (5)點選下一步 clip_p_w_picpath088 (6)設定郵箱和密碼並點選下一步 clip_p_w_picpath090 (7)點選下一步 clip_p_w_picpath092 clip_p_w_picpath094 (8)點選完成 clip_p_w_picpath096 clip_p_w_picpath098 clip_p_w_picpath100 clip_p_w_picpath102 配置檔案在附件裡面: 如有不懂的地方,請call我!qq:357714938 mail:[email protected]