75 static files copied.
-------------------------------------------------------------------------------------------------------------
./manage.py createsuperuser
WARNING:root:No local_settings file found.
Username (leave blank to use 'root'): mgruser
Email address: 10880347@qq.com
Password: 123456
Password (again): 123456
Superuser created successfully.
---------------------------------------------------------------------------------------------------------------
5、webvirtmgr配置
mkdir -pv /var/www
cp -Rv /application/webvirtmgr /var/www/webvirtmgr
vim /etc/nginx/conf.d/webvirtmgr.conf
server {
listen 80 default_server;
server_name $hostname;
#access_log /var/log/nginx/webvirtmgr_access_log;
location /static/ {
root /var/www/webvirtmgr/webvirtmgr; # or /srv instead of /var
expires max;
}