In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Original operating environment:
Operating system: Windows Server 2003
Database system: MySQL Server 5.0,
Web server software: Apache2
Programming language: PHP
Current operating environment:
Operating system: CentOS release 6.8 (Final)
Database system: MySQL Server 5.5.52
Web server software: Apache/2.2.15 (Unix)
Programming language: PHP
Migration steps:
1. Migration program: first, make the exam folder of the examination system under Windows into a compressed package, then upload it to the html directory under Apache of the Linux server and decompress it; command: unrar x exam.rar
two。 Migrate the database: first pack the exam database file into a compressed package, then upload it to the Linux mysql directory and extract it
3. Find the configuration file to modify the database password.
Run the test:
Question 1: this file is not writable: / var/www/html/exam/cache/label_cache/index_0_0_17_0_0_b9f50.php
Solve problem 1: [root @ sky9896cache] # chmod-R aquiw label_cache/
Question 2: garbled code appears on the front page
Resolve problem 2:
[root@sky9896data] # vi config.php
$webdb ['admin_url'] =' http://117.*.*.*/exam/admin'; # modify address
$webdb ['www_url'] =' http://117.*.*.*/exam';
Question 3: this file is not writable: / var/www/html/exam/cache/adminlogin_logs.php
Solve problem 3: [root @ sky9896exam] # chmod-R aquiw cache/
Question 4:Table 'qb_config' is read only
1036 this file is not writable: / var/www/html/exam/data/config.php
Solve problem 4: [root @ sky9896exam] # chmod-R aquiw data/
Question 5: database connection error: UPDATEqb_memberdata SETlastvist='1497402735',lastip='182.105.0.143',oltime=oltime+'34' WHERE uid='1' Table 'qb_memberdata' is read only 1036
Solve problem 5:
[root@sky9896 mysql] # chown-R mysql:mysql exam
[root@sky9896 mysql] # service mysqld restart
Problem 6: serious warning, / var/www/html/exam/upload_files this directory is not writable. Please use FTP to change its property to 0777 writable to display drwxr-xr-x 7 root root 4096 June 14 08:11 upload_files.
Solve problem 6: [root@sky9896 exam] # chmod-R 0777 upload_files/
[root@sky9896 exam] # ll
Drwxrwxrwx 7 root root 4096 June 14 08:11 upload_files
Solve all problems, access is normal.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.