03 2018 档案

摘要:0 6 * * * sh /email/ip.sh 阅读全文
posted @ 2018-03-29 21:16 zhaocundang 阅读(783) 评论(0) 推荐(0) 编辑
摘要:iwlist scan sudovim /etc/wpa_supplicant/wpa_supplicant.conf network={ ssid="WIFINAME" psk="password" } sudo /etc/init.d/networking restart 阅读全文
posted @ 2018-03-29 18:00 zhaocundang 阅读(1870) 评论(0) 推荐(0) 编辑
摘要:$ sudo nano /etc/apt/sources.list deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ stretch main contrib non-free rpi deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ stretc... 阅读全文
posted @ 2018-03-27 20:32 zhaocundang 阅读(275) 评论(0) 推荐(0) 编辑
摘要:打开终端输入:diskutil list找到EFI这个分区,挂载EFI分区diskutil mount /dev/disk0s1回到Finder 删除除apple之外的两个文件夹就可以了(删除win10 EFI启动文件) 阅读全文
posted @ 2018-03-27 20:23 zhaocundang 阅读(2418) 评论(0) 推荐(0) 编辑
摘要:exportfs命令 • 常用选项 • -a 全部挂载或者全部卸载 • -r 重新挂载 • -u 卸载某一个目录 • -v 显示共享目录 • 以下操作在服务端上 • vim /etc/exports //增加 /tmp/ 192.168.133.0/24(rw,sync,no_root_squash 阅读全文
posted @ 2018-03-27 20:00 zhaocundang 阅读(148) 评论(0) 推荐(0) 编辑
摘要:NFS 介绍 阅读全文
posted @ 2018-03-27 19:58 zhaocundang 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-03-25 21:32 zhaocundang 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-03-25 21:28 zhaocundang 阅读(137) 评论(0) 推荐(0) 编辑
摘要:1. 服务器规则添加 3306端口 2. mysql localhost 改为% mysql> select user, host from mysql.user; GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'root' WITH 阅读全文
posted @ 2018-03-20 17:50 zhaocundang 阅读(261) 评论(0) 推荐(0) 编辑
摘要:php-fpm的pool • vim /usr/local/php/etc/php-fpm.conf//在[global]部分增加 • include = etc/php-fpm.d/*.conf • mkdir /usr/local/php/etc/php-fpm.d/ • cd /usr/local/php/etc/php-fpm.d/ • vim www.conf //内容如下 [www... 阅读全文
posted @ 2018-03-20 16:30 zhaocundang 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-03-20 16:28 zhaocundang 阅读(236) 评论(0) 推荐(0) 编辑
摘要:重置mysql密码。 假设我们使用的是root账户。 1.重置密码的第一步就是跳过MySQL的密码认证过程,方法如下: #vim /etc/my.cnf(注:windows下修改的是my.ini) 在文档内搜索mysqld定位到[mysqld]文本段:/mysqld(在vim编辑状态下直接输入该命令 阅读全文
posted @ 2018-03-20 07:41 zhaocundang 阅读(203) 评论(0) 推荐(0) 编辑
摘要:步骤一:解压安装NTFS-3G,使用如下命令。 sudo apt-get install ntfs-3g 步骤二:配置挂载NTFS格式的移动硬盘 1. 首先得到NTFS分区的信息 sudo fdisk -l | grep NTFS root@pi_2:~# fdisk -l |grep NTFS / 阅读全文
posted @ 2018-03-16 23:27 zhaocundang 阅读(1079) 评论(0) 推荐(0) 编辑
摘要:Nginx安装 cd /usr/local/src (http://nginx.org/en/download.html) wget http://nginx.org/download/nginx-1.13.9.tar.gz tar zxf nginx-1.12.1.tar.gz ./configu 阅读全文
posted @ 2018-03-13 22:59 zhaocundang 阅读(145) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-03-13 22:52 zhaocundang 阅读(164) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-03-10 18:57 zhaocundang 阅读(127) 评论(0) 推荐(0) 编辑
摘要:<!--EndFragment--> 阅读全文
posted @ 2018-03-10 18:50 zhaocundang 阅读(185) 评论(0) 推荐(0) 编辑
摘要:禁用服务方式如下: 或者 我的电脑右键->管理->服务,进入后手动禁用。 1.在cmd中,输入sc delete mysql,删除服务。 2.但是MYSQL服务只是显示禁用状态,并没有真正清理干净。 3.删除相关注册表信息 在Win7开始菜单栏搜索 regedit 进入注册表编辑器(在cmd下输入此 阅读全文
posted @ 2018-03-10 17:13 zhaocundang 阅读(33543) 评论(0) 推荐(3) 编辑
摘要:1.eclipse version: Eclipse Java EE IDE for Web Developers. Version: Oxygen.1 Release (4.7.1) Build id: 20170914-1200 (from -->http://www.cnblogs.com/x 阅读全文
posted @ 2018-03-08 13:11 zhaocundang 阅读(715) 评论(0) 推荐(0) 编辑
摘要:访问日志不记录静态文件 访问日志切割 静态元素过期时间 阅读全文
posted @ 2018-03-05 22:47 zhaocundang 阅读(187) 评论(0) 推荐(0) 编辑
摘要:echo 手机厂商号 >> ~/.android/adb_usb.ini ~ echo 0x18d1 >> ~/.android/adb_usb.ini 重启系统即可 环境变量 vim .profile 添加:(根据自己SDK存放的位置而定) export PATH=${PATH}:/Applica 阅读全文
posted @ 2018-03-04 18:09 zhaocundang 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-03-03 22:04 zhaocundang 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-03-01 21:19 zhaocundang 阅读(144) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示