From 199763e5ebf6c97b5a65467586f9bf55da4d50db Mon Sep 17 00:00:00 2001 From: Will Budicm Date: Mon, 31 Aug 2020 09:06:33 +1000 Subject: [PATCH] Tested on debian. --- Current Development Check List.md | 10 ++++++---- Installation_LightHTTPD.txt | 24 ++++++++++++++++++++++-- 2 files changed, 28 insertions(+), 6 deletions(-) diff --git a/Current Development Check List.md b/Current Development Check List.md index 4ac9fa5..23aaa1d 100644 --- a/Current Development Check List.md +++ b/Current Development Check List.md @@ -2,10 +2,12 @@ *This page lists current development and issues being worked on in the LifeLog app. Being in the **Sun** stage, means there is a production environment. And usable, used. When, the project reaches **Earth** stage. It will be at its final specification. No data structures or major new features can be added or requested anymore. Only bug fixes, enhancements and efficiency fixes, if any at the **Earth** stage.* -This version is not compatible in data structure to prior versions. Data migration is required, to transfer previous data (see ../dbLifeLog/main.cnf). - ## Life Log Development +### v.2.1 SUN STABLE New Features + +* Static pages setting from pages directory. + ### v.2.0 SUN RC2 Encountered * ✔ Export to CVS button on selected logs. @@ -24,14 +26,14 @@ This version is not compatible in data structure to prior versions. Data migrati * ✔ Implement gzip http page encoding compression of traffic. * ✔ Autocompletion picks up long false words, in html and code type logs. -### v.1.8 SUN STABLE Encountered +### v.1.8 SUN STABLE Encountered/Fixed * ✔ Implement View by Amount Type, reset button for categories. * ✔ Introduce a new column header background colour. * ✔ Autologin bypasses actual wanted login. * This is bug 20. -### v.1.7 MOON STAGE Encountered +### v.1.7 MOON STAGE Encountered?Fixed * ✔ Database backup tgz ball, upload and download button on config page. * You must have the password you logged in to unscramble the backup. diff --git a/Installation_LightHTTPD.txt b/Installation_LightHTTPD.txt index 1e851cc..1ec9a39 100644 --- a/Installation_LightHTTPD.txt +++ b/Installation_LightHTTPD.txt @@ -1,6 +1,19 @@ # Compile/Install LightHTTPD with SSL Support +# wget https://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-1.4.54.tar.gz + +sudo apt install lighttpd + +cd ~/dev/lighttpd-1.4.54 +tar xvzf lighttpd-1.4.54.tar.gz +sudo apt autoremove -y +sudo apt-get install intltool -y +sudo apt-get install pcre-config -y +sudo apt-get install build-essential -y +sudo apt-get install libssl-dev -y +sudo apt-get install libpcre3-dev -y +sudo apt-get install libbz2-dev -y +sudo apt install libssl-dev -y -sudo apt install libssl-dev ./configure --prefix=/usr/local/lighttpd --with-openssl --with-sqlite make sudo make install @@ -10,6 +23,7 @@ lighttpd -V ## Create Selfsigned SSL Certificate +cd ~/dev openssl req -x509 -newkey rsa:4096 -sha256 -days 3650 -nodes \ -keyout elite.key -out elite.crt -subj "/CN=elite.net" \ -addext "subjectAltName=DNS:elite.net,DNS:www.elite.net,IP:192.168.1.45" @@ -44,5 +58,11 @@ accesslog.filename = “/var/log/lighttpd/elite.net.access.log” ## Start "lighty" with -D option for interactive console trouble shooting and testing. -lighttpd -D -f ~/dev/LifeLog/lighttpd.conf +/usr/sbin/lighttpd -D -f ~/dev/LifeLog/lighttpd.conf + + +## Run as service , def is: lighttpd -D -f /etc/lighttpd/lighttpd.conf +sudo systemctl start lighttpd -D -f /home/will/dev/LifeLog/lighttpd.conf +sudo systemctl enable lighttpd +sudo systemctl status lighttpd \ No newline at end of file -- 2.34.1