data.zip继之前cmake编译的mysqlhttps://www.shnne.com/post/170.html配置如下1.将data.zip上传到根目录,执行下面的命令unzip -o data.zip tree datachown -R mysql.mysql /datafind /data -type f -name "mysql"|xargs ls -l或find /data -type f -name "mysql" -...
/
1659 次浏览/
数据库教程
安装相关包1.cmake软件cd /home/shnne/tools/
tar xf cmake-2.8.8.tar.gz
cd cmake-2.8.8
./configure
gmake
gmake install
cd ../2.依赖包yum install ncurses-devel -y 3.开始安装mysql创建用户和组groupadd mysqluseradd mysql -s /s...
查看版本/application/apache/bin/apachectl -V/application/nginx/sbin/nginx -v/application/php/bin/php -vmysql直接登陆就可以看到查看编译的参数/application/nginx/sbin/nginx -V #用大V/application/apache/build/config.nicegrep CONFIGURE_LINE /application/mysql/b...
nginx相关优化参数1.隐藏nginx版本号在nginx.conf配置文件中,http,server,location段添加server_tokens off;2.想要彻底修改nginx错误返回页面在编译安装之前修改nginx.h文件sed -n '13,17p' src/core/nginx.h#define NGINX_VERSION "1.6.2" #将...
环境:三台内网IP为172.16.1.0/24段的主机B,C,D 一台A主机有双网卡,eth0配有可以上外网的IP 192.168.1.102,eth1配有跟B,C,D同一段内网的IP 172.16.1.102,不用配网关问题:如何让三台内网主机可以通过A主机来访问外网设置方法如下:1.将B,C,D的三台主机的网关配置为A的内网卡地址,也就是172.16.1.102,DNS要配置,不然不能上网2.在A主机上开启路由转发,永久设置如下 ...
ssh -p52113 shnne@192.168.1.103scp -P52113 /etc/hosts shnne@192.168.1.103:/tmpsftp -oPort=52113 shnne@192.168.1.103ssh-copy-id -i id_dsa.pub "-P 52113 shnne@192.168.1.103"rsync -avz -e ‘ssh -p 22’ /etc/hosts 192.168.1.103:~mysql -...
版本:Centos6.8 x86_64nginx 1.6.2.tar.gzmysql 5.5.32php-5.3.27一、安装nginx安装前准备yum install pcre pcre-devel openssl openssl-devel -y2.安装nginx创建一个nginx用户useradd -s /sbin/nologin -M nginx...
安装之前检查mysql和apache是否正常启动安装准备yum install zlib libxml libjpeg freetype libpng gd curl zlib-devel libxml2-devel libjpeg-devel freetype-devel libpng-devel gd-devel curl-...
httpd-2.2.27.tar.gz安装cd /home/shnne/tools/
wget ....httpd-2.2.27.tar.gz
tar xf httpd-2.2.27.tar.gz
cd httpd-2.2.27可以通过查看INSTALL 和README文件来查看安装方式。编译以下内容./configure \
--prefix=/application/apache2.2.27 \...
1、网络拓扑图2、环境部署准备Sersync A服务 Centos6.6 ip 192.168.1.101Rsync B服务 Centos6.6 ip 192.168.1.103Rsync C服务 Centos6.6 ip 192.168.1.1041、检查系统环境变量[root@A-server ~]# cat /etc/redhat-release
CentOS...