wget http://nginx.org/download/nginx-1.5.9.tar.gz
./configure: error: the HTTP rewrite module requires the PCRE library. 安装pcre-devel解决问题 yum -y install pcre-devel
./configure: error: the HTTP cache module requires md5 functions from OpenSSL library. You can either disable the module by using --without-http-cache option, or install the OpenSSL library into the system, or build the OpenSSL library statically from the source with nginx by using --with-http_ssl_module --with-openssl=<path> options. 解决: yum -y install openssl openssl-devel
Nginx: [error] open() "/usr/local/Nginx/logs/Nginx.pid 解决方法: [root@localhost nginx]# /usr/local/nginx/sbin/nginx -c /usr/local/nginx/conf/nginx.conf 使用nginx -c的参数指定nginx.conf文件的位置 [root@localhost nginx]# cd logs/ [root@localhost logs]# ll
Linux的复制移动删除操做html
安装参考连接mysql
Linux下完全卸载mysql详解nginx
可能会出问题git
解决方案:github
出下这种错误通常是因为安装了一键安装脚本后没有对命令作连接,能够用下面的命令找到mysql命令的绝对路径: find / -name mysql 假设查找到的路径为/usr/local/mysql/bin/mysql,可使用下面的命令设置一个连接: ln -s /usr/local/mysql/bin/mysql /usr/bin/mysql 而后就可使用mysql命令了。redis
解决方案:sql
ln -s /var/run/mysqld/mysqld.sock /tmp/mysql.sock数据库
参考连接apache
参考连接vim
更改密码sql :
use mysql; update user set authentication_string=password(“newpassword“) where user=”root”; flush privileges;
SET PASSWORD = PASSWORD('123456'); //密码要有足够的复杂度
tar -zxvf *.tar.gz
vim /etc/profile MAVEN_HOME=/usr/local/maven3 export MAVEN_HOME export PATH=${PATH}:${MAVEN_HOME}/bin
mvn -v
<mirror> <id>nexus-aliyun</id> <mirrorOf>*</mirrorOf> <name>Nexus aliyun</name> <url>http://maven.aliyun.com/nexus/content/groups/public</url> </mirror>
yum install git 卸载:yum remove git
yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc perl-ExtUtils-MakeMaker
解压 tar zxvf git-2.11.0.tar.gz cd git-2.11.0
make prefix=/usr/local/git all make prefix=/usr/local/git install
whereis git git --version
vim /etc/profile 加入export PATH=$PATH:/usr/local/git/bin 生效配置文件 source /etc/profile
[root@zhuzhonghua2-fqawb util]# git config –global user.name “hiddenzzh” [root@zhuzhonghua2-fqawb util]# git config –global user.email “youremail@domain.com” 此时$HOME目录下会新建一个.gitconfig文件
ssh-keygen -t ras -C “youremail@domain.com” 系统会提示key的保存位置(通常是~/.ssh目录)和指定口令,保持默认,连续三次便可
vim ~/.ssh/id_rsa.pub 而后将id_rsa.pub文件中的内容粘贴到gitub的“SSH and GPG keys”中。
下载方式
解压
tar -zxvf redis-4.0.6.tar.gz
在解压文件夹内编译
cd redis-4.0.6 make
编译后启动
src/redis-server src/redis-cli
测试
127.0.0.1:8888> set key hello OK 127.0.0.1:8888> get key "hello"
Could not connect to Redis at 127.0.0.1:6379: Connection refused
redis-server /etc/redis.conf redis-cli
通常开始会提示未安装.NET FrameWork 3.5
解决方案:控制面板——程序——启用或关闭Windows功能——选择NET3.5——肯定——等待——完成
建立角色:
建立数据库
sqlServer数据库开放权限
++若是navicate连不上sqlserver,换下数据库的实例名++
注意。若是按以上步骤且端口没法Telnet且远程链接不上时,改sqlserver绑定的端口号便可。
[mysqld] basedir=C:\Program Files\MySQL\MySQL Server 5.7(mysql所在目录) datadir=C:\Program Files\MySQL\MySQL Server 5.7\data (mysql所在目录\data)
mysqld --initialize mysql install