![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux
psz619
这个作者很懒,什么都没留下…
展开
-
Linux中常用操作命令
一,常用指令 ls 显示文件或目录 -l 列出文件详细信息l(list) -a 列出当前目录下所有文件及目录,包括隐藏的a(all) mkdir 创建目录 -p 创建目录,若无父目录,则创建p(parent) cd 切换目录 touch原创 2016-09-18 14:26:26 · 208 阅读 · 0 评论 -
linux中安装lamp环境
一、配置防火墙 CentOS 7.0默认使用的是firewall作为防火墙。 1、关闭firewall: [python] view plain copy systemctl stop firewalld.service #停止firewall systemctl disable firewalld.service #禁止firewall开机启动转载 2016-09-02 21:20:24 · 228 阅读 · 0 评论 -
linux主从复制配置
主从复制配置 步骤如下: 主服务器:从服务器ip地址分别为 [python] view plain copy 192.168.145.222、192.168.145.226 1、修改主服务器master: [python] view plain copy vi /etc/my.cnf [mysqld] log-b转载 2016-09-02 21:16:12 · 1593 阅读 · 0 评论 -
linux中lnmp环境的搭建
再安装之前大家可以先看一下lamp的安装过程 http://blog.csdn.net/zph1234/article/details/51248124 1.安装nginx [python] view plain copy yum install yum-priorities -y wget http://nginx.org/packages/cen转载 2016-09-06 15:27:47 · 421 阅读 · 0 评论 -
mysql主主复制配置
一 原理说明 二 配置步骤 1、需要2台搭建完成的mysql。 2、两台机器上都建立用户,并赋予复制权限 GRANT REPLICATION SLAVE,RELOAD,SUPER ON *.* TO mysql_backup@'%' IDENTIFIED BY '123456'; GRANT REPLICATION SLAVE,RELOAD,SUPER ON *.*原创 2016-09-08 11:52:18 · 255 阅读 · 0 评论