sudo snap install lxd
sudo lxd init
#!/bin/sh | |
# -------------------------------------------------------------------------------------- | |
# Sets up your computer with the tools you need to develop in a modern ruby environment. | |
# -------------------------------------------------------------------------------------- | |
# This install includes: | |
# - homebrew | |
# - rbenv | |
# - ruby-build | |
# - ruby 1.9.3-p125 |
#!/bin/bash | |
IP="/bin/ip" | |
function prepare_rt_table() { | |
local rttables=/etc/iproute2/rt_tables | |
local iface=$1 | |
[[ "${iface}" = 'lo' ]] && return | |
if ! egrep -q "\s${iface}\s*"\$ $rttables; then | |
idx=$(wc -l <$rttables) |
#!/bin/bash | |
IP="/bin/ip" | |
function prepare_rt_table() { | |
local rttables=/etc/iproute2/rt_tables | |
local iface=$1 | |
[[ "${iface}" = 'lo' ]] && return | |
if ! egrep -q "\s${iface}\s*"\$ $rttables; then | |
idx=$(wc -l <$rttables) |
#!/bin/bash | |
yum update -y | |
yum install -y https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-centos96-9.6-3.noarch.rpm | |
yum install -y postgresql96-server | |
/usr/pgsql-9.6/bin/postgresql96-setup initdb | |
systemctl start postgresql-9.6 |
Information: | |
[VirtEngine Website](https://virtengine.com) | |
[Public Cloud.tc Multi-Provider](https://cloud.tc) | |
[VirtEngine Installation](https://docs.virtengine.com) | |
[OpenNebula 5.6 Installation](https://docs.opennebula.org/5.6/deployment/node_installation/kvm_node_installation.html) | |
# Prep System: | |
apt-get update |
sudo fallocate -l 4G /swapfile | |
sudo mkswap /swapfile | |
sudo chmod 600 /swapfile | |
# "UUID" & create | |
#SWAP_UUID=`sudo blkid -s UUID /swapfile | grep -Po '[\w*-]*\w'| tail -1` | |
echo "/swapfile none swap sw 0 0" | sudo tee -a /etc/fstab | |
sudo swapon -a |
#!/bin/sh | |
# non-interactive kde installer for alpine | |
# apk add curl && curl -L https://cutt.ly/alpine_kde | sh | |
echo "I will make Alpine Linux a Desktop Linux.. ." | |
## Desktop user |
root
user (sudo su
).nginx
in /opt/redash
.certs
and certs-data
./opt/redash/nginx/nginx.conf
and place the following in it: (replace example.redashapp.com
with your domain name)
upstream redash {
server redash:5000;
}
#!/usr/bin/env bash | |
# wget -qO 0-pve.sh https://gist.github.com/sugoidogo/4684e4659431e17d15be20171160c1f9/raw/ && bash 0-pve.sh | |
set -e | |
export DEBIAN_FRONTEND=noninteractive | |
export APT_LISTCHANGES_FRONTEND=none | |
function download { wget $* || curl -fLO $*; } | |
function stream { wget -qO- $* || curl -fsSL $*; } | |
function package { apt $* || dnf $*; } | |
echo "This script will download and run the installation script in a screen session" | |
echo "The installation script will download post-installation scripts to $HOME and reboot the system upon successful installation" |