automated terminal push
This commit is contained in:
36
provision/installs/.old/docker.bash
Executable file
36
provision/installs/.old/docker.bash
Executable file
@@ -0,0 +1,36 @@
|
||||
#!/bin/bash
|
||||
|
||||
sudo apt update;
|
||||
|
||||
sudo apt -y install ca-certificates curl;
|
||||
|
||||
## aptitude package dependency setup
|
||||
|
||||
sudo install -m 0755 -d /etc/apt/keyrings
|
||||
|
||||
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
|
||||
|
||||
sudo chmod a+r /etc/apt/keyrings/docker.asc
|
||||
|
||||
echo \
|
||||
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
|
||||
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
|
||||
tee /etc/apt/sources.list.d/docker.list > /dev/null
|
||||
|
||||
## docker compose install
|
||||
|
||||
sudo apt update
|
||||
|
||||
sudo apt purge -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-compose docker docker.io
|
||||
|
||||
sudo apt install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
||||
|
||||
## run the sample container
|
||||
|
||||
reset;clear;
|
||||
|
||||
sudo docker run hello-world
|
||||
|
||||
echo
|
||||
echo "finished installing docker compose."
|
||||
echo
|
||||
17
provision/installs/.old/hostname.bash
Executable file
17
provision/installs/.old/hostname.bash
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
##
|
||||
|
||||
set -e;
|
||||
|
||||
set -x;
|
||||
|
||||
##
|
||||
|
||||
cat /etc/issue;
|
||||
|
||||
echo "Shinobi OS Sian 20.04" > /etc/issue;
|
||||
|
||||
cat /etc/issue;
|
||||
|
||||
##
|
||||
24
provision/installs/.old/network.bash
Executable file
24
provision/installs/.old/network.bash
Executable file
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
##
|
||||
## This script installs stuff
|
||||
## to set up a linux server
|
||||
## suitable for newbies.
|
||||
##
|
||||
## This linux server will be hosted under
|
||||
## linux.softwareshinobi.digital
|
||||
##
|
||||
## Before you go, check read around my blog!
|
||||
##
|
||||
## https://www.softwareshinobi.digital
|
||||
##
|
||||
|
||||
|
||||
## Install more software
|
||||
|
||||
apt-get install -y wget net-tools curl nslookup
|
||||
|
||||
|
||||
##
|
||||
|
||||
echo "fin."
|
||||
13
provision/installs/.old/recycle/media.bash
Executable file
13
provision/installs/.old/recycle/media.bash
Executable file
@@ -0,0 +1,13 @@
|
||||
|
||||
set -x
|
||||
|
||||
outputDIR=/tmp/media/backgrounds/
|
||||
|
||||
outputCNT=4
|
||||
|
||||
ls -lha /
|
||||
|
||||
pwd
|
||||
|
||||
cp /provision/media/Backgrounds/desktop.png /usr/share/lxqt/themes/light/simple_blue_widescreen.png
|
||||
|
||||
37
provision/installs/.old/recycle/netbeans.bash
Executable file
37
provision/installs/.old/recycle/netbeans.bash
Executable file
@@ -0,0 +1,37 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
set -x
|
||||
|
||||
##
|
||||
## create the apps dir and populate with unzipped netbeans content
|
||||
##
|
||||
|
||||
ls
|
||||
|
||||
mkdir /apps
|
||||
|
||||
cd /apps
|
||||
|
||||
##
|
||||
|
||||
ls
|
||||
|
||||
wget https://dlcdn.apache.org/netbeans/netbeans/21/netbeans-21-bin.zip
|
||||
|
||||
ls
|
||||
|
||||
mv netbeans-21-bin.zip netbeans.zip
|
||||
|
||||
ls
|
||||
|
||||
unzip netbeans.zip
|
||||
|
||||
ls
|
||||
|
||||
pwd
|
||||
|
||||
##
|
||||
##
|
||||
##
|
||||
14
provision/installs/.old/software.bash
Executable file
14
provision/installs/.old/software.bash
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
##
|
||||
|
||||
set -e;
|
||||
|
||||
set -x;
|
||||
|
||||
##
|
||||
sudo apt update
|
||||
|
||||
sudo apt install -y recordmydesktop kdenlive shotcut zip keepassx mpv dos2unix git filezilla openjdk-17-jdk maven remmina thunderbird openssh-server sudo vim sshpass
|
||||
|
||||
##
|
||||
Reference in New Issue
Block a user