08 2018 档案

摘要:一、安装编译工具及库文件 yum -y install make zlib zlib-devel gcc-c++ libtool openssl openssl-devel 二、首先要安装 PCRE PCRE 作用是让 Nginx 支持 Rewrite 功能。 1、下载 PCRE 安装包,(版本可以 阅读全文
posted @ 2018-08-16 16:15 pengcx 阅读(151) 评论(0) 推荐(0)
摘要:来源:https://jingyan.baidu.com/article/2d5afd692df18d85a3e28e4c.html 一、下载源码 1、cd /usr/local/src/ 2. 执行命令: wget http://cn2.php.net/distributions/php-5.6. 阅读全文
posted @ 2018-08-16 10:57 pengcx 阅读(201) 评论(0) 推荐(0)
摘要:1、查看mysql数据库SHOW DATABASES;(;号一定要加)2、创建root用户密码mysqladmin -u root password "new_password"3、检查mysql服务器是否启动ps -ef | grep mysqld4、 添加用户方法:GRANT USAGE ON 阅读全文
posted @ 2018-08-15 14:05 pengcx 阅读(159) 评论(0) 推荐(0)
摘要:yum install perl perl-devel cd /usr/local/src wget https://cdn.mysql.com//Downloads/MySQL-5.6/mysql-5.6.40-linux-glibc2.12-x86_64.tar.gz tar zxvf mysq 阅读全文
posted @ 2018-08-14 17:49 pengcx 阅读(144) 评论(0) 推荐(0)
摘要:1、shutdown -h 10 //计算机将在10分钟后关机,且会显示在登录用户的当前屏幕中 2、shutdown -h now //立即关机 3、shutdown -h 20:25 //系统会在20:25关机 4、shutdown -h +10 //10分钟后关机 5、shutdown -r n 阅读全文
posted @ 2018-08-14 10:01 pengcx 阅读(175) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/dandelion_drq/article/details/53503487 阅读全文
posted @ 2018-08-13 17:11 pengcx 阅读(125) 评论(0) 推荐(0)
摘要:https://jingyan.baidu.com/article/48206aeada2e41216bd6b377.html 阅读全文
posted @ 2018-08-13 17:10 pengcx 阅读(238) 评论(0) 推荐(0)
摘要:Ctrl+c 强制终止当前命令Ctrl+l 清屏Ctrl+a 光标移动到命令行首Ctrl+e 光标移动到命令行尾Ctrl+u 从光标所在位置删除到行首Ctrl+z 把命令放入后台Ctrl+r 在历史命令中搜索Shift + PageUp 向上翻页Shift + PageDown 向下翻页 阅读全文
posted @ 2018-08-10 09:53 pengcx 阅读(123) 评论(0) 推荐(0)
摘要:ps:来源 https://www.cnblogs.com/justphp/p/5959655.html 办法一:改dns解析 vim /etc/resolv.conf 添加: nameserver 8.8.8.8 search localdomain 结果:没用! 办法二:修改镜像源 vim /e 阅读全文
posted @ 2018-08-08 15:50 pengcx 阅读(1586) 评论(0) 推荐(0)
摘要:基础上vi/vim共分为三种模式,分别是命令模式,输入模式和底线命令模式。 一、命令模式用户刚刚启动vi/vim,便进入了命令模式。在此状态下敲击键盘动作会被vim识别为命令,而非输入字符。比如我们此时按下i,并不会输入一个字符,i被当做了一个命令。一下是常用的几个命令:1、i切换到输入模式,以输入 阅读全文
posted @ 2018-08-07 15:20 pengcx 阅读(16303) 评论(0) 推荐(1)