Docker gogs.io Git Host
Use the following docker compose file to host your own git repository.
Use the following docker code to host your own online office using Code by Collabora. Or use the following docker code to host your own online office using Onlyoffice. You can host both as well using different domains for each and see which one you like more.
Use the following docker compose file to host your own data in NextCloud host.
Use the following docker compose file to host a Nginx reverse proxy on your docker container to use 1 IP to host multiple websites, all with HTTPS. First login username and password:
This will install Nginx and PHP 8.x on Ubuntu 22.04 or later and perform basic configurations needed to get it up and running. This is used to create servers to serve static content as well as minor PHP scripts that need to run on it.
PHP-FPM service, when running as socket, seems to crash making Nginx output errors and users frustated. This is a simple fix to bypass the issue with auto restarting the php upon crash. Although it is recommended to see why the crash occurs in first place and fix that first.
It is best not to use root user for anything as root is a common user name. It’s better to create sudo users for these purposes. Here’s the easiest way to add a user to sudo group.
In order to protect your SSH against hacks, the most basic you can do is to change the port, but that is never enough. We know the basics to be disable root logins, change port, enable pubkey authentication, IP based blocking and so on. However, one shoe never fits all. If you keep changing computers, […]
When ESP is installed on a project, the USB port is not always accessible. Sometimes, even though the USB is accessible, the device is installed on site and bringing along your laptop to reprogram it is troublesome. It is more convinient to just reprogram it over the air (OTA).