View install-rancher-ubuntu.md

Instalando Rancher no Ubuntu 16.04 64Bits

O ambiente foi criado na nuvem do Google

Preparando ambiente Manager

1 Agent Server: 2 CPUs, 7.5GB de RAM, 30GB de HD.

Para ambiente de Homologação (HOMO)

View install-wine-centos7.sh
#!/bin/bash
# Download, build and install wine 32-bit on CentOS 7
# For details of this script, please check
# https://www.systutorials.com/239913/install-32-bit-wine-1-8-centos-7/
# Author: Eric Zhiqiang Ma (zma@ericzma.com)
function compile_wine {
View install_tidb_on_ispconfig.sh
#!/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
View install_setup_tidb.sh
#!/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/
useradd tidb -d /var/lib/tidb -m
usermod -a -G tidb tidb
cd /var/lib/tidb
View get_linux_dist.go
package main
import (
"log"
"os/exec"
"strings"
)
func main() {
View gowget.go
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
*/
View install_pagespeed_nginx.sh
#!/bin/bash
## Install PageSpeed on Debian 8/9 and Ubuntu 16.04 64Bits
## https://www.howtoforge.com/tutorial/how-to-install-nginx-and-google-pagespeed-on-ubuntu-16-04/
## http://nginx.org/en/linux_packages.html
## https://www.modpagespeed.com/doc/build_ngx_pagespeed_from_source
## https://developers.google.com/speed/pagespeed/module/
## Debian ISO: https://cdimage.debian.org/cdimage/archive/8.9.0/amd64/iso-cd/
## No Link abaixo tem o pacote do Nginx para o Debian 8 64Bits
## https://github.com/jniltinho/ispconfig/tree/master/packages/debian/jessie
## Run as root (sudo su)
View install_otrs_ubuntu.sh
#!/bin/bash
## Install OTRS 5.0.23 on Ubuntu 16.04
## https://www.howtoforge.com/tutorial/how-to-install-otrs-opensource-trouble-ticket-system-on-ubuntu-16-04/
## http://www.geoffstratton.com/otrs-installation-5011-ubuntu-1604
## https://complemento.net.br/2015/11/13/instalando-o-otrs-5-0-no-centos-7-com-banco-de-dados-mariadb-fork-do-mysql/
## https://www.unixmen.com/install-otrs-ubuntu-16-04-apache/
## Run as root (sudo su)
useradd -r -d /opt/otrs -c 'OTRS User' otrs
usermod -a -G www-data otrs
View install_sqlserver_ubuntu.sh
#!/bin/bash
## Install SQL Server on Ubuntu 16.04
## https://docs.microsoft.com/pt-br/sql/linux/quickstart-install-connect-ubuntu
## Run as root (sudo su)
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add -
add-apt-repository "$(curl https://packages.microsoft.com/config/ubuntu/16.04/mssql-server.list)"
add-apt-repository "$(curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list)"
View install_rundeck.sh
#!/bin/bash
## Install Rundeck on Ubuntu 16.04
## http://rundeck.org/downloads.html
## Run as root (sudo su)
apt-get update && apt-get upgrade -y
apt-get install openjdk-8-jdk -y
wget http://dl.bintray.com/rundeck/rundeck-deb/rundeck-2.9.3-1-GA.deb
dpkg -i rundeck-2.9.3-1-GA.deb