用MariaDB代替
教程:http://blog.csdn.net/lipingping951462/article/details/51898191
导入数据库:http://blog.csdn.net/guochaoxxl/article/details/52784565
-
编辑/etc/my.cnf文件,在[mysqld]节下 添加 lower_case_table_names=1 参数,并设置相应的值 (备注:为0时大小写敏感,为1时大小写不敏感,默认为0)。(必须是在[mysqld]节点下添加,否则没有效果)
-
重启mariadb: systemctl restart mariadb.service
- cd /usr/jexus/
- vim jws
- 将#export MONO_IOMAP="all"前面的“#”去掉!
- 重启Jexus服务: /usr/jexus/jws restart [siteName]
教程:http://blog.csdn.net/u010098331/article/details/51647977
$ scp -r mWebsite [email protected]:/var/www
命令含义:
- mWebsite #起始路径文件
- [email protected]:/var/www #目的路径
systemctl stop firewalld.service #停止firewall
systemctl disable firewalld.service #禁止firewall开机启动
firewall-cmd --zone=public --add-port=80/tcp --permanent
命令含义:
- --zone #作用域
- --add-port=80/tcp #添加端口,格式为:端口/通讯协议
- --permanent #永久生效,没有此参数重启后失效
firewall-cmd --reload
systemctl start tomcat
systemctl restart tomcat
systemctl stop tomcat
/usr/share/tomcat
输入命令开启日志打印输出,命令# tail -f catalina.out
ctrl+c退出打印,返回命令行
ps -ef|grep tomcat
-
nginx提示地址或端口被占用解决 http://blog.csdn.net/mtm2012/article/details/42775647
-
各种报错,以下必须写到nginx.conf下,不能include
upstream smb {
server 192.168.153.132:8080;
}
upstream security {
server 192.168.153.132:8081;
}
upstream service {
server 192.168.153.132:8082;
}
upstream web {
server 192.168.153.132:8083;
}
upstream webm {
server 192.168.153.132:8084;
}
server {
listen 8090;
server_name 192.168.153.132:8090;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
proxy_pass http://smb;
index index.html index.htm;
}
}
server {
listen 8091;
server_name 192.168.153.132:8091;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
proxy_pass http://security;
index index.html index.htm;
}
}
server {
listen 8092;
server_name 192.168.153.132:8092;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
proxy_pass http://service;
index index.html index.htm;
}
}
server {
listen 8093;
server_name 192.168.153.132:8093;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
proxy_pass http://web;
index index.html index.htm;
}
}
server {
listen 8094;
server_name 192.168.153.132:8094;
#charset koi8-r;
#access_log logs/host.access.log main;
location / {
proxy_pass http://webm;
index index.html index.htm;
}
}
- Linux常用操作:https://github.com/xpsilvester/Notes/tree/master/Linux
- workbranch使用教程:https://jingyan.baidu.com/article/3f16e003c2da162591c103e4.html
- windows-mysql安装教程:
3.1 http://www.jb51.net/article/127626.htm
3.2 http://blog.csdn.net/JLongSL/article/details/56484762 - centos-mysql安装教程:
4.1 http://blog.csdn.net/u011673111/article/details/50962862
4.2 http://blog.csdn.net/zhu19774279/article/details/51602001 - centos-workbranch安装教程:http://blog.csdn.net/zzpzheng/article/details/48575963
- centos-asp.net环境搭建:http://blog.csdn.net/u010098331/article/details/51647977
- centos-nginx安装:http://blog.csdn.net/u012402276/article/details/51985172
- centos-php/apache安装:http://www.linuxidc.com/Linux/2014-12/111030.htm
- mysql大小写设置不敏感:https://www.cnblogs.com/xinhuaxuan/p/6537879.html
- sudo /etc/init.d/mysqld restart #重启mysql
- sudo /etc/init.d/mysqld stop #停止mysql
- sudo /etc/init.d/mysqld start #启动mysql
- sudo /etc/init.d/httpd restart #重启Apche
- sudo /usr/jexus/jws start #启动Jexus
- sudo /usr/local/nginx-1.11.2/sbin/nginx #启动nginx
- sudo /usr/local/nginx-1.11.2/sbin/nginx -s reload #重启nginx
- sudo /usr/local/nginx-1.11.2/sbin/nginx -s stop #停止nginx
- service iptables restart #重启防火墙