摘要: 1.第一步修改root密码 sudo su passwd 2.默认使用root登录ubuntu1804.exe config --default-user root 3.使用国内源 1. sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak 阅读全文
posted @ 2021-06-04 18:28 詹老师 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 1,yum install php 默认安装的是5.4几版本的php,后面的updates不知道干啥的,望路过的大神指点 2,因为yum 安装软件有两个软件源(目前我只知道俩,貌似还有个ius?) 1),epel 安装软件默认就是走这个源,php,redis不是最新的 2),remi 这里的php, 阅读全文
posted @ 2019-12-02 14:46 詹老师 阅读(1348) 评论(0) 推荐(0) 编辑
摘要: ./configure --prefix=/usr/local/php7 \--with-config-file-path=/usr/local/php7/etc \ --with-mysqli \--enable-fpm \--with-fpm-user=www-data \--with-fpm- 阅读全文
posted @ 2017-11-03 17:01 詹老师 阅读(1115) 评论(0) 推荐(0) 编辑
摘要: z,sz是Linux/Unix同Windows进行ZModem文件传输的命令行工具。优点就是不用再开一个sftp工具登录上去上传下载文件。 sz:将选定的文件发送(send)到本地机器rz:运行该命令会弹出一个文件选择窗口,从本地选择文件上传到Linux服务器 安装命令: yum install l 阅读全文
posted @ 2017-11-03 14:39 詹老师 阅读(5329) 评论(2) 推荐(1) 编辑
摘要: centos把http、mysql等加入开机启动 原创 2016年10月14日 22:48:36 标签: centos / 服务器 / mysql 2377 原创 2016年10月14日 22:48:36 标签: centos / 服务器 / mysql 2377 有时因为各种原因,需要重启服务器, 阅读全文
posted @ 2017-11-03 11:49 詹老师 阅读(214) 评论(0) 推荐(0) 编辑
摘要: MySQL忘记密码,或:root密码重置报错:mysqladmin: connect to server at 'localhost' failed的解决方案 MySQL root密码重置报错:mysqladmin: connect to server at 'localhost' failed的解 阅读全文
posted @ 2017-11-03 11:48 詹老师 阅读(381) 评论(0) 推荐(0) 编辑
摘要: centOS 6.5下升级mysql,从5.1升级到5.7 1、备份数据库,升级MySQL通常不会丢失数据,但保险起见,我们需要做这一步。输入命令: mysqldump -u xxx -h xxx -P 3306 -p --all-databases > databases.sql 2、 停止MyS 阅读全文
posted @ 2017-11-03 11:29 詹老师 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 专门测试post,还可以模拟上传文件 阅读全文
posted @ 2017-09-18 15:38 詹老师 阅读(93) 评论(0) 推荐(0) 编辑
摘要: array( //用户今天是否玩牌 'time' => 'Ymd', //业务按天限制 'expire' => 86400, //限制过期时间 ), ); public static function redis(){ ... 阅读全文
posted @ 2017-08-18 10:18 詹老师 阅读(273) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/china_skag/article/details/39611845 html5实现擦除 http://www.cnblogs.com/doudoujun/p/6405534.html webpack 阅读全文
posted @ 2017-08-14 15:35 詹老师 阅读(92) 评论(0) 推荐(0) 编辑