Установка и настройка Web клиента
Настраиваем nginx
# nano /etc/nginx/conf.d/virtualbox.conf
Вставляем:
server {
listen xxx.xxx.xxx.xxx:80; # тут ip вашего сервера
root /var/www/virtualbox/;
index index.php index.html index.htm;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to index.html
try_files $uri $uri/ /index.html;
# Uncomment to enable naxsi on this location
# include /etc/nginx/naxsi.rules
}
# pass the PHP scripts to FastCGI server listening on 1$
#
location ~ \.php$ {
try_files $uri =404;
fastcgi_split_path_info ^(.+.php)(.*)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}После настроек, перезапускаем сервер
Скачиваем из репозитория(ветка master) скрипт и распаковываем его
Копируем файл конфигруаций
Открываем и настраиваем
Заходим в Web морду через браузер. Лоиг и пароль admin
Last updated