luandly / thinkcmf

Other
0 stars 0 forks source link

centos Apache 配置thinkcmf #2

Open luandly opened 5 years ago

luandly commented 5 years ago

Last login: Tue Jul 2 17:11:32 2019 from 10.5.45.247 [root@localhost ~]# history 1 lsblk 2 free -m 3 nmtui 4 ifconfig 5 yum install net-tools -y 6 ip addr 7 vi /etc/resolv.conf 8 ping 8.8.8.8 9 systemctl stop firewalld 10 systemctl disable firewalld 11 ping 8.8.8.8 12 vi /etc/sysconfig/selinux 13 reboot 14 ping 8.8.8.8 15 reboot 17 free 18 clear 19 iptables -L 20 getenforce 22 cat /etc/selinux/config 24 init 0 25 ping 8.8.8.8 26 vi /etc/resolv.conf 27 ping 8.8.8.8 28 systemctl restart network 29 ping 8.8.8.8 30 nmtui 31 yum install net-tools -y 32 ls 33 passwd root 34 ls 35 clear 36 ls 37 yum install epel-release 38 rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm 39 yum install httpd 40 yum search php | grep 71 41 yum install mod_php71w php71w-cli php71w-mcrypt php71w-mysql php71w-mysqlnd php71w-pdo php71w-gd php71w-bcmath
42 yum install mod_php71w php71w-cli php71w-mcrypt php71w-mysqlnd php71w-pdo php71w-gd php71w-bcmath
43 yum search mariadb 44 yum install mariadb-server mariadb 45 mysql 46 systemctl start mariadb 47 mysql 48 mysql -u root -p 49 ls 50 yum install unzip -y 51 ls 52 unzip newtopup.zip 53 ls 54 mv newtopup /var/www/html/ 69 vim database.php 70 yum install vim -y 71 ls 72 vim database.php 73 systemctl start httpd 74 ls 75 pwd 76 cd .. 77 ls 78 cd .. 79 ls 80 cd think 81 ll 82 cd app/ 83 ls 84 ll 85 vim database.php 86 ls 87 vim config.php 109 cd gatewayWorker/ 110 ls 111 php start.php start 112 yum search php | grep posix 113 yum search php | grep process 114 yum install php71w-process 115 php start.php start 116 php start.php start -d 117 clear 130 cd newtopup/ 131 ls 132 cd public/ 133 ls 134 ll 135 pwd 136 cd /var/www/html/ 137 ls 138 cd newtopup/ 139 ls 140 cd /etc/httpd/conf.d/ 141 ls 142 cd .. 143 ls 144 cd conf 145 ls 146 vim httpd.conf 147 systemctl restart httpd 148 ls 149 cd /var/www/ 150 ls 151 cd html/ 152 ls 153 ll 154 chonw -R apache:apache newtopup 155 chown -R apache:apache newtopup 156 cd /etc/httpd/ 157 ls 158 cd conf 159 ls 160 vim httpd.conf 161 systemctl restart httpd 162 ls 163 vim httpd.conf 164 yum search httpd | grep rewrite 165 ls 166 vim httpd.conf 167 systemctl restart httpd 168 systemctl status httpd 169 vim httpd.conf 170 systemctl restart httpd 171 cd /var/www/html/ 172 ls 173 cd newtopup/ 174 ls 175 ll 176 grep 10.5.45 -r . 177 cd /var/www/html/ 178 ls 179 cd newtopup/ 180 ls 181 ll 182 cd simplewind/vendor/gatewayWorker/ 183 php start.php start -d 184 php start.php restart -d 185 iptables -L 186 netstat -anpl | more 187 date 188 php start.php start -d 189 pwd 190 cd /www/html 191 cd /www 192 cd /var/www/html/newtopup/ 193 cd cd simplewind/vendor/gatewayWorker/ 194 cd simplewind/vendor/gatewayWorker/ 195 php start.php start -d 196 php start.php stop 197 pwd 198 quit 199 yum search pcntl | grep php 200 yum search event | grep php 201 yum search event | grep php71 202 curl -Ss http://www.workerman.net/check.php | php 215 php start.php connections 216 ls 217 cd /usr/local/ 218 ls 219 cd etc/ 220 ls 221 cd .. 222 whereis php 223 vim /etc/php.ini 224 ls 225 ps aux | grep php 226 netstat -anpl | grep 8282 227 cd 228 ls 229 unzip thinkcmf-master.zip 230 ls 231 cd thinkcmf-master 232 ls 233 ll 234 cd simplewind/ 241 mv /var/www/html/ 242 mv thinkcmf-master /var/www/html/newtopup/ 248 mv thinkcmf-master ../ 249 cd .. 250 ls 251 cd thinkcmf-master/ 254 pwd 255 cd /etc/httpd/conf 256 ls 257 vim httpd.conf 258 systemctl restart httpd 259 cd /var/www/html/ 260 ls 261 chown -R apache:apache thinkcmf-master 262 yum search mbstring | grep php 263 yum install php71w-mbstring 264 systemctl restart httpd 265 ls 266 cd /etc/httpd/conf 267 ls 268 vim httpd.conf 269 systemctl restart httpd 270 cd /var/www/html/ 292 cd simplewind/ 293 ls 294 cd vendor/ 295 ls 296 ll 297 mv ~/GatewayWorker.zip . 298 ls 299 unzip GatewayWorker.zip 300 LS 301 ls 302 ps aux | grep php 303 kill -9 12267 304 ps aux | grep php 305 ks 306 ls 307 cd GatewayWorker 308 ls 309 php start.php start -d 310 cd .. 311 ls 312 cd gatewayWorker/ 313 ls 314 php start.php stop 315 netstat -anpl 316 netstat -anpl | grep 8282 317 ps -ef | grep php 318 kill -9 12272 319 ps -ef | grep php 320 netstat -anpl | grep 8282 321 kill -9 12273 322 ps -ef | grep php 323 netstat -anpl | grep 8282 324 ps aux | grep WorkerMan 325 pkill -9 WorkerMan 326 ps aux | grep WorkerMan 327 pkill -9 WorkerMan 328 ll 329 kill -9 12268 330 kill -9 12269 331 kill -9 12270 332 kill -9 12271 333 kill -9 12274 334 kill -9 12275 335 kill -9 12276 336 ps aux | grep WorkerMan 337 netstat -anpl | grep 8282 343 php start.php start -d 344 exit 345 cd /var/www/html/newtopup/ 346 cd simplewind/vendor/gatewayWorker/ 347 cd .. 348 ls 349 cd GatewayWorker 350 php start.php start -d 351 php start.php restart -d 352 php start.php stop 353 php start.php start 354 exit 355 cd /var/www/html/newtopup/ 356 cd simplewind/vendor/gatewayWorker/ 363 cd GatewayWorker 364 pwd 365 php start.php start 366 php start.php stop 367 php start.php start 368 cd /var/www/html/newtopup/simplewind/vendor/GatewayWorker 369 php start.php start 370 php start.php stop 371 php start.php start 372 exit 373 cd /var/www/html/newtopup/simplewind/vendor/GatewayWorker 374 php start.php start 375 mysql -uroot -p 376 pwd 377 chmod 777 /var/www/html/newtopup 378 sudo chmod -R 777 /var/www/html/newtopup 379 quit; 380 exit; 381 cd /var/www/html/newtopup/simplewind/vendor/GatewayWorker 382 php start.php start 383 exit; 384 mysql -uroot -p 385 sudo chmod -R 777 /var/www/html/newtopup 386 mysql -uroot -p 387 exit; 388 cd /var/www/html/newtopup/simplewind/vendor/GatewayWorker 406 mysqldump -uroot -p123456 jpmeitu >/var/html/newtopup/jpmeit.sql; 407 mysqldump -uroot -p123456 jpmeitu >/root/jpmeit.sql; 408 mysql -uroot -p 409 mysqldump -uroot -p123456 jpmeitu >/root/jpmeit9.sql; 410 mysql -uroot -p 411 quit; 412 exit; 413 ls 414 cd /var/www/html/ 415 ls 416 cd newtopup1/ 417 ls 418 pwd 419 ls 420 cd /w 421 ls 422 cd /var/www/ 423 ls 424 cd html/ 425 ls 426 cd newtopup 427 ls 428 cd /var/log/ 429 ls 430 ll 431 ps aux | grep http 432 ls 433 cd httpd/ 434 ls 435 ll 436 tail -f access_log 437 ls 438 cd /var/www/ 439 ls 440 cd html/ 441 ll 442 cd newtopup1/ 443 ls 444 cd .. 445 ls 446 cd newtopup 447 ls 448 cd public/ 449 ls 450 ll 451 cd .. 452 ls 453 cd .. 454 ls 455 cd /var/www/html/ 456 ls 457 cd /var/log/ 458 ls 459 cd httpd/ 460 ls 461 tail -f access_log 462 ls 463 cd /var/www/html/ 464 ls 465 ll 466 ls 467 cd /etc/httpd/ 468 ls 469 cd conf.d/ 470 ls 471 vim m.conf 472 mkdir /var/log/httpd/ll 473 systemctl restart httpd 474 ls 475 vim m.conf 476 systemctl restart httpd 477 ls 478 cat m.conf 479 ls 480 cd .. 481 ls 482 cd conf 483 ls 484 vim httpd.conf 485 ls 486 cd .. 487 ls 488 cd conf.d/ 489 ls 490 cat m.conf 491 cd /var/www/html/ 492 ls 493 cd newtopup 494 ls 495 ll 496 cd data/ 497 ls 498 cdconf 499 cd conf/ 500 ls 501 vim database.php 502 pwd 503 cd .. 504 cd newtopup1/ 505 cd data/conf/ 506 ls 507 vim database 508 vim database.php 509 mysql -u root -p123456 510 ls 511 cd /etc/httpd/conf.d/ 512 ls 513 vim m.conf 514 systemctl restart httpd 515 vim m.conf 516 systemctl restart httpd 517 vim m.conf 518 systemctl restart httpd 519 history [root@localhost ~]# show full fields from meitu_daily;

