Centos 安装图像化界面 yum安装

yum grouplist#安装X图形界面系统yum list 列出所有可安装的软件包 可以通过 yum grouplist 来查看可能批量安装哪些列表 比如 #yum groupinstall "DNS Name Server" //安装 bind 及 bind-chroot 套件yum groupinstall 'X Window System' -y#安装GNOME桌面环境yum group...

Centos  安装图像化界面  yum安装

Centos 安装图形化界面 yum安装方式

yum grouplist#安装X图形界面系统yum list 列出所有可安装的软件包 可以通过 yum grouplist 来查看可能批量安装哪些列表 比如 #yum groupinstall "DNS Name Server" //安装 bind 及 bind-chroot 套件yum groupinstall 'X Window System' -y#安装GNOME桌面环境yum group...

Centos 安装图形化界面 yum安装方式

解决centos ping不通外网

确认三件事情一。本地ip二。网关三。dns一就不说了,设置好本地ip和掩码就行了,二网关 添加默认网关,命令:route add defaule gw 192.168.1.1 这是 你用route命令查看最下面会有一条默认路由,走192.168.1.1网关,当然这个网关是根据你本地的网段决定的,三 就是dns了,dns也需要到配置文件修改,#vi etc/resolv.conf 文件,我的文件默认是空白的。添加一条dns记录就可以了,比如我在河南,我添加:nameserver 222.85.85.85 然后保存退出,OKping通外网了。顺便记一下几个命令:删除默认路由 :route 命令设置

解决centos ping不通外网

Centos linux 忘记root密码 修改方法

启动系统,俺esc后出现三行菜单,选择第二个,按e 进入一个编辑界面,然后输入一个空格 和 e ,会重回到刚才的三行菜单,默认仍然在第二项,按b 进入另一个编辑界面,也就可以修改密码了, 输入password root 根据提示输入新的密码,提示suess就成功了。

Centos  linux  忘记root密码 修改方法

SQL中如何将定义的变量作为列 别名 使用

测试数据: create table test(value int not null) -----drop table test insert into test (value)select 2union allselect 3union allselect 2union allselect 7union allselect 6union allselect 3union allselect...

SQL中如何将定义的变量作为列 别名 使用

sql中ANY、SOME、ALL关键字

带any嵌套查询 select emp.empno,emp.ename,emp.sal from scott.emp where sal>any(select sal from scott.emp where job='manager'); 等价于 select sal from scott.emp where job='manager' 结果为 sal:2975 2850 245...

sql中ANY、SOME、ALL关键字

判断某结果集为空 执行另一个语句 case when 巧妙用法

SELECT case when not exists(SELECT Cons_Date FROM sbcHisMaster WHERE HisTypeNO='L' AND ProductSN ='M7D2028') THEN (SELECT Cons_Date FROM sbcHisMaster WHERE HisTypeNO='Y' AND ProductSN ='...

判断某结果集为空 执行另一个语句  case when 巧妙用法

SQL CTE 和 row_number 配合 用法

create table employee (empid int ,deptid int ,salary decimal(10,2)) insert into employee values(1,10,5500.00) insert into employee values(2,10,4500.00) insert into employee values(3,20,1900.00...

SQL   CTE   和  row_number 配合 用法

SQL SERVER 系统 表 操作

--得到数据库中所有用户表 Select [name] from sysObjects Where xtype='U'and [name]<>'dtproperties' Order By [name] --得到数据库中所有用户视图 Select [name] From sysObjects Where xtype='V' And [name]<>'syssegments' And...

SQL SERVER 系统 表 操作

SQL 的 or注意事项 要正确使用括号

select c_gcode,c_barcode,c_name,c_price_disc,c_price,c_status from tb_gds where ( c_price like '%._[1,2,3,4,5,6,7,8,9]%' or c_price_disc like '%._[1,2,3,4,5,6,7,8,9]%' )and c_weigh='否' and c_stat...

SQL 的 or注意事项 要正确使用括号