启动ftp服务:
service vsftpd start
启动nginx :进入user app sbin
输入:./nginx
server {
listen 80;
server_name localhost;
charset utf-8;
#access_log logs/host.access.log main;
location / {
root html;
index index.html index.htm;
}
location /mis { #mis是我网站的webroot名称
index index.jsp; #项目的首页
proxy_pass http://localhost:8080/mis; #反向代理到我的tomcat中mis这个项目
proxy_set_header X-Real-IP $remote_addr;
}
查看mysql的版本号:
首先需要登陆mysql:
在shell中1、敲入 mysql -u 用户名 -p
2、提示要求你输入密码:敲入你的密码
3、出现mysql>
4、敲入select version();
即可显示版本号了。。
直接改root用户的编码就行 在/root/.bash_profile中添加export LC_ALL="zh_CN.GBK"
export LANG="zh_CN.GBK"或者 vi /etc/profile

6631

被折叠的 条评论
为什么被折叠?



