为了测试上传为何太慢!opkg+nginx+php+mysql系统环境确实太慢
- Wordpress建设
- 2018-07-28
- 91热度
- 0评论
12 S70mysqld stop
13 ./S70mysqld stop
14 ./S70mysqld
15 ./S70mysqld status
16 ./S70mysqld start
17 ./S70mysqld status
18 ./S70mysqld start
19 ll
20 vim S70mysqld
21 ll
22 cd ..
23 ll
24 find / -name mysql*
25 ll /overlay/upper/opt/var/mysql
26 ll
27 cd /overlay/upper/opt/var/mysql
28 ll
29 cd ..
30 ll /opt/var/mysql/
31 ll /opt/var/mysql/mysql/
32 cd ..
33 ll
34 ll var
35 l
36 cd var
37 ls
38 mv mysql mysql-------bak
39 ll /opt/etc/mysql
40 cd /opt/etc/mysql
41 l
42 vim my.cnf
43 cd
44 apt install maradb
45 apt find Ma*
46 apt find Maradb
47 apt install mariadb-server
48 cd /opt
49 ls
50 cd etc
51 ls
52 cd init.d/
53 l
54 cd /overlay/upper/opt/var/
55 l
56 /opt/etc/init.d/S70mysqld
57 /opt/etc/init.d/S70mysqld start
58 /opt/etc/init.d/S70mysqld status
59 /opt/etc/init.d/S70mysqld stop
60 /opt/etc/init.d/S70mysqld status
61 ll
62 mv mysql-------bak mysql
63 /opt/etc/init.d/S70mysqld start
64 /opt/etc/init.d/S70mysqld status
65 /opt/etc/init.d/S79php7-fpm stop
66 /opt/etc/init.d/S79php7-fpm status
67 /opt/etc/init.d/S79php7-fpm check
68 /opt/etc/init.d/S79php7-fpm star
69 /opt/etc/init.d/S79php7-fpm check
70 apt find php7*
71 apt install php7-fpm
72 apt find php7-mod-pdo-mysql php7-mod-zip php7-mod-xml php7-mod-sockets php7-mod-sqlite3 php7-mod-soap php7-mod-simplexml php7-mod-phar php7-mod-pdo-sqlite php7-mod-pdo php7-mod-openssl php7-mod-opcache php7-mod-mysqli php7-mod-mbstring php7-mod-json php7-mod-imap php7-mod-iconv php7-mod-hash php7-mod-gmp php7-mod-gettext php7-mod-gd php7-mod-ftp php7-mod-fileinfo php7-mod-exif php7-mod-dom php7-mod-curl php7-mod-ctype php7-mod-calendar
73 apt install php7-mod-pdo-mysql php7-mod-zip php7-mod-xml php7-mod-sockets php7-mod-sqlite3 php7-mod-soap php7-mod-simplexml php7-mod-phar php7-mod-pdo-sqlite php7-mod-pdo php7-mod-openssl php7-mod-opcache php7-mod-mysqli php7-mod-mbstring php7-mod-json php7-mod-imap php7-mod-iconv php7-mod-hash php7-mod-gmp php7-mod-gettext php7-mod-gd php7-mod-ftp php7-mod-fileinfo php7-mod-exif php7-mod-dom php7-mod-curl php7-mod-ctype php7-mod-calendar
74 ll
75 history
* resolve_conffiles: Existing conffile /opt/etc/php.ini is different from the conffile in the new package. The new conffile will be placed at /opt/etc/php.ini-opkg.
* resolve_conffiles: Existing conffile /opt/etc/php7-fpm.conf is different from the conffile in the new package. The new conffile will be placed at /opt/etc/php7-fpm.conf-opkg.
* resolve_conffiles: Existing conffile /opt/etc/php7-fpm.d/www.conf is different from the conffile in the new package. The new conffile will be placed at /opt/etc/php7-fpm.d/www.conf-opkg.
ro
76 vim /opt/etc/php.ini
77 vim /opt/etc/php.ini-opkg
78 vim /opt/etc/php.ini
79 vim /opt/etc/php7-fpm.conf
80 mv /opt/etc/php7-fpm.conf /opt/etc/php7-fpm.conf.ini
81 vim /opt/etc/php7-fpm.conf.ini
82 vim /opt/etc/php7-fpm.d/www.conf
83 mv /opt/etc/php7-fpm.d/www.conf /opt/etc/php7-fpm.d/www.conf.ini
84 vim /opt/etc/php7-fpm.d/www.conf.ini
