码迷,mamicode.com
首页 >  
搜索关键字:etc    ( 45464个结果
Linux基础知识复习之命令篇
一.常用命令1.目录结构/bin:常用命令 /boot:启动程序 /dev:设备文件 /etc:启动,关闭,配置程序与文件 /home:用户工作根目录 /lib:共享连接库 /root:超级用户的工作目录 /sbin:系统管理员常用管理程序 /tmp:临时文件 /lost+found:系统出现异常时,用于保存部分资料 /misc:常用工具 /mnt:光驱,硬盘等的挂载点 /media:光驱的自动挂载...
分类:系统相关   时间:2015-05-05 14:26:32    阅读次数:250
win7 远程桌面连接centos 6.5
首先安装tigervnc-server: yum install tigervnc-server 安装好后,设置 vi /etc/sysconfig/vncservers [root@gateway-001 ~]# cat /etc/sysconfig/vncservers # The VNCSER...
分类:Windows程序   时间:2015-05-05 14:15:05    阅读次数:800
(转)Nginx在RedHat中系统服务配置脚本
转自:http://binyan17.iteye.com/blog/1688308以下代码是在前人的基础上,结合自己服务器实际情况修改的,本人服务器环境是:CentOS 6.31、创建启动脚本, root用户执行 vi /etc/init.d/nginx ,保存如下脚本#!/bin/sh # # ....
分类:其他好文   时间:2015-05-05 14:01:50    阅读次数:90
RHEL6彻底禁用ip6的方法
一、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
/etc/fstab is read-only in single mode
mount -n -o remount /? 可以让它变成可编辑的 http://forums.fedoraforum.org/archive/index.php/t-144176.html
分类:其他好文   时间:2015-05-05 12:53:56    阅读次数:167
linux下mysql的简单配置
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
device eth0 does not seem to be present delaying initialization.
从vcenter-vsphereclient从模板创建虚拟机后修改IP报错中克隆(clone)了一个Centos6.6的虚拟机,启动之后发现网卡没有启动。于是重启一下network服务,发现提示错误信息deviceeth0doesnotseemtobepresentdelayinginitialization.解决方案:将/etc/udev/rules.d/70-persistent-ne..
分类:其他好文   时间:2015-05-05 12:50:10    阅读次数:168
linux禁止tty终端登陆
修改文件/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中ubuntu的IP地址
首先是vitualbox中网络连接的设置。默认的为网络地址转换(NAT)修改为桥接网卡,其他默认。然后就是进入到ubuntu中修改IP地址,这个相信大家百度都能查到。sudo vi /etc/network/interfaces然后,修改里面的内容,追加内容: auto eth0 iface ...
分类:系统相关   时间:2015-05-05 12:18:50    阅读次数:227
Ubuntu Server配置网络和查看IP地址
文章来源地址:http://my.oschina.net/junn/blog/142983Ubuntu Server的网络参数保存在文件/etc/network/interfaces中,默认设置使用dhcp,内容如下:# The primary network interfaceauto eth0i...
分类:系统相关   时间:2015-05-05 10:32:05    阅读次数:443
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!