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 \
View test_port.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#===============================================================
# Script para iniciar um server com bind IP e Porta
# Uso: Executar o script passando como parametro IP local valido, porta inicial e porta final do range, nesta ordem.
# Codigo do script, em sua maioria, foi adaptacao do script de TestPort.py;
#===============================================================
import socket, sys
View install_jboss.sh
#!/bin/bash
### Install Jboss 7 + JRE8 on Debian 64Bits
### Link: http://alexander.holbreich.org/jboss-7-setup-linux/
## First install wget
## Primeiro instale o wget
# Check if user has root privileges
if [[ $EUID -ne 0 ]]; then
View create_app_django.sh
#!/bin/bash
### Create Django Skeleton APP on Debian|Ubuntu
## First install:
## apt-get -y install python-django
## Usando uWSGI na app Django
## apt-get -y install python-dev python-pip
## pip install uwsgi
## chown -R www-data:www-data /var/www/projeto
View create_django_skeleton.sh
#!/bin/bash
### Create Django Skeleton APP on Debian|Ubuntu
## First install:
## apt-get -y install python-django
## Default folder
mkdir /var/www
cd /var/www
View django_index_html
<!DOCTYPE html>
<html>
<head>
<title>Django Project</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAMAAADVRocKAAACSVBMVEURMijx8/L///+ImZTV29mPn5ri5uWXpqFSamNccms7Vk4gPzU9WFBacWp0h4GElZCJmpWeq6eZp6OQn5t+kItofXZJYlslQzoePTRXbme7xMHs7+7m6eiyvLn5+vorSUAvTEMqSD91iIK/yMUTNCpTa2S2wL39/f0VNStrf3nc4eBVbWba392uubbp7OuAkowUNCuhrqqrt7Ojr6z+/v4nRTzr7u2zvrtYb2jc4N/4+fiKm5Zhd3FEXlYwTUQtSkExTUVFX1dgdnC+x8TK0c9kenMcPDIYOC/z9fTf5OJWbWaWpKASMykhQDb6+/uqtrLd4uEaOjBOZl/j5+YsSUBZcGmHl5Kms69sgXvHz8w/WVHg5OMdPDPu8fD09fX29/fn6un7/Pzo6+rY3dy5w8CImJObqaXN1NF8jolQaWGTop33+PcoRj3S2NeyvbqYp6JPZ2Dq7eyFlpHL0tBDXVb4+fnBysfJ0M5bcmtNZV5LZFxme3WaqKT8/fwWNiwzT0aVo58iQDfh5eRKY1t/kYt6jYd6jIZtgntnfHaWpaFwhH7Z3tyvurYyTkbv8fG4wr9QaGDk6OcfPjWfrKjb4N5jeXI5VUzGzszM09Hw8vLCy8iksa1pfnfAycens7AuS0J5i4ZIYVo2UkoZOTBfdm80UEeRoJzDzMkjQTicqqZBW1M8V0+Lm5YpRz7FzctedG28xcK3wb41UUmMnJd4ioXt8O+9xsOCk45ieHE4VEuksKySoZzy9PPQ19U6VU0XNy1sgHp2iYM0UUj
View samba4-46-setup-opensuse-422.bash
#!/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/