| ###6bf115431153bf6884369667d6c5da3f | admin | | ###1d1ad385effeed2f29d23c58e74673d5 | Rockyi |

update meitu_user set user_pass='###6bf115431153bf6884369667d6c5da3f' where user_login='admin'; update meitu_user set user_pass='###1d1ad385effeed2f29d23c58e74673d5' where user_login='Rockyi';

订单模块 订单审核页面 交易渠道下拉复选框 style="background: #5cb85c; color: #fff;"

luandly commented 5 years ago

简化版 1 yum -y update 2 yum -y remove httpd php mysql-server mysql mysql-libs php-mysql 3 yum -y install wget vim git texinfo patch make cmake gcc gcc-c++ gcc-g77 flex bison file libtool libtool-libs autoconf kernel-devel libjpeg libjpeg-devel libpng libpng-devel libpng10 libpng10-devel gd gd-devel freetype freetype-devel libxml2 libxml2-devel zlib zlib-devel glib2 glib2-devel bzip2 bzip2-devel libevent libevent-devel ncurses ncurses-devel curl curl-devel e2fsprogs e2fsprogs-devel krb5 krb5-devel libidn libidn-devel openssl openssl-devel vim-minimal nano fonts-chinese gettext gettext-devel ncurses-devel gmp-devel pspell-devel unzip libcap diffutils 4 wget https://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.35.tar.gz 5 tar -zxvf mysql-5.6.35.tar.gz 6 cd mysql-5.6.35 7 cmake -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DEXTRA_CHARSETS=all -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DWITH_READLINE=1 -DWITH_SSL=system -DWITH_ZLIB=system -DWITH_EMBEDDED_SERVER=1 -DENABLED_LOCAL_INFILE=1 8 make -j 2 && make install 9 groupadd mysql 10 useradd -s /sbin/nologin -M -g mysql mysql 11 vim /etc/my.cnf 12 /usr/local/mysql/scripts/mysql_install_db --defaults-file=/etc/my.cnf --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql 13 chown -R mysql /usr/local/mysql/var 14 chgrp -R mysql /usr/local/mysql/. 15 cp support-files/mysql.server /etc/init.d/mysql 16 chmod 755 /etc/init.d/mysql 17 cat > /etc/ld.so.conf.d/mysql.conf<<EOF 18 /usr/local/mysql/lib 19 /usr/local/lib 20 EOF 21 ldconfig 22 /etc/init.d/mysql start 23 ps -ef|grep mysql 24 ln -s /usr/local/mysql/lib/mysql /usr/lib/mysql 25 ln -s /usr/local/mysql/include/mysql /usr/include/mysql 26 ln -s /usr/local/mysql/bin/mysql /usr/bin/mysql 27 ln -s /usr/local/mysql/bin/mysqldump /usr/bin/mysqldump 28 ln -s /usr/local/mysql/bin/myisamchk /usr/bin/myisamchk 29 ln -s /usr/local/mysql/bin/mysqld_safe /usr/bin/mysqld_safe 30 mysql -uroot -p 31 vim /etc/my.cnf 32 rm -rf /etc/my.cnf 33 vim /etc/my.cnf 34 /usr/local/mysql/scripts/mysql_install_db --defaults-file=/etc/my.cnf --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql 35 chown -R mysql /usr/local/mysql/var 36 chgrp -R mysql /usr/local/mysql/. 37 cp support-files/mysql.server /etc/init.d/mysql 38 cat > /etc/ld.so.conf.d/mysql.conf<<EOF 39 /usr/local/mysql/lib 40 /usr/local/lib 41 EOF 42 ldconfig 43 /etc/init.d/mysql start 44 vim /etc/my.cnf 45 /usr/local/mysql/scripts/mysql_install_db --defaults-file=/etc/my.cnf --basedir=/usr/local/mysql --datadir=/usr/local/mysql/var --user=mysql 46 chown -R mysql /usr/local/mysql/var 47 chgrp -R mysql /usr/local/mysql/. 48 cp support-files/mysql.server /etc/init.d/mysql 49 shutdown now 50 export LANG="en_US.UTF-8";export LANGUAGE="en_US.UTF-8";top 51 ip add 52 ls 53 mysql -uroot -p 54 shutdown now 55 ip add 56 history 57 mysql -uroot -p 58 /etc/init.d/mysql start 59 mysql -uroot -p 60 vi /etc/sysconfig/selinux 61 getenforce 62 vi /etc/sysconfig/selinux 63 getenforce 64 vi /etc/sysconfig/selinux 65 reboot 66 vi /etc/sysconfig/selinux 67 getenforce 68 yum install epel-release 69 rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm 70 yum install httpd 71 yum install mod_php71w php71w-cli php71w-mcrypt php71w-mysql php71w-mysqlnd php71w-pdo php71w-gd php71w-bcmath 72 yum install mod_php71w php71w-cli php71w-mcrypt php71w-mysqlnd php71w-pdo php71w-gd php71w-bcmath 73 shutdown now 74 ip add 75 mysql -uroot -p123456 76 mysql -uroot -p 77 history 78 httpd -v 79 netstat-ano 80 netstat -ano 81 yum install net-tools -y 82 netstat -ano 83 netstat -anlp 84 systemctl start httpd 85 systemctl status httpd 86 systemctl stop firewalld 87 systemctl disable firewalld 88 systemctl restart httpd 89 sudo chmod -R 777 /var/www/html/newtopup 90 systemctl status httpd 91 httpd -v 92 version 93 --version 94 system -ve 95 system -v 96 systemctl -v 97 systemctl --v 98 systemctl --version 99 mysql -uroot -p123456 100 /etc/init.d/mysql restart 101 mysql -uroot -p123456 102 ps -ef|grep mysql 103 history 104 cd /var/www/html/newtopup/simplewind/vendor/GatewayWorker 105 php start.php start 106 shutdown now 107 cd /var/www/html/newtopup/simplewind/vendor/GatewayWorker 108 php start.php start -d 109 yum install -y php-process 110 php start.php start -d 111 yum install -y php73-php-process 112 yum install -y php71-php-process 113 yum install -y php-process 114 yum install -y php71w-common 115 yum install -y php-process 116 yum install -y php71-process 117 yum install -y php71-php-process 118 yum install centos-release-scl-rh 119 yum install rh-php71-php-process -y 120 php start.php start -d 121 yum --enablerepo=remi install php71-php-process 122 rpm -Uvh remi-release*rpm 123 yum install epel-release 124 rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm 125 yum --enablerepo=remi install php71-php-process 126 yum install php71w-process 127 php start.php start -d 128 yum info git 129 yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel 130 yum install gcc perl-ExtUtils-MakeMaker 131 yum remove git 132 cd /root 133 ls 134 cd /usr/src 135 wget https://www.kernel.org/pub/software/scm/git/git-2.5.0.tar.gz 136 tar -zxvf git-2.5.0.tar.gz 137 cd git-2.5.0 138 make prefix=/usr/local/git all 139 make prefix=/usr/local/git install 140 echo "export PATH=$PATH:/usr/local/git/bin" >> /etc/bashrc 141 source /etc/bashrc 142 git --version 143 yum install -y curl policycoreutils-python openssh-server 144 systemctl enable sshd 145 systemctl start postfix 146 systemctl start sshd 147 yum install -y postfix 148 systemctl enable postfix 149 systemctl start postfix 150 firewall-cmd --add-service=ssh --permanent 151 firewall-cmd --add-service=http --permanent 152 curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.rpm.sh | sudo bash 153 sudo yum install -y gitlab-ce 154 vi /etc/gitlab/gitlab.rb 155 gitlab-ctl reconfigure 156 vi /etc/gitlab/gitlab.rb 157 systemctl restart httpd 158 vi /etc/gitlab/gitlab.rb 159 gitlab-ctl reconfigure 160 history

yum install  php71w-process

       <a href=javascript:parent.openapp("{:url('systemAccess/index')}",'174admin','金流信息概况',true)>{$actions}</a>
luandly commented 5 years ago

jesus102 Qq123456