码迷,mamicode.com
首页 >  
搜索关键字:(etc)linux系统配置文件    ( 45469个结果
centos升级到最新的mysql
去网站下载mysql的yum源,地址如下: http://repo.mysql.com/ 在linux上先查看系统的版本号,根据版本号对应下载 more /etc/redhat-release rpm -Uvh http://repo.mysql.com/mysql-community-release-el6-5.noarch.rpm yum -y upgrade mysql m...
分类:数据库   时间:2014-07-22 23:03:13    阅读次数:472
linux下常见的压缩指令
#touch2022#gzip2022(源文件被删除)#gzip-d2022.gz#gzip2022(不可以用来压缩目录)#gunzip2022.gz#zipservices.zip/etc/services#zip-retc.zip/etc(可以压缩目录)#unzipservices.zip#bzip22022#bunzip22022.bz2#bzip2-k2022#bunzip2-k2022.bz2#tar-zxvf2022.tar.gz#tar-zxvf2022..
分类:系统相关   时间:2014-05-03 01:45:10    阅读次数:400
rsync inotify
rsync客户端+inotify-tools1.1.1.12rsync服务器1.1.1.111.1.1.12配置[root@slave3wwwroot]#cat/etc/rsyncd-web.sh #!/bin/bash host1=1.1.1.11 src=/web/wwwroot/ dst1=web1 /usr/bin/inotifywait-mrq--timefmt‘%d/%m/%y%H:%M‘--format‘%T%w%f%e‘-emodify,delete,create,attrib..
分类:其他好文   时间:2014-05-03 01:08:22    阅读次数:426
android开发环境搭建遇到的问题
①解决安卓SDK更新dl-ssl.google.com无法连接进入C:\Windows\System32\drivers\etc下,用记事本打开host文件://74.125.237.1 dl-ssl.google.com74.125.23.190 dl-ssl.google.com②eclipse...
分类:移动开发   时间:2014-05-02 12:15:03    阅读次数:343
is not in the sudoers file解决方法
用sudo时提示"xxx is not in the sudoers file. This incident will be reported.其中XXX是你的用户名,也就是你的用户名没有权限使用sudo,我们只要修改一下/etc/sudoers文件就行了。 下面是修改方法:1)进入超级用户模式。也...
分类:其他好文   时间:2014-05-01 22:46:43    阅读次数:465
MariaDB 10 基于OpenSSL的主从复制
需求架构准备工作主从服务器时间同步# 主从服务器同时配置crontab任务,与NTP服务器同步时间即可*/5 * * * * ntpdate 172.16.0.1 &>/dev/null部署配置主库配置vi /etc/my.cnf server-id = 1 # 在复制架构中,需保持全局唯一 ...
分类:数据库   时间:2014-05-01 22:27:40    阅读次数:699
ubuntu 杂谈(六)------ubuntu 开机直接进入root用户
1.打开/etc/lightdm/lightdm.conf这个文件 2.将"autologin-user=wzk"修改为"autologin-user=root"...
分类:其他好文   时间:2014-04-30 22:26:39    阅读次数:252
ubuntu 杂谈(八)--- ubuntu 开机画面的设置
ubuntu 开机画面分为两部分,一个是grub界面,一个是plymouth界面 1.grub界面 (1)首先将grub界面的桌面背景图片(最好是PNG格式)拷贝到/boot/grub目录下。图片 分辨率最好=屏幕分辨率。 (2)修改etc/default/grub文件,需要sudo 权限。 GRUB_DEFAULT=0 表示启动grub菜单的第一个选项; GRUB_HIDDEN_...
分类:其他好文   时间:2014-04-30 22:22:38    阅读次数:297
Teradata Express for VMware
1,按照vmware,导入系统(注意td提供的版本是64位的) 2,linux系统:root/root 3,配置ip: Enter a cop entry in the linux hosts file (/etc/hosts accessible from the linux command line in the VMware console, ie. c:>vi /etc/host...
分类:其他好文   时间:2014-04-30 22:13:39    阅读次数:503
CentOS, 快速设置ssh无密码登录
首先,保证可以ping通 然后执行如下命令, master登录slave master上面执行如下指令: 2.4 确认本机sshd的配置文件(root)   $ vi/etc/ssh/sshd_config   找到以下内容,并去掉注释符"#" RSAAuthenticationyes   PubkeyAuthenticationyes   AuthorizedKeys...
分类:其他好文   时间:2014-04-29 13:14:22    阅读次数:280
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!