Configuring components

Available configuration procedures

Below there are some configurations examples for common settings changes

	  	  			
#login as root and create database and user
create database nginx_admin;
grant all privileges on nginx_admin.* to nginx_admin@'%' identified by 'password';
flush privileges;
		
#Go to nginx-admin folder default installation /opt/nginx-admin-2.0.3/conf/nginx-admin.conf 
#and change settings to your mysql database settings like :
NGINX_ADMIN_DB_DRIVER=mysql
NGINX_ADMIN_DB_HOST=localhost
NGINX_ADMIN_DB_PORT=3306
NGINX_ADMIN_DB_NAME=nginx_admin
NGINX_ADMIN_DB_USERNAME=nginx_admin
NGINX_ADMIN_DB_PASSWORD=password

#Restart service. After that your database will be installed on mysql with default username and password  (admin:admin)
service nginx-admin restart
	  	  			
  	    		
	  	  			
#login as root and create database and user
create database nginx_admin;
grant all privileges on nginx_admin.* to nginx_admin@'%' identified by 'password';
flush privileges;
		
#Go to nginx-admin folder default installation /opt/nginx-admin-2.0.3/conf/nginx-admin.conf 
#and change settings to your mysql database settings like :
NGINX_ADMIN_DB_DRIVER=mariadb
NGINX_ADMIN_DB_HOST=localhost
NGINX_ADMIN_DB_PORT=3306
NGINX_ADMIN_DB_NAME=nginx_admin
NGINX_ADMIN_DB_USERNAME=nginx_admin
NGINX_ADMIN_DB_PASSWORD=password

#Restart service. After that your database will be installed on mariadb with default username and password (admin:admin)
service nginx-admin restart
	  	  			
  	    		
	  	  			
#Go to nginx-admin folder default installation /opt/nginx-admin-2.0.3/conf/nginx-admin.conf 
#and change settings to your smtp settings like :
NGINX_ADMIN_MAIL_SERVER=localhost
NGINX_ADMIN_MAIL_PORT=25
NGINX_ADMIN_MAIL_TLS=false
NGINX_ADMIN_MAIL_FROM_NAME=from@localhost.com
NGINX_ADMIN_MAIL_FROM_ADDRESS=from@localhost.com
NGINX_ADMIN_MAIL_AUTHENTICATE=false
NGINX_ADMIN_MAIL_USERNAME=xxxx
NGINX_ADMIN_MAIL_PASSWORD=xxxx
NGINX_ADMIN_MAIL_CHARSET=utf-8