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