我们长路漫漫,只因学无止境。网站首页学无止境
马哥linux运维学习笔记-MySQL系列之七——单表查询、多表查询和子查询
发布时间:2019-03-15 17:50:46作者:雪饮[心得笔记]
查询结果指定某个字段去重正常查询mysql> select money from s_user where money>0;+-------+| money |+-------+| 1 || 1 |+-------+去重查询mysql> select distin
详细信息>>马哥linux运维学习笔记-MySQL系列之六——MySQL管理表和索引
发布时间:2019-03-15 17:49:39作者:雪饮[心得笔记]
创建数据库mysql> create schema if not exists students character set 'gbk' collate 'gbk_chinese_ci';Query OK, 1 row affected (0.00 sec)schema:创建数据库的关键字ch
详细信息>>马哥linux运维学习笔记-MySQL系列之五——MySQL数据类型及sql模型
发布时间:2019-03-15 17:48:20作者:雪饮[心得笔记]
查看某表状态mysql> show table status like 'user'\G*************************** 1. row *************************** Name: user Engine: MyISAM
详细信息>>马哥linux运维学习笔记-mysql系列之四mysql客户端工具的使用
发布时间:2019-03-13 20:18:36作者:雪饮[心得笔记]
mysql -D-D可指定连接时默认自动use到某个库[root@localhost mysql]# mysqlWelcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 2Serv
详细信息>>马哥linux运维学习笔记-mysql系列之三MySQL数据库基础及编译安装(mysql5.5.28)
发布时间:2019-03-13 20:16:10作者:雪饮[心得笔记]
编译安装mysql5.5.28前需要先安装cmake安装cmake2.8.8[root@localhost src]# tar -zxvf cmake-2.8.8.tar.gz[root@localhost src]# cd cmake-2.8.8[root@localhost cmake-2.
详细信息>>马哥linux运维学习笔记-配置使用vnc服务
发布时间:2019-03-11 17:18:57作者:雪饮[心得笔记]
vnc服务是一个跨平台的远程桌面,其连接是明文的,不太安全传统的通过虚拟机内部访问其桌面,编辑文本时候复制一些东西在物理机与linux虚拟机之间交互都比较麻烦。使用vnc客户端
详细信息>>马哥linux运维学习笔记-bash脚本编程之在bash脚本中使用选项
发布时间:2019-03-11 17:17:36作者:雪饮[心得笔记]
cat的使用方法-创建文件cat不仅仅用来查看文件,也可以用来创建文件[root@mail ~]# cat > 1.txt << EOF> 看例子是最快的熟悉方法> EOF[root@mail ~]# cat 1.txt看例子是最快
详细信息>>马哥linux运维学习笔记-bash编程系列之数组
发布时间:2019-03-11 17:16:31作者:雪饮[心得笔记]
数组的声明与指定数组索引值的获取[root@mail ~]# cat test.sh#!/bin/bashAA=([0]=jerry [1]=tom [6]=nikita)echo $AA[0]执行结果[root@mail ~]# sh test.shjerry[0]上面定
详细信息>>马哥linux运维学习笔记-nss&pam
发布时间:2019-03-10 12:28:48作者:雪饮[心得笔记]
仅允许指定用户组的用户登录在文件'/etc/pam.d/system-auth-ac'中'auth required pam_env.so'下插入'auth required pam_listfile.so item=group s
详细信息>>马哥linux运维学习笔记-tcp_wraper&xinetd2
发布时间:2019-03-10 12:27:46作者:雪饮[心得笔记]
禁用telnet服务方法1[root@mail ~]# cat /etc/xinetd.d/telnet# default: on# description: The telnet server serves telnet sessions; it uses \# unencrypted use
详细信息>>