EVALinux


We know GNU & Linux and FOSS!

The Community gives us our edge.

Check out our services.

HowTo: Ask questions in Bash?

by Renich
2015-12-29 19:11:30 +0000

I’ve been writing some script to configure some firewall and came up with this way of asking a question in Bash. I hope it helps as an example. Feel free to contribute your own: #!/usr/bin/env bash ask() { local query=$1 if ( echo $query | grep -qi password ); then read -s -p "$query: " […]

read more...

HowTo: Generate free SSL certificates for Nginx/Tengine with LetsEncrypt

by Renich
2015-12-12 01:26:09 +0000

OK, it’s fairly easy to get this done on a distro like Funtoo/Gentoo or Fedora, which are the distros I use. First of all, you need to install this thing on your server: # Fedora su - dnf -y install letsencrypt # Funtoo/Gentoo su - mkdir src && cd src git clone https://github.com/letsencrypt/letsencrypt cd letsencrypt […]

read more...

HowTo: Permanently redirect a request with parameter consideration in Tengine/NginX

by Renich
2015-03-25 03:37:11 +0000

Well, this one gave me a super hard time. I looked everywhere and found nothing. There is a lot of misinformation. As usual, the Nginx and Funtoo communities helped me. Thanks to: MTecknology in #nginx @ Freenode Tracerneo in #funtoo @ Freenode So, how do we do this? Easy, we use a map: # get […]

read more...