Ubuntu20.04にlighttpdをインストールする

1.lighttpdをインストール
# sudo apt install lighttpd

2.自動起動を設定
# sudo systemctl enable –now lighttpd

Synchronizing state of lighttpd.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable lighttpd

3.ステータスを確認
# sudo systemctl status lighttpd

● lighttpd.service - Lighttpd Daemon
     Loaded: loaded (/lib/systemd/system/lighttpd.service; enabled; vendor preset: enabled)
     Active: active (running) since Mon 2021-09-20 19:33:36 JST; 9s ago
    Process: 15936 ExecStartPre=/usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf (code=exite>
   Main PID: 15945 (lighttpd)
      Tasks: 1 (limit: 2273)
     Memory: 976.0K
     CGroup: /system.slice/lighttpd.service
             mq15945 /usr/sbin/lighttpd -D -f /etc/lighttpd/lighttpd.conf

Sep 20 19:33:36 ubuntu systemd[1]: Starting Lighttpd Daemon...
Sep 20 19:33:36 ubuntu systemd[1]: Started Lighttpd Daemon.

 

Ubuntu 20.04

Posted by arkgame