linux命令

centos环境

关闭防火墙命令:

  chkconfig iptables off   当前这次不生效,重启后一直生效

  service iptables stop 当前这次生效,重启后不生效

:set nu 显示行号

chown 改变文件拥有者

chmod 改变文件权限

chmod g+w,o-r mysql.conf g表示Group组的权限  O表示other其他人的权限

连接mysql-proxy  mysql -uroot -proot -h192.18.1.12 -P4040  注意-P是大写

posted @ 2019-10-06 15:44  Nullpointer_dxy  阅读(162)  评论(0编辑  收藏  举报