- 博客(6)
- 收藏
- 关注
转载 centos7下doker部署 报iptables错
docker run -p 6379 :6379 -d –name redis-server docker.io/redis:latest redis-server –port 6379df4e4f1d373131706661845e609e151a2092419c7e38b007e4c7edc1de0e4029 /usr/bin/docker-current: Error response f
2017-12-26 17:28:33 486
原创 Centos7+Mysql5.7实现主从复制
一、Master主服务器配置(192.168.30.201)找到mysql配置文件my.cnf在末尾加上: find / -name my.cnf log-bin=mysql-bin #slave会基于此log-bin来做replication server-id=1 #master的标示 innodb_flush_log_at_trx_commit=1 sync_binlog=1重启 s
2017-12-20 13:52:33 2193 1
转载 在centos中安装了mysql5.7之后解决不知道随机的密码的问题
在安装完成mysql5.7 之后,发现密码不知道。不要紧,直接重置密码。1.修改配置文件my.cfg [root@localhost ~]# vi /etc/my.cnf 找到mysqld在之后添加 skip-grant-tables 保存退出 2. 重启mysql服务 service mysqld restart 3.直接登陆mysql而不需要密码 mysql -u root
2017-12-16 11:17:39 930
转载 centos7安装 .netcore
.NET CORE的官方(http://dotnet.github.io/getting-started/)只提供了Windows, Ubuntu14.04, 及Docker(也是基于Ubuntu14.04做的Image). 但鉴于微软已经把RedHat做为参考平台而且用Ubuntu14.04做Server我心里还是没底的. 所以想着在CentOS下配置.NET CORE的环境开始我也是走的编译源码
2017-12-14 16:39:28 894
转载 nginx安装错误 ./configure: error: the HTTP rewrite module requires the PCRE library.
有时候,我们需要单独安装nginx,来处理大量的下载请求。单独在Centos5安装nginx遇到的rewrite和HTTP cache错误解决办法:wget http://nginx.org/download/nginx-0.8.33.tar.gz tar -zxvf nginx-0.8.33.tar.gz cd nginx-0.8.33 ./configure –prefix=/usr/
2017-12-14 13:46:16 5681 1
原创 centos卸载rpm包的方法
以卸载apache为例 [root@server ~]# rpm -qa|grep httpd httpd-2.2.3-11.el5_2.centos.4 httpd-manual-2.2.3-11.el5_2.centos.4说明:rpm –qa | grep mysql 命令是为了把mysql相关的包都列出来,我上面的例子是Linux默认安装apache的rpm软件包列表,如果是别的Lin
2017-12-11 20:02:32 13780
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人