摘要:
composer config -g repo.packagist composer https://packagist.phpcomposer.com 阅读全文
摘要:
1) 远程仓库相关命令检出仓库:$ git clone git://github.com/jquery/jquery.git撤销所有的已经add的文件 git reset HEAD .撤销某个文件或文件夹 git reset HEAD -filename 查看远程仓库:$ git remote -v 阅读全文
摘要:
linux 软件下载源http://ftp.ntu.edu.tw/http://ftp.ntu.edu.tw/MySQL/Downloads/MySQL-5.7/ 一、MYSQL 二进制包安装方式1、解压MySQL-5.7.19-Linux-glibc2.5-x86_64.tar.gz,并拷贝到/u 阅读全文
摘要:
创建git用户 创建authorized_keys文件 客户端创建密钥,放到服务器 authorized_keys 里面,多个存放,一行一个 将id_rsa.pub中的内容写到服务器的authorized_keys文件中 Git服务器开启Rsa认证编辑 /etc/ssh/sshd_config 开放 阅读全文
摘要:
Apache 压力测试1000个并发 50000次./bin/ab -c 1000 -n 50000 http://192.168.0.9999:8080 too many open files 24 打开文件数1、优化服务器 打开文件数 ulimit -n number 2、安装nginx 统计模 阅读全文
摘要:
1、新装centos系统 没有iptables文件的问题解决. 这时候就需要自己写一个iptables文件并且写入相关指令 然后使用 service iptables save 时显示错误:The service command supports only basic LSB actions (st 阅读全文
摘要:
1、下载nginx最新版 2、解压&&进入 可以这样 安装依赖,也可以手动安装 *******需要 Pcre 编译安装******* 缺少c++ 编译器,则安装 编译安装 Prce *****需要 Openssl 编译安装**** *********需要 zlib 库的安装********* 3、运 阅读全文