一.常用命令1.目录结构/bin:常用命令
/boot:启动程序
/dev:设备文件
/etc:启动,关闭,配置程序与文件
/home:用户工作根目录
/lib:共享连接库
/root:超级用户的工作目录
/sbin:系统管理员常用管理程序
/tmp:临时文件
/lost+found:系统出现异常时,用于保存部分资料
/misc:常用工具
/mnt:光驱,硬盘等的挂载点
/media:光驱的自动挂载...
分类:
系统相关 时间:
2015-05-05 14:26:32
阅读次数:
250
首先安装tigervnc-server: yum install tigervnc-server 安装好后,设置 vi /etc/sysconfig/vncservers [root@gateway-001 ~]# cat /etc/sysconfig/vncservers # The VNCSER...
转自:http://binyan17.iteye.com/blog/1688308以下代码是在前人的基础上,结合自己服务器实际情况修改的,本人服务器环境是:CentOS 6.31、创建启动脚本, root用户执行 vi /etc/init.d/nginx ,保存如下脚本#!/bin/sh # # ....
分类:
其他好文 时间:
2015-05-05 14:01:50
阅读次数:
90
一、vi /etc/modprobe.d/disable-ipv6.conf(名字随便起)(RHEL6.0之后没有了/etc/modprobe.conf这个文件)输入:install ipv6 /bin/true二、vi /etc/sysconfig/network在最后增加一句:IPV6INIT=...
分类:
其他好文 时间:
2015-05-05 13:58:45
阅读次数:
124
mount -n -o remount /? 可以让它变成可编辑的 http://forums.fedoraforum.org/archive/index.php/t-144176.html
分类:
其他好文 时间:
2015-05-05 12:53:56
阅读次数:
167
1、设置字符编码 输入命令: [root@localhost ~]# vi /etc/my.cnf 最后一行加入:default-character-set=utf8,保存! 2、启动mysql服务: 输入命令: [root@localhost ~]# service mysqld start 返回一下信息则表...
分类:
数据库 时间:
2015-05-05 12:53:06
阅读次数:
201
从vcenter-vsphereclient从模板创建虚拟机后修改IP报错中克隆(clone)了一个Centos6.6的虚拟机,启动之后发现网卡没有启动。于是重启一下network服务,发现提示错误信息deviceeth0doesnotseemtobepresentdelayinginitialization.解决方案:将/etc/udev/rules.d/70-persistent-ne..
分类:
其他好文 时间:
2015-05-05 12:50:10
阅读次数:
168
修改文件/etc/pam.d/system-auth#%PAM-1.0# This file is auto-generated.# User changes will be destroyed the next time authconfig is run.#auth require...
分类:
系统相关 时间:
2015-05-05 12:28:34
阅读次数:
267
首先是vitualbox中网络连接的设置。默认的为网络地址转换(NAT)修改为桥接网卡,其他默认。然后就是进入到ubuntu中修改IP地址,这个相信大家百度都能查到。sudo vi /etc/network/interfaces然后,修改里面的内容,追加内容: auto eth0 iface ...
分类:
系统相关 时间:
2015-05-05 12:18:50
阅读次数:
227
文章来源地址:http://my.oschina.net/junn/blog/142983Ubuntu Server的网络参数保存在文件/etc/network/interfaces中,默认设置使用dhcp,内容如下:# The primary network interfaceauto eth0i...
分类:
系统相关 时间:
2015-05-05 10:32:05
阅读次数:
443