![]() For a better quality of random numbers consider to generate the key on a “real” PC. Do not enter a challenge password at the end of the creation process otherwise lighttpd will prompt at each start for mkdir -p /etc/lighttpd/sslĬreate Key and Signing request. If you want to use your own key and signing request:Ĭreate your server key and csr by openssl. Also the Python Package Index must be bash letsencrypt-auto -v Do not use the standard shell on Debian 8 based systems. Install additional packages needed by letsencrypt create the virtual environment. Start the webserver and see if its # lighty-enable-mod # systemctl enable # systemctl start # journalctl -xnĬreate the certificates. You can add the DNS Server either in the Network section of the NIC adapter config (see above) or in /etc/systemd/nfĬreate a mv /etc/nf ln -sf /run/systemd/resolve/nf /etc/nf Maybe you want enable dhcpĪnd enable systemd-networkd and systemctl enable systemctl enable rviceĭefine DNS Server. Create a file /etc/systemd/network/work, Name it as you want. Disable old (init) config style by saving /etc/network/interfaces and creating an empty mv /etc/network/interfaces touch /etc/network/interfaces Set the hostname respectily full qualified domain hostnamectl set-hostname Ĭonfigure a static IP Address. Do not start graphical desktop, just boot in text systemctl systemctl set-default -f multi-user.target Install required apt-get -y install php5 php5-common php5-gd php-xml-parser php5-intl php5-json apt-get -y install php5-sqlite php5-mysql php5-pgsql smbclient php5-curl curl libcurl3 apt-get -y install lighttpd apt-get -y remove apache2 apache2-bin apache2-data libaprutil1-dbd-sqlite3 libaprutil1-ldap apt-get -y install apt-get -y install git bashįor Raspbian Users. If you want to setup the cloud by ssh and you want to login with root an password authentification set “PermitRootLogin” to “yes” in /etc/ssh/sshd_config.ĭon’t forget to set it back to “without-password” after finishing. On raspbian login as user pi change to ~ $ sudo su. ![]() ![]() This Tuturial describes the steps to setup owncloud on top of debian/raspian with lighttpd as webserver and https encryption with certificates sign by Let’s encrypt campain.
0 Comments
Leave a Reply. |