![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Linux
weixin_37914752
既然我已经踏上了这条道路,那么,任何东西都不能妨碍我沿着这条路走下去。
展开
-
Nginx 和 Apache 做转发
Nginx的配置server { listen 80; server_name www.vue.com; root "D:/phpstudy_pro/WWW/www.vue.com/dist"; location / { index index.php index.html error/index.html; error_page 400 /error/400.htm原创 2021-04-23 11:48:41 · 442 阅读 · 0 评论 -
nginx 隐藏index.php
在伪静态文件中添加if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=/$1 last;}原创 2020-01-02 17:38:50 · 233 阅读 · 0 评论 -
Centos7 安装composer笔记
1,执行以下命令# php -r "copy('https://install.phpcomposer.com/installer', 'composer-setup.php');"# php composer-setup.phpAll settings correct for using ComposerDownloading...Composer (version 1.6....原创 2019-12-01 22:54:38 · 126 阅读 · 0 评论 -
PSCP 常用命令总结
上传压缩文件到服务器 PSCP -scp -P 10022 recruit.zip root@IP:/var/www/原创 2019-01-28 18:19:32 · 1500 阅读 · 0 评论 -
重置ROOT密码
1,在linux的启动页面按e2,在字符 “linux16”的所在行,追加rd.break,然后 按ctrl + x 保存退出3,进入以下界面后,原创 2019-01-30 01:13:23 · 124 阅读 · 0 评论 -
Centos 7 配置 LAMP的shell脚本
#!/bin/bashyum install -y httpdyum install php php-mysql php-gd libjpeg* php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-bcmath php-mhash mariadb mariadb-server -y#安装appache php ...原创 2019-03-28 23:07:13 · 273 阅读 · 0 评论 -
腾讯云添加一个https,两个http
1,httpd.conf 修改如下2,在httpd.conf 的末尾处,添加<VirtualHost *:80> DocumentRoot "/home/wwwroot/shop/public" ServerName "www.domain.club" <Directory "/home/wwwroot/shop/public"> ...原创 2019-05-14 23:16:33 · 549 阅读 · 0 评论