This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
$ENV{"LANG"}="C"; | |
use strict; | |
$ENV{'PATH'} = "/bin:/sbin:/usr/bin:/usr/sbin"; | |
my %hash_mail = (); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Install Zimbra 8.6 | |
## Ubuntu 14.04 64Bits, 4GB RAM, 100GB HD | |
## For best performance use SSD. | |
## http://www.linuxpro.com.br/2015/06/instalacao-do-zimbra-8-6-0-no-ubuntu.html | |
## Download Zimbra: https://www.zimbra.com/downloads/zimbra-collaboration-open-source/ | |
## http://serverfault.com/questions/707997/zimbra-8-6-sends-some-mail-into-black-hole | |
## Run as root | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### Install PHP 7.1 on Debian 8.6 64Bits | |
### https://www.howtoforge.com/tutorial/how-to-install-php-7-on-debian/ | |
### http://www.shaunfreeman.name/compiling-php-7-on-centos/ | |
apt-get install build-essential nano autoconf | |
apt-get install libfcgi-dev libfcgi0ldbl libjpeg62-turbo-dbg libmcrypt-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
### Install PHP 5.6.29 on Ubuntu 16.04 64Bits | |
### https://www.howtoforge.com/tutorial/how-to-install-php-5-6-on-ubuntu-16-04/ | |
apt-get -y install build-essential libxml2-dev libxslt1-dev | |
apt-get -y install libfcgi-dev libfcgi0ldbl libjpeg62-dbg libxml2-dev | |
apt-get -y install libmcrypt-dev libssl-dev libc-client2007e libc-client2007e-dev | |
apt-get -y install libbz2-dev libcurl4-openssl-dev libjpeg-dev libpng12-dev | |
apt-get -y install libfreetype6-dev libkrb5-dev libpq-dev libicu-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Install Samba4 4.6.4 on OpenSUSE 42.2 | |
## Author: Nilton OS www.linuxpro.com.br | |
zypper ar http://download.opensuse.org/repositories/home:/jniltinho/openSUSE_Leap_42.2/home:jniltinho.repo | |
zypper --gpg-auto-import-keys refresh | |
zypper in samba4-4.6.4 | |
##ln -s /opt/samba4/bin/samba-tool /usr/local/bin/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
/* | |
Usage of ./gowget [URL] for download | |
URL: https://github.com/thbar/golang-playground/blob/master/download-files.go | |
URL: https://stackoverflow.com/questions/11692860/how-can-i-efficiently-download-a-large-file-using-go | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: Nilton OS -- www.linuxpro.com.br | |
# Version: 0.4 | |
# Source: https://gist.github.com/jniltinho/6998822 | |
echo 'setup-quokka-nginx-uwsgi-opensuse.sh' | |
echo 'Support OpenSUSE 11.X, 12.X, 13.X' | |
echo 'Installs Nginx + uWSGI + Quokka' | |
# Check if user has root privileges |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Install Redmine + Nginx | |
## Tested on Debian 8.7 64Bits | |
## Author: Nilton OS -- www.linuxpro.com.br | |
## Version: 0.1 | |
# Check if user has root privileges | |
if [[ $EUID -ne 0 ]]; then | |
echo "You must run the script as root or using sudo" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"log" | |
"os/exec" | |
"strings" | |
) | |
func main() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Install and Setup TiDB on Linux | |
## https://github.com/pingcap/tidb | |
## https://github.com/pingcap/docs/blob/master/sql/privilege.md | |
## https://pingcap.com/blog/2016-10-17-how-we-build-tidb/ | |
## https://github.com/pingcap/tidb/blob/master/config/config.toml.example | |
## Remove MariaDB/Mysql | |
systemctl stop mysql mysqld |