The automated process has been tested only on CentOS 7 droplet and will install and configure the following:
Page 2 of 2
This post captures details on how to install NetBox and configure it on a server running CentOS 7. NetBox is an IP address management (IPAM) and data center infrastructure management (DCIM) tool. As part of the install process, we shall be installing and configuring, the following:
- PostgreSQL – Database used by NetBox
- Apache – NetBox can be made accessible either using Apache or nginx. This post covers Apache and setting it up as reverse proxy.
- NetBox – the application itself
- gunicorn – Python WSGI server
- supervisord – a process control system used to control gunicorn.
- firewalld – used to configure firewall on CentOS 7
A while ago I was assisting someone to troubleshoot login failures for a CGI application. I noticed that the CGI session information was not being written to the /tmp directory on the Linux server.
First suspect: Disk space.
df -h Filesystem Size Used Avail Use% Mounted on /dev/cciss/c0d0p2 32G 26G 4.1G 87% / /dev/cciss/c0d0p1 97M 26M 67M 28% /boot none 1003M 8.0K 1003M 1% /dev/shm
In order to debug whether the FortiOS has received the command executed on the shell, one can use the following process. This example below shows the reboot command being sent and how it’s received by FortiOS system init process.
We want the logs to be stored in memory so that they can be reviewed. Use the following commands to log debug messages to memory.
Note: Disable this after troubleshooting has been completed.