上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页
摘要: mysql> update mysql.user set authentication_string = password('*****') where user = 'root'; grant all privileges on zabbix.* to zabbix@localhost ident 阅读全文
posted @ 2019-03-14 14:44 New_Journey 阅读(775) 评论(0) 推荐(0) 编辑
摘要: fdisk -l命令详解 Disk /dev/sda: 53.7 GB, 53687091200 bytes 块设备名称为/dev/sda,此设备的大小为53.7GB,这个数字不是特别精确,我系统是50GB; 53687091200 bytes这是转换成字节后的大小,即:53687091200/10 阅读全文
posted @ 2019-03-14 14:24 New_Journey 阅读(542) 评论(0) 推荐(0) 编辑
摘要: vmstat(Virtual Memory Statistics 虚拟内存统计) 命令用来显示Linux系统虚拟内存状态,也可以报告关于进程、内存、I/O等系统整体运行状态。 用法 选项 vmstat命令说明 阅读全文
posted @ 2019-03-13 17:36 New_Journey 阅读(552) 评论(0) 推荐(0) 编辑
摘要: 在联网的状态下安装所需软件: Shell> yum install dhcp httpd tftp-server xinetd syslinux system-config-kickstart 采用HTTP协议部署PXE环境 Shell> mkdir /var/www/html/Centos-6.1 阅读全文
posted @ 2019-03-12 17:07 New_Journey 阅读(452) 评论(0) 推荐(0) 编辑
摘要: sed:行编辑器 用法: sed [option] ... 'sed脚本' inputfile... 不去直接编辑原文件,在自己的模式空间中进行文件的编辑 常用选项: -n:不输出模式空间中的内容至屏幕; -e:多点编辑功能; -f /PATH/TO/SCRIPT_FILE: 从指定文件中读取编辑脚 阅读全文
posted @ 2019-03-12 16:41 New_Journey 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 权限类别: 库级别 表级别 字段级别 管理类: CREATE TEMPORARY TABLES #创建临时表 CREATE USER #创建用户 FILE SUPER SHOW DATABASES RELOAD #重新装载授权表 SHUTDOWN REPLICATION SLAVE REPLICAT 阅读全文
posted @ 2019-03-12 15:01 New_Journey 阅读(260) 评论(0) 推荐(0) 编辑
摘要: 字典是无序的,没有下标,通过key来取值 查找:print(info["name"])) 或者 print(info.get('name')) 修改: info["name"] = "Li" 创建: info["name2"] = "Liu" 删除: del info["high"] 或者 info 阅读全文
posted @ 2019-03-12 14:16 New_Journey 阅读(414) 评论(0) 推荐(0) 编辑
摘要: name = "xiangni" print(name.capitalize()) #输出的是首字母大写Xiangni print(name.count("x")) #统计x的个数 print(name.center(50, "-")) #共需要打印50个“-”,效果:---xiangni--- print(name.endswith("ni")) #判断是否以“ni”结尾,返... 阅读全文
posted @ 2019-03-12 13:35 New_Journey 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 基础环境: 系统:centos6.8 环境:lnmp 停止PHP7.0的版本,在做如下操作: 1.下载php-7.2.6.tar.bz2软件包放在/opt 路径下 mkdir /usr/local/php7.2 2.tar xf php-7.2.6.tar.bz2 3.cd php-7.2.6 4. 阅读全文
posted @ 2019-03-06 15:58 New_Journey 阅读(2345) 评论(3) 推荐(1) 编辑
摘要: 转载自:http://www.bkjia.com/PHPjc/1008013.html This article is post on https://coderwall.com/p/ggmpfa configure: error: xslt-config not found. Please rei 阅读全文
posted @ 2019-03-06 11:22 New_Journey 阅读(158) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页