去网站下载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
#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-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
①解决安卓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
用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
需求架构准备工作主从服务器时间同步#
主从服务器同时配置crontab任务,与NTP服务器同步时间即可*/5 * * * * ntpdate 172.16.0.1
&>/dev/null部署配置主库配置vi /etc/my.cnf server-id = 1 # 在复制架构中,需保持全局唯一 ...
分类:
数据库 时间:
2014-05-01 22:27:40
阅读次数:
699
1.打开/etc/lightdm/lightdm.conf这个文件
2.将"autologin-user=wzk"修改为"autologin-user=root"...
分类:
其他好文 时间:
2014-04-30 22:26:39
阅读次数:
252
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
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
首先,保证可以ping通
然后执行如下命令,
master登录slave
master上面执行如下指令:
2.4 确认本机sshd的配置文件(root)
$ vi/etc/ssh/sshd_config
找到以下内容,并去掉注释符"#"
RSAAuthenticationyes
PubkeyAuthenticationyes
AuthorizedKeys...
分类:
其他好文 时间:
2014-04-29 13:14:22
阅读次数:
280