Skip to content
Advertisement

Tag: server

How do I run a simple Go server as a daemon in Debian?

I recently wrote a simple server in Go: It works perfectly well if compiled and then executed by ./go_http_server &. The problem is that it doesn’t survive reboots. So after some reading, I attempted to daemonize it by placing a script in /etc/init.d: …then running update-rc.d go_http_server defaults, and poof! It runs on boot, as verified by ps -ef |

ChefServer – Server returned error 502

I’m facing a problem during the Chef server configuration. When I install Chef server for the first time, everything goes well. Now, since I need to do some tests, when I uninstall Chef server and I try to install it again and add a new user, this happens: Probably is also worth to mention, that when I remove Chef server,

Running multiple Java Applications on startup

I currently run these java applications with the following command via root: java -Xms1G -Xmx1G -jar /var/www/tekkit.socialnetwk.com/tekkit.jar nogui Although if I close the terminal window those applications close/stop. Is there anyway to stop this from happening? Either creating it as a service or to start it on boot. I’ve tried rc.local but no luck. I’m running on Ubuntu – Newest.

Tomcat Server creating Directories in tmp

Everytime my embedded virtual tomcat server is ran (spring boot) it creates a directory structure in /tmp/ that is named tomcat.##########################.8080 (I am guessing 8080 is for port or something but the 8080 is consistent). This structure does not take up much space alone but after running the tomcat server often over time this can fill up. Can I prevent

Create a Debian imaging server for windows 7

Issue I have been tasked with creating a Debian imaging server for our company. Unfortunately my knowledge with, both Linux and servers is very limited, (this is part of an up-skilling program). Steps Currently I have tried to follow the below tutorials on creating a PXEBoot server and a ProxyDHCP: ProxyDHCP:help.ubuntu.com/community/UbuntuLTSP/ProxyDHCP PXE Boot : https://help.ubuntu.com/community/PXEInstallMultiDistro PXE Boot : https://wiki.debian.org/PXEBootInstall#Installing_Debian_using_network_booting Originally

Advertisement