2015年4月9日

linux 网络配置

摘要: Ubuntu1. 静态ip编辑/etc/network/interfacesauto loiface lo inet loopbackauto eth0 iface eth0 inet staticaddress 192.168.1.20netmask 255.255.255.0gateway 1... 阅读全文

posted @ 2015-04-09 12:02 kramer 阅读(382) 评论(0) 推荐(0) 编辑

linux 设置root可以远程登陆

摘要: 编辑/etc/ssh/sshd_config设置PermitRootLogin yes重启ssh 服务ubuntuservice ssh start 阅读全文

posted @ 2015-04-09 09:16 kramer 阅读(287) 评论(0) 推荐(0) 编辑

察看linux 发行版

摘要: 好像没有太通用的方法。看一下/etc/redhat-release。 redhat 系列(包括centos) 会有如下内容[root@localhost ~]# cat /etc/redhat-release CentOS Linux release 7.0.1406 (Core) 看一下/etc/... 阅读全文

posted @ 2015-04-09 08:55 kramer 阅读(145) 评论(0) 推荐(0) 编辑

mysql bin-log 设置

摘要: mysql 的事物日至为[root@localhost mysql]# ls -ldtr mysql-bin.*-rw-rw---- 1 mysql mysql 2222211 4月 9 08:35 mysql-bin.000001-rw-rw---- 1 mysql mysql 2... 阅读全文

posted @ 2015-04-09 08:53 kramer 阅读(2802) 评论(0) 推荐(0) 编辑

导航