Skip to content
GitLab
Menu
Why GitLab
Pricing
Contact Sales
Explore
Why GitLab
Pricing
Contact Sales
Explore
Sign in
Get free trial
Changes
Page history
增加简易的安装步骤
authored
Feb 12, 2016
by
Yu Hao
Show whitespace changes
Inline
Side-by-side
v3-Install.md
View page @
8bc05aa3
...
@@ -2,9 +2,25 @@
...
@@ -2,9 +2,25 @@
请在下载页面查看最新版本 https://github.com/orvice/ss-panel/releases
请在下载页面查看最新版本 https://github.com/orvice/ss-panel/releases
### Nginx设置
这里以ss-panel下载至
`/home/www/ss-panel`
目录为例
这里以ss-panel下载至/home/www/ss-panel目录为例进行Nginx配置:
### 路径配置
#### Apache设置
VirtualHost配置中增加
```
<Directory /home/www/ss-panel/public>
AllowOverride All
Order Deny,Allow
Allow from all
</Directory>
```
并且需要开启
`mod_rewrite`
模块。
#### Nginx设置
```
```
root /home/www/ss-panel/public;
root /home/www/ss-panel/public;
...
@@ -14,3 +30,13 @@ location / {
...
@@ -14,3 +30,13 @@ location / {
}
}
```
```
### composer安装
```
cd /home/www/ss-panel
curl -sS https://getcomposer.org/installer | php
php composer.phar install
```
如果出现错误,请按照错误信息安装相应的php模块,然后再执行
`php composer.phar install`