Monday, 4 December 2017
Running IBM HTTP Server via Linux scripts and sudo - an update
This updates a post that I wrote back in 2012, which was based around Red Hat Enterprise Linux 6.
I've had another go at this, testing on Red Hat Enterprise Linux 7.4, and have a different solution.
In essence, RHEL 7 is now using systemd rather than chkconfig, so here's an alternative: -
Create the Service - as root
Description=IBM HTTP Server
ExecStart=/opt/ibm/HTTPServer/bin/apachectl -k start -f /opt/ibm/HTTPServer/MFP/conf/httpd.conf
ExecStop=/opt/ibm/HTTPServer/bin/apachectl -k stop -f /opt/ibm/HTTPServer/MFP/conf/httpd.conf
Reload systemd - as root
sudo systemctl daemon-reload
Start the service - as root
systemctl start ibmhttpd
Check the service status - as root
systemctl status ibmhttpd
Stop the service - as root
systemctl stop ibmhttpd
Register the service to auto-start - as root
systemctl enable ibmhttpd
This is somewhat simpler than the older chkconfig approach.
With thanks to this: -
and this: -
Having created a new user on an Ubuntu 16.04 boxen, I started seeing this: - Received disconnect from 192.168.3.123 port 22:2: Too many au...
I've just spent ~1 hour trying to get a pair of Powerline adapters to .... pair. This involved pressing a "Pair" button on one...
On IBM developerWorks here: - https://developer.ibm.com/cloudautomation/videos/ Use CAM to deploy Websphere Liberty into AWS Deploy MQ topol...
If you're running IBM Notes 9.0.1 and have updated to macOS 10.14 Mojave, be aware that you'll also need to install the most recent ...