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
View install_dotnet-sdk.sh
#!/bin/bash
## Install .NET Core 2.0.0 SDK on Ubuntu 16.04 64Bits
## Author: Nilton OS www.linuxpro.com.br
## https://www.microsoft.com/net/core#linuxubuntu
## https://docs.microsoft.com/en-us/aspnet/core/publishing/apache-proxy
## https://medium.com/@renato.groffe/net-core-e-sql-server-em-linux-primeiros-passos-89a7cb475ebd
## Version 0.1
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
View compile_hhvm.sh
#!/bin/bash
## Compile HHVM on Debian 9.1 64Bits
## https://docs.hhvm.com/hhvm/installation/building-from-source#debian-8-jessie
## Run as root (sudo su)
apt-get update && apt-get upgrade
apt-get install git-core cmake gawk default-libmysqlclient-dev \