Skip to content

Instantly share code, notes, and snippets.

View aljaxus's full-sized avatar
💭
68747470733a2f2f676974706c61632e73692f616c6a61787573

Aljaz S. aljaxus

💭
68747470733a2f2f676974706c61632e73692f616c6a61787573
View GitHub Profile
yum update -y
yum install epel-release -y
yum update -y
yum install htop bmon vim curl wget git -y
# Install nodejs and yarn
curl --silent --location https://rpm.nodesource.com/setup_10.x | sudo bash -
dnf update -y
curl --silent --location https://dl.yarnpkg.com/rpm/yarn.repo | sudo tee /etc/yum.repos
curl --silent --location https://rpm.nodesource.com/setup_10.x | sudo bash -
sudo dnf install yarn -y
sudo dnf install cockpit -y
sudo systemctl enable --now cockpit.socket
sudo systemctl start --now cockpit.socket
sudo firewall-cmd --add-service=cockpit
echo "deb http://download.proxmox.com/debian stretch pve-no-subscription" >> /etc/apt/sources.list
echo "deb http://deb.debian.org/debian stretch main" >> /etc/apt/sources.list
echo "deb-src http://deb.debian.org/debian stretch main" >> /etc/apt/sources.list
rm -f /etc/apt/sources.list.d/pve-enterprise.list
sudo add-apt-repository universe
apt-get update -y
apt-get upgrade -y
apt-get dist-upgrade -y
@aljaxus
aljaxus / centos7-install_mark2.sh
Last active July 23, 2019 18:46
centos7-install_mark2.sh
yum update -y
# Install requirements
yum install python-devel -y
yum groupinstall "Development tools"
yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel -y
yum install python-devel -y
yum install python-pip -y
pip install psutil urwid feedparser
pip install --upgrade pip
yum install epel-release -y
yum update -y
yum install htop bmon vim git curl rsync wget java-1.8.0-openjdk -y
# Install requirements
yum install python-devel -y
yum groupinstall "Development tools" -y
yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel gdbm-devel db4-devel libpcap-devel xz-devel -y
yum install python-devel -y
yum install python-pip -y
#!/bin/bash
function wait () {
echo ""
echo ""
if [ ! -z "$1" ]
then
echo "Finished: $1"
#!/bin/bash
function wait () {
echo ""
echo ""
if [ ! -z "$1" ]
then
echo "Finished: $1"
yum update -y
yum upgrade -y
yum install epel-release -y
yum install -y git htop bmon curl wget vim nano qemu-guest-agent transmission-cli transmission-common transmission-daemon
yum update -y
yum upgrade -y
mkdir /home/trasmission/
yum update -y
yum upgrade -y
mkdir -p /var/azuracast
cd /var/azuracast
curl -L https://raw.githubusercontent.com/AzuraCast/AzuraCast/master/docker.sh > docker.sh
chmod a+x docker.sh
./docker.sh install
apt-get update -y
apt-get upgrade -y
apt-get install htop bmon vim git curl wget qemu-guest-agent java-1.8.0-openjdk -y
mkdir /root/crashlanding
cd /root/crashlanding
wget https://ftb.forgecdn.net/FTB2/modpacks/CrashLanding/1_1_3/CrashLandingServer.zip
unzip -V CrashLandingServer.zip