X-Git-Url: http://47.100.26.94:8080/?a=blobdiff_plain;f=posts%2Flinux-note.org;h=1878acbffa25b1be2aaf8f20b2db70fc7138c82f;hb=972d4b8fc6bc21b764000b9f1d2c2ba7b5a75889;hp=3f9ef8ff76332a318c3171c60d8f257e4465301d;hpb=e2c3207537cd891cb080554c4e5b42ef634e8809;p=blog.git diff --git a/posts/linux-note.org b/posts/linux-note.org index 3f9ef8f..1878acb 100644 --- a/posts/linux-note.org +++ b/posts/linux-note.org @@ -25,6 +25,14 @@ *** Build Emacs from source 1. gnutls error, to fix, install =gnutls-dev= and =pkg-config= + +configure emacs =-without-x= + +#+BEGIN_EXAMPLE + +Does Emacs use -lgnutls? no +#+END_EXAMPLE + ** others package htop, lftp, apache2, vsftpd, silversearcher-ag, * Issue @@ -45,6 +53,23 @@ https://blog.paranoidpenguin.net/2016/12/installing-the-virtualbox-guest-additio ** HostOnly and NAT ** Port forward, web server + +** Shared folder +- Install Guest Addition, +https://forums.virtualbox.org/viewtopic.php?t=15679 +- Create folder to share in host machine +- add user to virtualbox group + +* Apache config +** cgi directory config +#+BEGIN_SRC sh + ScriptAlias /cgi-bin/ /var/cgi-bin/ + + AllowOverride None + Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch + Require all granted + +#+END_SRC * Raspberry raspbian ** start sshd on boot and vnc server http://www.raspberrypi-spy.co.uk/2012/05/enable-secure-shell-ssh-on-your-raspberry-pi/