随笔分类 - server
摘要:安装必要库 sudo apt-get install build-essential autoconf automake libtool pkg-config libcurl3-dev libudev-dev sudo apt-get install gitcore apt-get install
阅读全文
posted @ 2017-05-24 22:53
loganv
摘要:linux 命令查询链接 http://man.linuxde.net/ 查nginx 的 PID、端口 netstat -apn | grep nginx 查看80端口的PID, netstat -nutlp |grep 80 所有进程和端口占用 netstat -apn nginx 的 PID、
阅读全文
摘要:https://certbot.eff.org 到上面网站按照步骤安装certbot, 安装完成后,certbot 生成证书有两种方式 第一种:standalone模式,certbot 会启动自带的nginx(如果服务器上已经有nginx,需要停止已有的nginx)生成证书 第二种:webroot模
阅读全文
摘要:vi 常用命令 移动命令 搜索命令 删除命令 插入命令 回退命令 esc退出编辑模式
阅读全文
摘要:1. http://nginx.org/en/download.html 2. tar -xf nginx-1.2.0.tar.gz 3. 进入解压目录 chmod a+rwx * 4. ./configure --without-http_rewrite_module ./configure --
阅读全文
posted @ 2016-04-26 22:10
loganv
摘要:编辑 lampp/etc/extral/httpd-xampp.conf 文件注释掉 连上mysql,修改mysql下root 用户的登入密码为123456,执行 UPDATE user SET password=PASSWORD('123456') WHERE user='root'; 修改xam
阅读全文
摘要:多域名,虚拟主机的配置开启虚拟主机配置选项:打开httpd.conf文件,找到httpd-vhosts.conf那一行,解除该行注释;打开httpd-vhosts.conf文件修改如下 ServerName localhost DocumentRoot "/Applications/XA...
阅读全文
摘要:========== 下载 -o 文件名;-O默认文件名保存 curl -o baidu.hml http://www.baidu.com curl -O http://su.bdimg.com/static/superplus/img/logo_white_ee663702.png curl -O
阅读全文

浙公网安备 33010602011771号