0728 history
2024-09-30 09:15:51
-- :: cd /etc/yum.repos.d/ -- :: wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo -- :: yum update -y -- :: rpm -qa kernel |sort -V |tail -n -- :: uname -r -- :: rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm -- :: yum install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms -- :: yum -y install VirtualBox-6.0 -- :: ps -nf|grep yum -- :: ps -ef | grep yum -- :: yum -y localinstall /root/download/VirtualBox-.x86_64.rpm -- :: /usr/lib/virtualbox/vboxdrv.sh setup -- :: VirtualBox -- :: systemctl start vboxdrv.service -- :: systemctl status vboxdrv.service -- :: systemctl enable vboxdrv.service -- :: yum -y localinstall /root/download/vagrant_2..5_x86_64.rpm -- :: lsof -- :: iptables -F -- :: setenforce -- :: systemctl disable firewalld -- :: nginx -v -- :: cd /etc/yum.repos.d/ -- :: vim nginx.repo -- :: vim nginx.repo -- :: yum list | grep nginx -- :: yum list | grep nginx -- :: yum -y install nginx -- :: mkdir /www -- :: mkdir /www/wwwroot -- :: mkdir /www/wwwroot/default -- :: cd /www/wwwroot/default -- :: vim index.html -- :: cd /etc/nginx/conf.d -- :: vim default.conf -- :: systemctl start nginx -- :: systemctl status nginx -- :: systemctl restart nginx -- :: yum -y install epel-release -- :: yum list | grep php72 -- :: rpm -ivh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm -- :: yum list | grep php72 -- :: yum -y install mod_php72w php72w-cli php72w-fpm php72w-common php72w-devel -- :: halt -- :: cd /www/wwwroot -- :: mkdir learn -- :: cd learn/ -- :: vi index.php -- :: cd ~ -- :: cd /etc/nginx/conf.d -- :: vi learn.conf -- :: systemctl restart nginx -- :: systemctl start php-fpm -- :: systemctl restart php-fpm -- :: rpm -ivh https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm -- :: cd ~ -- :: yum list | grep mysql -- :: yum list | grep mysql -- :: yum-config-manager --disable mysql80-community -- :: yum-config-manager --enable mysql57-community -- :: yum list | grep mysql -- :: yum -y install mysql-community-server mysql-community-client -- :: systemctl start mysqld -- :: grep 'temporary password' /var/log/mysqld.log -- :: mysql -uroot -p -- :: ; -- :: ; -- :: ; -- :: ; -- :: ; -- :: set password for root@localhost = password('你的密码'); -- :: set password for root@localhost = password('root'); -- :: mysql -uroot -p -- :: mysql -uroot -p -- :: grep 'temporary password' /var/log/mysqld.log -- :: mysql -uroot -p -- :: mysql -uroot -p -- :: systemctl state mysqld -- :: systemctl status mysqld -- :: mysql -uroot -p -- :: systemctl enable mysqld -- :: composer -- :: yum -y update -- :: cd /tmp -- :: curl -sS https://getcomposer.org/installer | php -- :: mv composer.phar /usr/local/bin/composer -- :: composer -v -- :: composer config -g repo.packagist composer https://packagist.phpcomposer.com -- :: cd ~ -- :: php -v -- :: composer global require "laravel/installer" -- :: vim /etc/profile -- :: source /etc/profile -- :: echo $PATH -- :: cat /etc/profile -- :: cd /www/wwwroot/ -- :: laravel new blog -- :: cd blog/ -- :: cp .env.example .env -- :: php artisan serve -- :: vim /etc/nginx/conf.d/ -- :: cd /etc/nginx/conf.d/ -- :: ls -- :: cp learn.conf blog.conf -- :: vim blog.conf -- :: systemctl start nginx -- :: systemctl restart nginx -- :: systemctl restart php-fpm -- :: systemctl restart mysqld -- :: cd /www/wwwroot/ -- :: chmod blog -R -- :: chmod -R blog -- :: ll -- :: cd blog/ -- :: ll -- :: cd / -- :: find -name autoload.php -- :: find -name composer -- :: find -name .composer -- :: find -name vendor -- :: cd /www/wwwroot/ -- :: curl -sS https://getcomposer.org/installer | php -- :: where composer -- :: whereis composer -- :: composer -v -- :: mv composer.phar /usr/local/bin/composer -- :: composer -v -- :: composer -v -- :: composer config -g repo.packagist composer https://packagist.phpcomposer.com -- :: find -name composer -- :: cd / -- :: find -name composer
2 2019-07-23 11:40:46 cd /etc/yum.repos.d/ 3 2019-07-23 11:40:53 wget http://download.virtualbox.org/virtualbox/rpm/rhel/virtualbox.repo 4 2019-07-23 11:41:07 yum update -y 5 2019-07-23 11:46:10 rpm -qa kernel |sort -V |tail -n 1 6 2019-07-23 11:46:17 uname -r 7 2019-07-23 11:46:32 rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm 8 2019-07-23 11:47:43 yum install binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel dkms 9 2019-07-23 11:48:52 yum -y install VirtualBox-6.0 10 2019-07-23 11:51:09 ps -nf|grep yum 11 2019-07-23 11:51:36 ps -ef | grep yum 12 2019-07-23 11:52:41 yum -y localinstall /root/download/VirtualBox-6.0-6.0.10_132072_el7-1.x86_64.rpm 13 2019-07-23 11:54:22 /usr/lib/virtualbox/vboxdrv.sh setup 14 2019-07-23 11:55:42 VirtualBox 15 2019-07-23 11:55:53 systemctl start vboxdrv.service 16 2019-07-23 11:55:57 systemctl status vboxdrv.service 17 2019-07-23 11:56:04 systemctl enable vboxdrv.service 18 2019-07-23 11:56:28 yum -y localinstall /root/download/vagrant_2.2.5_x86_64.rpm 19 2019-07-23 11:56:38 lsof 20 2019-07-27 19:22:10 iptables -F 21 2019-07-27 19:22:19 setenforce 0 22 2019-07-27 19:23:05 systemctl disable firewalld 23 2019-07-27 19:24:03 nginx -v 24 2019-07-27 19:30:26 cd /etc/yum.repos.d/ 25 2019-07-27 19:30:31 vim nginx.repo 26 2019-07-27 19:33:30 vim nginx.repo 27 2019-07-27 19:34:41 yum list | grep nginx 28 2019-07-27 19:35:18 yum list | grep nginx 29 2019-07-27 19:35:30 yum -y install nginx 30 2019-07-27 19:35:52 mkdir /www 31 2019-07-27 19:35:56 mkdir /www/wwwroot 32 2019-07-27 19:36:02 mkdir /www/wwwroot/default 33 2019-07-27 19:36:05 cd /www/wwwroot/default 34 2019-07-27 19:36:09 vim index.html 35 2019-07-27 19:36:36 cd /etc/nginx/conf.d 36 2019-07-27 19:36:39 vim default.conf 37 2019-07-27 19:37:51 systemctl start nginx 38 2019-07-27 19:37:56 systemctl status nginx 39 2019-07-27 19:38:03 systemctl restart nginx 40 2019-07-27 19:40:10 yum -y install epel-release 41 2019-07-27 19:40:19 yum list | grep php72 42 2019-07-27 19:40:35 rpm -ivh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm 43 2019-07-27 19:40:48 yum list | grep php72 44 2019-07-27 19:41:13 yum -y install mod_php72w php72w-cli php72w-fpm php72w-common php72w-devel 45 2019-07-27 19:51:18 halt 46 2019-07-27 19:58:34 cd /www/wwwroot 47 2019-07-27 19:58:44 mkdir learn 48 2019-07-27 19:58:49 cd learn/ 49 2019-07-27 19:58:57 vi index.php 50 2019-07-27 19:59:57 cd ~ 51 2019-07-27 20:00:15 cd /etc/nginx/conf.d 52 2019-07-27 20:00:25 vi learn.conf 53 2019-07-27 20:01:54 systemctl restart nginx 54 2019-07-27 20:02:01 systemctl start php-fpm 55 2019-07-27 20:02:09 systemctl restart php-fpm 56 2019-07-27 20:02:52 rpm -ivh https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm 57 2019-07-27 20:03:21 cd ~ 58 2019-07-27 20:03:26 yum list | grep mysql 59 2019-07-27 20:03:45 yum list | grep mysql 60 2019-07-27 20:03:49 yum-config-manager --disable mysql80-community 61 2019-07-27 20:03:55 yum-config-manager --enable mysql57-community 62 2019-07-27 20:03:59 yum list | grep mysql 63 2019-07-27 20:04:10 yum -y install mysql-community-server mysql-community-client 64 2019-07-27 22:29:23 systemctl start mysqld 65 2019-07-27 22:29:57 grep 'temporary password' /var/log/mysqld.log 66 2019-07-27 22:30:06 mysql -uroot -p 67 2019-07-27 22:30:57 set global validate_password_policy=0; 68 2019-07-27 22:31:02 set global validate_password_mixed_case_count=0; 69 2019-07-27 22:31:05 set global validate_password_number_count=3; 70 2019-07-27 22:31:11 set global validate_password_special_char_count=0; 71 2019-07-27 22:31:15 set global validate_password_length=3; 72 2019-07-27 22:31:28 set password for root@localhost = password('你的密码'); 73 2019-07-27 22:31:52 set password for root@localhost = password('root'); 74 2019-07-27 22:32:10 mysql -uroot -p 75 2019-07-27 22:33:47 mysql -uroot -p 76 2019-07-27 22:34:13 grep 'temporary password' /var/log/mysqld.log 77 2019-07-27 22:34:16 mysql -uroot -p 78 2019-07-27 22:35:22 mysql -uroot -p 79 2019-07-27 22:36:28 systemctl state mysqld 80 2019-07-27 22:36:59 systemctl status mysqld 81 2019-07-27 22:37:47 mysql -uroot -p 82 2019-07-27 22:39:31 systemctl enable mysqld 83 2019-07-28 10:23:38 cd /www/wwwroot/ 84 2019-07-28 10:23:39 ll 85 2019-07-28 10:24:00 curl -sS https://getcomposer.org/installer | php 86 2019-07-28 10:24:17 ll 87 2019-07-28 10:24:28 mv composer.phar /usr/local/bin/composer 88 2019-07-28 10:24:35 composer -v 89 2019-07-28 10:26:35 ll 90 2019-07-28 10:26:51 curl -sS https://getcomposer.org/installer | php 91 2019-07-28 10:27:10 ll 92 2019-07-28 10:27:25 mv composer.phar composer 93 2019-07-28 10:27:37 ll 94 2019-07-28 10:27:42 composer -v 95 2019-07-28 10:28:00 ll 96 2019-07-28 10:28:40 find -name / composer 97 2019-07-28 10:28:52 find / -name composer 98 2019-07-28 10:30:28 composer -v 99 2019-07-28 10:32:40 php composer.phar -v 100 2019-07-28 10:33:01 mv composer composer.phar 101 2019-07-28 10:33:02 php composer.phar -v 102 2019-07-28 10:37:54 ll 103 2019-07-28 10:38:12 composer -v 104 2019-07-28 10:38:46 composer global require laravel/installer 105 2019-07-28 10:40:44 composer config -g repo.packagist composer https://packagist.phpcomposer.com 106 2019-07-28 10:40:52 composer global require laravel/installer 107 2019-07-28 10:42:55 vim /etc/profile 108 2019-07-28 10:43:20 source /etc/profile 109 2019-07-28 10:43:25 echo $PATH 110 2019-07-28 10:43:36 laravel new blog 111 2019-07-28 10:44:33 cd blog/ 112 2019-07-28 10:44:34 php artisan serve 113 2019-07-28 10:46:14 cp .env.example .env 114 2019-07-28 10:46:16 ll 115 2019-07-28 10:48:40 ll -a 116 2019-07-28 10:49:39 php artisan key:generate 117 2019-07-28 10:50:02 cat config/app.php 118 2019-07-28 10:58:22 hiatory 119 2019-07-28 10:58:27 history 120 2019-07-28 11:14:24 systemctl status 121 2019-07-28 11:16:33 service --status-all | more 122 2019-07-28 11:16:38 service --status-all | less 123 2019-07-28 11:17:52 service --status-all 124 2019-07-28 11:19:01 systemctl list-unit-files 125 2019-07-28 11:21:00 systemctl restart nginx 126 2019-07-28 11:21:31 systemctl enable nginx 127 2019-07-28 11:21:55 systemctl enable nginx.service 128 2019-07-28 11:22:30 systemctl restart php-fpm.service 129 2019-07-28 11:22:38 systemctl enable php-fpm.service 130 2019-07-28 11:23:11 systemctl enable php-fpm.service 131 2019-07-28 11:36:30 cd /www/wwwroot/learn2 132 2019-07-28 11:36:34 rm * 133 2019-07-28 11:39:29 ls 134 2019-07-28 11:39:40 cd /www/wwwroot/learn2 135 2019-07-28 11:39:41 ll 136 2019-07-28 11:39:48 unzip laravel58.zip 137 2019-07-28 11:41:55 php artisan key:generate 138 2019-07-28 11:42:04 php artisan -v 139 2019-07-28 11:42:46 vim /etc/nginx/conf.d/learn.conf 140 2019-07-28 11:43:43 cp /etc/nginx/conf.d/learn.conf /etc/nginx/conf.d/learn2.conf 141 2019-07-28 11:45:27 systemctl restart nigix 142 2019-07-28 11:45:43 systemctl restart ngix 143 2019-07-28 11:45:47 systemctl restart nginx 144 2019-07-28 11:45:59 systemctl restart php-fpm.service 145 2019-07-28 11:46:22 systemctl restart mysqld 146 2019-07-28 11:47:34 systemctl restart nginx 147 2019-07-28 11:47:36 systemctl restart php-fpm.service 148 2019-07-28 11:47:38 systemctl restart mysqld 149 2019-07-28 11:49:22 systemctl restart nginx 150 2019-07-28 11:49:24 systemctl restart php-fpm.service 151 2019-07-28 11:49:27 systemctl restart mysqld 152 2019-07-28 11:50:12 cd /www/wwwroot/learn2/ 153 2019-07-28 11:50:16 php artisan key:generate 154 2019-07-28 11:51:05 chmod ./ -R * 155 2019-07-28 11:51:07 chmod ./ -R 156 2019-07-28 11:51:11 chmod ./ 777 -R 157 2019-07-28 11:51:21 chmod ./ -R 777 158 2019-07-28 11:51:30 chmod -R 777 159 2019-07-28 11:51:50 chmod -R 777 * 160 2019-07-28 11:51:57 ll 161 2019-07-28 12:54:36 yum list | grep php72 162 2019-07-28 12:55:23 yum -y install php72w-pdo 163 2019-07-28 12:55:51 php -m 164 2019-07-28 12:56:04 systemctl restart php-fpm 165 2019-07-28 13:02:34 yum -y install php72w-mysql php72w-mysqlnd 166 2019-07-28 13:05:08 yum -y install php72w-mysql 167 2019-07-28 13:05:28 yum -y install php72w-mysqlnd 168 2019-07-28 13:06:23 systemctl restart php-fpm 169 2019-07-28 13:07:23 cd /www/wwwroot/learn2 170 2019-07-28 13:07:24 php artisan key:generate
最新文章
- java1.8常用的函数式接口
- global-local-static-object
- python35
- json 读写 swift
- roscpp源码阅读
- FolderBrowserDialog(文件夹浏览对话框)
- c++对象指针-01(转载)
- 静态变量和Session
- spring mvc 多线程并发
- js 检测输入内容是否为空(小程序,网站)
- PTA_Have fun with numbers(C++)
- 「luogu1417」烹调方案
- 笔记:stm32 printf重定向到UART疑点解析
- mysql 存储过程的实现原理
- (转载)Unity_3DText穿透场景物体解决
- Python Tornado搭建高并发Restful API接口服务
- Java基础 【Arrays 类的使用】
- ElasticSearch 6.x 父子文档[join]分析
- Vue 就地复用策略注意事项
- (最小生成树)Jungle Roads -- HDU --1301