<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.blackboxframework.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ivan</id>
	<title>BlackBox Framework Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.blackboxframework.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ivan"/>
	<link rel="alternate" type="text/html" href="http://wiki.blackboxframework.org/index.php?title=Special:Contributions/Ivan"/>
	<updated>2026-06-15T13:49:11Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>http://wiki.blackboxframework.org/index.php?title=Center_Server_Administration_Guide&amp;diff=10176</id>
		<title>Center Server Administration Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.blackboxframework.org/index.php?title=Center_Server_Administration_Guide&amp;diff=10176"/>
		<updated>2026-05-19T04:43:19Z</updated>

		<summary type="html">&lt;p&gt;Ivan: /* Server reboot */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Server control panel==&lt;br /&gt;
&lt;br /&gt;
For controlling technical aspects of the server (POWER ON, POWER OFF, RESET, etc.) a web-based control panel is used.&lt;br /&gt;
&lt;br /&gt;
Login at [https://manage.edis.at/whmcs/clientarea.php?action=productdetails&amp;amp;id=214299 https://manage.edis.at/whmcs/clientarea.php?action=productdetails&amp;amp;id=214299],&lt;br /&gt;
use Login credentials&lt;br /&gt;
&lt;br /&gt;
email: &amp;lt;edisUser&amp;gt;&lt;br /&gt;
&lt;br /&gt;
password: &amp;lt;edisPassword&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Server login==&lt;br /&gt;
&lt;br /&gt;
The server allows secure (ssh) logins only. From a Windows machine it is recommended to use the PuTTy tool as the ssh client.&lt;br /&gt;
&lt;br /&gt;
Login at blackboxframework.org on port 22 with SSH selected.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Server reboot ==&lt;br /&gt;
&lt;br /&gt;
Use the control panel for rebooting the server in case it shows any anomaly such as out-of memory error messages.&lt;br /&gt;
&lt;br /&gt;
Then login to the server and start Redmine:&lt;br /&gt;
&lt;br /&gt;
 cd /var/www/redmine-5.1.10&lt;br /&gt;
&lt;br /&gt;
 unicorn_rails -c config/unicorn.rb -E production -D&lt;br /&gt;
&lt;br /&gt;
== Certificate extension ==&lt;br /&gt;
&lt;br /&gt;
Certificates should be extended every 3 months.&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
 service nginx stop&lt;br /&gt;
&lt;br /&gt;
 certbot renew&lt;br /&gt;
&lt;br /&gt;
or use the long form if you need to deal with virtual hosts explicitly:&lt;br /&gt;
&lt;br /&gt;
 certbot certonly --standalone -d blackboxframework.org -d forum.blackboxframework.org -d community.blackboxframework.org -d wiki.blackboxframework.org -d www.blackboxframework.org -d redmine.blackboxframework.org&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 service nginx start&lt;br /&gt;
&lt;br /&gt;
For checking the web server status use:&lt;br /&gt;
&lt;br /&gt;
 service nginx status&lt;br /&gt;
&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
== MySql Database control panel ==&lt;br /&gt;
&lt;br /&gt;
This can be used for example for creating backups of MySql databases. The administration tool is a php-based web application. &lt;br /&gt;
&lt;br /&gt;
Login at [http://178.209.50.165/phpmyadmin/ http://178.209.50.165/phpmyadmin/]&lt;br /&gt;
&lt;br /&gt;
user: &amp;lt;mysqlUser&amp;gt;&lt;br /&gt;
&lt;br /&gt;
password: &amp;lt;mysqlPassword&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Backup Files ==&lt;br /&gt;
&lt;br /&gt;
Before running the following bash command you should copy your public key to this server in order to login without password (modify it for user/serveradress you want to use):&lt;br /&gt;
&lt;br /&gt;
ssh-copy-id -i .ssh/id_rsa.pub user@serveradress&lt;br /&gt;
&lt;br /&gt;
bash command for backup of all files starting from /var/www (modify it for user/serveradress you want to use).&lt;br /&gt;
&lt;br /&gt;
nohup tar -c /var/www 2&amp;gt;/dev/null | ssh user@serveradress &amp;quot;dd of=.../backup_of_var-www.tar&amp;quot; &amp;gt; result.out 2&amp;gt;&amp;amp;1 &amp;amp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cleaning up Disc Space ==&lt;br /&gt;
&lt;br /&gt;
The servers running on the host produce a lot of log files, summing up to several gigabytes over time.&lt;br /&gt;
Therefore it is required to check the available disc space periodically and to clean up old log files.&lt;br /&gt;
The log files are located in /var/log. With the following commands it is easy to identify large log files,&lt;br /&gt;
which are potential candidates for cleaning up. &lt;br /&gt;
&lt;br /&gt;
cd /var/log&lt;br /&gt;
&lt;br /&gt;
sudo du -had 1&lt;br /&gt;
&lt;br /&gt;
If the result of 'df' and 'du' differ largely, check if there are deleted files that are still open in some program.&lt;br /&gt;
Use the following command to get a list of such files.&lt;br /&gt;
&lt;br /&gt;
lsof | grep deleted&lt;br /&gt;
&lt;br /&gt;
For checking and trimming the systemd journal use&lt;br /&gt;
&lt;br /&gt;
sudo journalctl --disk-usage&lt;br /&gt;
&lt;br /&gt;
sudo journalctl --vacuum-size=10M&lt;br /&gt;
&lt;br /&gt;
== Virtual Hosts ==&lt;br /&gt;
&lt;br /&gt;
The web-based services on our Edis server use so-called ''virtual hosts'' in order to provide nice URLs such as&lt;br /&gt;
''forum.blackboxframework.org'', ''wiki.blackboxframework.org'', etc.&lt;br /&gt;
For every distinct service, there exists a corresponding virtual host. &lt;br /&gt;
All virtual hosts are entered in the domain name system (DNS) on [http://name.com name.com] in addition to &lt;br /&gt;
the root domain name ''blackboxframework.org''.&lt;br /&gt;
&lt;br /&gt;
If a new service needs to be added, a new entry in the domain name system is required and our web server (nginx) needs to be&lt;br /&gt;
configured to serve this new virtual host in ''/etc/nginx/sites-enabled''. In addition, the list of virtual hosts for certificate renewal needs to be extended (see ''Certificate extension'').&lt;br /&gt;
&lt;br /&gt;
After any change to the nginx configuration, a HUP signal may be sent to the nginx process in order to reload the configuration without a server restart: ''kill -HUP `cat /var/run/nginx.pid''`&lt;br /&gt;
&lt;br /&gt;
Virtual Hosts served by ''nginx''&lt;br /&gt;
# blackboxframework.org (root domain name; content management system)&lt;br /&gt;
# www.blackboxframework.org (redirected to blackboxframework.org)&lt;br /&gt;
# forum.blackboxframework.org&lt;br /&gt;
# community.blackboxframework.org&lt;br /&gt;
# wiki.blackboxframework.org&lt;br /&gt;
# redmine.blackboxframework.org&lt;br /&gt;
&lt;br /&gt;
All http requests are redirected to https automatically.&lt;/div&gt;</summary>
		<author><name>Ivan</name></author>
	</entry>
	<entry>
		<id>http://wiki.blackboxframework.org/index.php?title=Center_Server_Administration_Guide&amp;diff=10175</id>
		<title>Center Server Administration Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.blackboxframework.org/index.php?title=Center_Server_Administration_Guide&amp;diff=10175"/>
		<updated>2026-05-19T04:43:02Z</updated>

		<summary type="html">&lt;p&gt;Ivan: /* Server reboot */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Server control panel==&lt;br /&gt;
&lt;br /&gt;
For controlling technical aspects of the server (POWER ON, POWER OFF, RESET, etc.) a web-based control panel is used.&lt;br /&gt;
&lt;br /&gt;
Login at [https://manage.edis.at/whmcs/clientarea.php?action=productdetails&amp;amp;id=214299 https://manage.edis.at/whmcs/clientarea.php?action=productdetails&amp;amp;id=214299],&lt;br /&gt;
use Login credentials&lt;br /&gt;
&lt;br /&gt;
email: &amp;lt;edisUser&amp;gt;&lt;br /&gt;
&lt;br /&gt;
password: &amp;lt;edisPassword&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Server login==&lt;br /&gt;
&lt;br /&gt;
The server allows secure (ssh) logins only. From a Windows machine it is recommended to use the PuTTy tool as the ssh client.&lt;br /&gt;
&lt;br /&gt;
Login at blackboxframework.org on port 22 with SSH selected.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Server reboot ==&lt;br /&gt;
&lt;br /&gt;
Use the control panel for rebooting the server in case it shows any anomaly such as out-of memory error messages.&lt;br /&gt;
&lt;br /&gt;
Then login to the server and start Redmine:&lt;br /&gt;
&lt;br /&gt;
cd /var/www/redmine-5.1.10&lt;br /&gt;
&lt;br /&gt;
unicorn_rails -c config/unicorn.rb -E production -D&lt;br /&gt;
&lt;br /&gt;
== Certificate extension ==&lt;br /&gt;
&lt;br /&gt;
Certificates should be extended every 3 months.&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
 service nginx stop&lt;br /&gt;
&lt;br /&gt;
 certbot renew&lt;br /&gt;
&lt;br /&gt;
or use the long form if you need to deal with virtual hosts explicitly:&lt;br /&gt;
&lt;br /&gt;
 certbot certonly --standalone -d blackboxframework.org -d forum.blackboxframework.org -d community.blackboxframework.org -d wiki.blackboxframework.org -d www.blackboxframework.org -d redmine.blackboxframework.org&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 service nginx start&lt;br /&gt;
&lt;br /&gt;
For checking the web server status use:&lt;br /&gt;
&lt;br /&gt;
 service nginx status&lt;br /&gt;
&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
== MySql Database control panel ==&lt;br /&gt;
&lt;br /&gt;
This can be used for example for creating backups of MySql databases. The administration tool is a php-based web application. &lt;br /&gt;
&lt;br /&gt;
Login at [http://178.209.50.165/phpmyadmin/ http://178.209.50.165/phpmyadmin/]&lt;br /&gt;
&lt;br /&gt;
user: &amp;lt;mysqlUser&amp;gt;&lt;br /&gt;
&lt;br /&gt;
password: &amp;lt;mysqlPassword&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Backup Files ==&lt;br /&gt;
&lt;br /&gt;
Before running the following bash command you should copy your public key to this server in order to login without password (modify it for user/serveradress you want to use):&lt;br /&gt;
&lt;br /&gt;
ssh-copy-id -i .ssh/id_rsa.pub user@serveradress&lt;br /&gt;
&lt;br /&gt;
bash command for backup of all files starting from /var/www (modify it for user/serveradress you want to use).&lt;br /&gt;
&lt;br /&gt;
nohup tar -c /var/www 2&amp;gt;/dev/null | ssh user@serveradress &amp;quot;dd of=.../backup_of_var-www.tar&amp;quot; &amp;gt; result.out 2&amp;gt;&amp;amp;1 &amp;amp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cleaning up Disc Space ==&lt;br /&gt;
&lt;br /&gt;
The servers running on the host produce a lot of log files, summing up to several gigabytes over time.&lt;br /&gt;
Therefore it is required to check the available disc space periodically and to clean up old log files.&lt;br /&gt;
The log files are located in /var/log. With the following commands it is easy to identify large log files,&lt;br /&gt;
which are potential candidates for cleaning up. &lt;br /&gt;
&lt;br /&gt;
cd /var/log&lt;br /&gt;
&lt;br /&gt;
sudo du -had 1&lt;br /&gt;
&lt;br /&gt;
If the result of 'df' and 'du' differ largely, check if there are deleted files that are still open in some program.&lt;br /&gt;
Use the following command to get a list of such files.&lt;br /&gt;
&lt;br /&gt;
lsof | grep deleted&lt;br /&gt;
&lt;br /&gt;
For checking and trimming the systemd journal use&lt;br /&gt;
&lt;br /&gt;
sudo journalctl --disk-usage&lt;br /&gt;
&lt;br /&gt;
sudo journalctl --vacuum-size=10M&lt;br /&gt;
&lt;br /&gt;
== Virtual Hosts ==&lt;br /&gt;
&lt;br /&gt;
The web-based services on our Edis server use so-called ''virtual hosts'' in order to provide nice URLs such as&lt;br /&gt;
''forum.blackboxframework.org'', ''wiki.blackboxframework.org'', etc.&lt;br /&gt;
For every distinct service, there exists a corresponding virtual host. &lt;br /&gt;
All virtual hosts are entered in the domain name system (DNS) on [http://name.com name.com] in addition to &lt;br /&gt;
the root domain name ''blackboxframework.org''.&lt;br /&gt;
&lt;br /&gt;
If a new service needs to be added, a new entry in the domain name system is required and our web server (nginx) needs to be&lt;br /&gt;
configured to serve this new virtual host in ''/etc/nginx/sites-enabled''. In addition, the list of virtual hosts for certificate renewal needs to be extended (see ''Certificate extension'').&lt;br /&gt;
&lt;br /&gt;
After any change to the nginx configuration, a HUP signal may be sent to the nginx process in order to reload the configuration without a server restart: ''kill -HUP `cat /var/run/nginx.pid''`&lt;br /&gt;
&lt;br /&gt;
Virtual Hosts served by ''nginx''&lt;br /&gt;
# blackboxframework.org (root domain name; content management system)&lt;br /&gt;
# www.blackboxframework.org (redirected to blackboxframework.org)&lt;br /&gt;
# forum.blackboxframework.org&lt;br /&gt;
# community.blackboxframework.org&lt;br /&gt;
# wiki.blackboxframework.org&lt;br /&gt;
# redmine.blackboxframework.org&lt;br /&gt;
&lt;br /&gt;
All http requests are redirected to https automatically.&lt;/div&gt;</summary>
		<author><name>Ivan</name></author>
	</entry>
	<entry>
		<id>http://wiki.blackboxframework.org/index.php?title=Center_Server_Administration_Guide&amp;diff=540</id>
		<title>Center Server Administration Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.blackboxframework.org/index.php?title=Center_Server_Administration_Guide&amp;diff=540"/>
		<updated>2022-05-30T07:47:51Z</updated>

		<summary type="html">&lt;p&gt;Ivan: /* Certificate extension */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Server control panel==&lt;br /&gt;
&lt;br /&gt;
For controlling technical aspects of the server (POWER ON, POWER OFF, RESET, etc.) a web-based control panel is used.&lt;br /&gt;
&lt;br /&gt;
Login at [https://manage.edis.at/whmcs/clientarea.php?action=productdetails&amp;amp;id=214299 https://manage.edis.at/whmcs/clientarea.php?action=productdetails&amp;amp;id=214299],&lt;br /&gt;
use Login credentials&lt;br /&gt;
&lt;br /&gt;
email: &amp;lt;edisUser&amp;gt;&lt;br /&gt;
&lt;br /&gt;
password: &amp;lt;edisPassword&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Server login==&lt;br /&gt;
&lt;br /&gt;
The server allows secure (ssh) logins only. From a Windows machine it is recommended to use the PuTTy tool as the ssh client.&lt;br /&gt;
&lt;br /&gt;
Login at blackboxframework.org on port 22 with SSH selected.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Server reboot ==&lt;br /&gt;
&lt;br /&gt;
Use the control panel for rebooting the server in case it shows any anomaly such as out-of memory error messages.&lt;br /&gt;
&lt;br /&gt;
Then login to the server and start Redmine:&lt;br /&gt;
&lt;br /&gt;
cd /var/www/redmine-2.5.2&lt;br /&gt;
&lt;br /&gt;
unicorn_rails -c config/unicorn.rb -E production -D&lt;br /&gt;
&lt;br /&gt;
== Certificate extension ==&lt;br /&gt;
&lt;br /&gt;
Certificates should be extended every 3 months.&lt;br /&gt;
&lt;br /&gt;
 sudo su&lt;br /&gt;
&lt;br /&gt;
 service nginx stop&lt;br /&gt;
&lt;br /&gt;
 certbot renew&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
 certbot certonly --standalone -d blackboxframework.org -d forum.blackboxframework.org -d community.blackboxframework.org -d wiki.blackboxframework.org -d www.blackboxframework.org -d redmine.blackboxframework.org&lt;br /&gt;
&lt;br /&gt;
then&lt;br /&gt;
&lt;br /&gt;
 service nginx start&lt;br /&gt;
&lt;br /&gt;
For checking the web server status use:&lt;br /&gt;
&lt;br /&gt;
 service nginx status&lt;br /&gt;
&lt;br /&gt;
 exit&lt;br /&gt;
&lt;br /&gt;
== MySql Database control panel ==&lt;br /&gt;
&lt;br /&gt;
This can be used for example for creating backups of MySql databases. The administration tool is a php-based web application. &lt;br /&gt;
&lt;br /&gt;
Login at [http://178.209.50.165/phpmyadmin/ http://178.209.50.165/phpmyadmin/]&lt;br /&gt;
&lt;br /&gt;
user: &amp;lt;mysqlUser&amp;gt;&lt;br /&gt;
&lt;br /&gt;
password: &amp;lt;mysqlPassword&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Backup Files ==&lt;br /&gt;
&lt;br /&gt;
Before running the following bash command you should copy your public key to this server in order to login without password (modify it for user/serveradress you want to use):&lt;br /&gt;
&lt;br /&gt;
ssh-copy-id -i .ssh/id_rsa.pub user@serveradress&lt;br /&gt;
&lt;br /&gt;
bash command for backup of all files starting from /var/www (modify it for user/serveradress you want to use).&lt;br /&gt;
&lt;br /&gt;
nohup tar -c /var/www 2&amp;gt;/dev/null | ssh user@serveradress &amp;quot;dd of=.../backup_of_var-www.tar&amp;quot; &amp;gt; result.out 2&amp;gt;&amp;amp;1 &amp;amp;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Cleaning up Disc Space ==&lt;br /&gt;
&lt;br /&gt;
The servers running on the host produce a lot of log files, summing up to several gigabytes over time.&lt;br /&gt;
Therefore it is required to check the available disc space periodically and to clean up old log files.&lt;br /&gt;
The log files are located in /var/log. With the following commands it is easy to identify large log files,&lt;br /&gt;
which are potential candidates for cleaning up. &lt;br /&gt;
&lt;br /&gt;
cd /var/log&lt;br /&gt;
&lt;br /&gt;
sudo du -had 1&lt;br /&gt;
&lt;br /&gt;
If the result of 'df' and 'du' differ largely, check if there are deleted files that are still open in some program.&lt;br /&gt;
Use the following command to get a list of such files.&lt;br /&gt;
&lt;br /&gt;
lsof | grep deleted&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Virtual Hosts ==&lt;br /&gt;
&lt;br /&gt;
The web-based services on our Edis server use so-called ''virtual hosts'' in order to provide nice URLs such as&lt;br /&gt;
''forum.blackboxframework.org'', ''wiki.blackboxframework.org'', etc.&lt;br /&gt;
For every distinct service, there exists a corresponding virtual host. &lt;br /&gt;
All virtual hosts are entered in the domain name system (DNS) on [http://name.com name.com] in addition to &lt;br /&gt;
the root domain name ''blackboxframework.org''.&lt;br /&gt;
&lt;br /&gt;
If a new service needs to be added, a new entry in the domain name system is required and our web server (nginx) needs to be&lt;br /&gt;
configured to serve this new virtual host in ''/etc/nginx/sites-enabled''. In addition, the list of virtual hosts for certificate renewal needs to be extended (see ''Certificate extension'').&lt;br /&gt;
&lt;br /&gt;
After any change to the nginx configuration, a HUP signal may be sent to the nginx process in order to reload the configuration without a server restart: ''kill -HUP `cat /var/run/nginx.pid''`&lt;br /&gt;
&lt;br /&gt;
Virtual Hosts served by ''nginx''&lt;br /&gt;
# blackboxframework.org (root domain name; content management system)&lt;br /&gt;
# www.blackboxframework.org (redirected to blackboxframework.org)&lt;br /&gt;
# forum.blackboxframework.org&lt;br /&gt;
# community.blackboxframework.org&lt;br /&gt;
# wiki.blackboxframework.org&lt;br /&gt;
# redmine.blackboxframework.org&lt;br /&gt;
&lt;br /&gt;
All http requests are redirected to https automatically.&lt;/div&gt;</summary>
		<author><name>Ivan</name></author>
	</entry>
</feed>