分类 运维 下的文章
OpenLiteSpeed虚拟机配置
虚拟主机 wordpress > 基本
虚拟主机名 wordpress
虚拟主机根目录 /usr/local/lsws/wordpress
配置文件 /usr/local/lsws/conf/vhosts/wordpress/vhconf.conf
chown -R nobody:nogroup /usr/local/lsws/wordpress
常规
文档根 $VH_ROOT/
OpenLiteSpeed面板加载慢的方法
index.php:34 GET http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js net::ERR_CONNECTION_TIMED_OUT
index.php:41 GET http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.1/jquery-ui.min.js ne
debian 安装 LiteSpeed
Debian 7, 8 安装
wget -O - http://rpms.litespeedtech.com/debian/enable_lst_debian_repo.sh | bash
安装
apt-get install openlitespeed
提示成功访问ip:7080
用户名admin 密码123456
更改OpenLiteSpeed面板的默认密码
面板找了半天,好像没这个选项。
好像只能命令
/usr/local/lsws/admin/misc/admpass.sh
Please specify the user name of administrator.
This is the user name required to login the administration Web interface.
User name [admin]
防火墙设置只对cloudflare开放端口
#!/bin/bash
# 禁止来自IPv4的所有HTTP/S访问请求
iptables -I INPUT -p tcp --dport 80 -j DROP
iptables -I INPUT -p tcp --dport 443 -j DROP
# 对Cloudflare CDN IPv4地址开放HTTP/S入站访问
for i in `curl https://www.cloudflare