Skip to main content

Clone, Make, Install Hiawatha Webserver on Arch Linux

pacman -Syyu # always update

pacman -S libxslt # this is needed to compile and build hiawatha

git clone https://github.com/hsleisink/hiawatha.git # archlinux-git-howto

cd hiawatha

mkdir build

cd build

make install/strip # install-cmake-from-archlinux-package

/usr/local/sbin/hiawatha -d

Ctrl-C

nano /etc/systemd/system/hiawatha.service
[Unit]
Description=Hiawatha Webserver Service
Requires=network.target
After=network.target

[Service]
ExecStart=/usr/local/sbin/hiawatha
Type=forking

[Install]
WantedBy=multi-user.target
Ctl+X
Y
Enter

systemctl enable hiawatha.service

systemctl daemon-reload

systemctl start hiawatha

Comments

Popular posts from this blog

Windows 10 - Complete Installation Tutorial

Create Windows 10 installation media Here’s when to use these instructions: You have a license to install Windows 10 and are upgrading this PC from Windows 7 or Windows 8.1. You need to reinstall Windows 10 on a PC you’ve already successfully activated Windows 10. Note : Do not enter Windows Serial Number. Enter Serial number after Windows Installation. Using the tool to create installation media: Download tool now , and select  Run . You need to be an administrator to run this tool. If you agree to the license terms, select  Accept . On the  What do you want to do?  page, select Create  installation media for another PC , and then select  Next . Select the language, edition, and architecture (64-bit or 32-bit) for Windows 10. This table will help you decide which edition of Windows 10 you’ll choose: Your current edition of Windows Windows 10 edition Windows 7 Starter Windows 7 Home Basic Windows 7 Home Premium Windows 7 Profession...

Compile Packages from Source on macOS

Install Homebrew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" Read Documentation Examples xmrig brew install cmake libuv libmicrohttpd openssl git clone https://github.com/xmrig/xmrig.git mkdir xmrig/build cd xmrig/build cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl make xmrig-nvidia brew install cmake libuv libmicrohttpd openssl git clone https://github.com/xmrig/xmrig-nvidia.git mkdir xmrig-nvidia/build cd xmrig-nvidia/build cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl make xmrig-nvidia brew install cmake libuv libmicrohttpd openssl git clone https://github.com/xmrig/xmrig-amd.git mkdir xmrig-amd/build cd xmrig-amd/build cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl make