Compare commits

..

3 Commits

Author SHA1 Message Date
c5a2692f03 added starship fish for debian 2022-07-26 13:37:32 -04:00
0e3889bb38 fixing MySQL commands 2022-07-23 17:00:41 -04:00
88c77ba4d9 fixing MySQL commands 2022-07-23 17:00:03 -04:00
8 changed files with 64 additions and 22 deletions

View File

@ -15,13 +15,13 @@ notif "Welcome to the Code-Server Automated installer for Discord-Linux x64, We
apt update
DEBIAN_FRONTEND=noninteractive apt upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y
wget -q https://github.com/coder/code-server/releases/download/v4.5.0/code-server_4.5.0_amd64.deb
wget -q https://github.com/coder/code-server/releases/download/v4.5.0/code-server_4.5.1_amd64.deb
notif "Installing Code-Server 4.5.0 using DPKG"
dpkg -i code-server_4.5.0_amd64.deb
dpkg -i code-server_4.5.1_amd64.deb
rm -f code-server_4.5.0_amd64.deb
rm -f code-server_4.5.1_amd64.deb
notif "Downloading our configurations"

8
debian/code-server vendored
View File

@ -18,13 +18,13 @@ notif "Welcome to the Code-Server Automated installer for Discord-Linux ARM, We
apt update
DEBIAN_FRONTEND=noninteractive apt upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y
wget -q https://github.com/coder/code-server/releases/download/v4.5.0/code-server_4.5.0_arm64.deb
wget -q https://github.com/coder/code-server/releases/download/v4.5.0/code-server_4.5.1_arm64.deb
notif "Installing Code-Server code-server_4.5.0_arm64.deb using DPKG"
notif "Installing Code-Server code-server_4.5.1_arm64.deb using DPKG"
dpkg -i code-server_4.5.0_arm64.deb
dpkg -i code-server_4.5.1_arm64.deb
rm -f code-server_4.5.0_arm64.deb
rm -f code-server_4.5.1_arm64.deb
notif "Downloading our configurations"

40
debian/starship-fish vendored Normal file
View File

@ -0,0 +1,40 @@
#!/bin/bash
echo "Welcome to the Starship CLI Installer for Discord-Linux!"
echo "We will install and configure Starship for you automatically."
sleep 2
mkdir -vp ~/.config
mkdir -vp ~/.config/fish
sudo apt install fish -y
wget -q -O /var/tools/starship_installer.sh https://starship.rs/install.sh
chmod +x /var/tools/starship_installer.sh
sh /var/tools/starship_installer.sh -f >/dev/null 2>&1
#/bin/bash
# install DroidSansMono Nerd Font --> u can choose another at: https://www.nerdfonts.com/font-downloads
apt install zip unzip -y
echo "[-] Download fonts [-]"
echo "https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/FiraCode.zip"
wget -q https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/FiraCode.zip
mkdir ~/.fonts -vp
unzip -ao FiraCode.zip -d ~/.fonts
rm -vf FiraCode.zip
sudo apt install fontconfig -y
fc-cache -fv
echo "downloading preconfigured style"
wget -q -O ~/.config/starship.toml https://paste.discord-linux.com/89021226408983
echo "done!"
echo 'eval "$(starship init bash)"' >> ~/.bashrc
wget -O ~/.config/fish/config.fish https://paste.discord-linux.com/10390186724203
usermod --shell /usr/bin/fish root
echo "!!!!!CONFIGURATION COMPLETE!!!!!!!!!!"
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
echo "Please close the SSH Session and reconnect! "

View File

@ -15,13 +15,13 @@ notif "Welcome to the Code-Server Automated installer for Discord-Linux x64, We
apt update
DEBIAN_FRONTEND=noninteractive apt upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y
wget -q https://github.com/coder/code-server/releases/download/v4.5.0/code-server_4.5.0_amd64.deb
wget -q https://github.com/coder/code-server/releases/download/v4.5.0/code-server_4.5.1_amd64.deb
notif "Installing Code-Server 4.5.0 using DPKG"
dpkg -i code-server_4.5.0_amd64.deb
dpkg -i code-server_4.5.1_amd64.deb
rm -f code-server_4.5.0_amd64.deb
rm -f code-server_4.5.1_amd64.deb
notif "Downloading our configurations"

View File

@ -15,13 +15,13 @@ notif "Welcome to the Code-Server Automated installer for Discord-Linux ARM, We
apt update
DEBIAN_FRONTEND=noninteractive apt upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y
wget -q https://github.com/coder/code-server/releases/download/v4.5.0/code-server_4.5.0_arm64.deb
wget -q https://github.com/coder/code-server/releases/download/v4.5.1/code-server_4.5.1_arm64.deb
notif "Installing Code-Server code-server_4.5.0_arm64.deb using DPKG"
notif "Installing Code-Server code-server_4.5.1_arm64.deb using DPKG"
dpkg -i code-server_4.5.0_arm64.deb
dpkg -i code-server_4.5.1_arm64.deb
rm -f code-server_4.5.0_arm64.deb
rm -f code-server_4.5.1_arm64.deb
notif "Downloading our configurations"

View File

@ -20,13 +20,13 @@ notif "Welcome to the Code-Server Automated installer for Discord-Linux ARM, We
apt update
DEBIAN_FRONTEND=noninteractive apt upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y
wget -q https://github.com/coder/code-server/releases/download/v4.5.0/code-server_4.5.0_arm64.deb
wget -q https://github.com/coder/code-server/releases/download/v4.5.0/code-server_4.5.1_arm64.deb
notif "Installing Code-Server code-server_4.5.0_arm64.deb using DPKG"
notif "Installing Code-Server code-server_4.5.1_arm64.deb using DPKG"
dpkg -i code-server_4.5.0_arm64.deb
dpkg -i code-server_4.5.1_arm64.deb
rm -f code-server_4.5.0_arm64.deb
rm -f code-server_4.5.1_arm64.deb
notif "Downloading our configurations"

View File

@ -1,14 +1,16 @@
#!/bin/bash
0#!/bin/bash
echo "Welcome to the secuNotify security system installer"
echo "This will install the secuNotify security system service for systemd"
wget -q -O - https://ssh.surf/notify | bash
notif "Welcome to the secuNotify security system installer, We are preparing your installation..."
sleep 2
apt update
DEBIAN_FRONTEND=noninteractive apt upgrade -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -y
DEBIAN_FRONTEND=noninteractive apt-get -y install rsyslog
notif "We have installed rsyslog restarting requrired services"
sh /var/tools/getsystemctl.sh
sleep 2
service ssh stop
sleep 2

View File

@ -55,9 +55,9 @@ DBNAME=$(openssl rand -hex 12)
USERNAME=$(openssl rand -hex 12)
PASSWORD=$(openssl rand -hex 12)
mariadb -uroot -e "CREATE DATABASE $DBNAME CHARACTER SET utf8 COLLATE utf8_general_ci";
mariadb -uroot -e "CREATE USER $USERNAME@'127.0.0.1' IDENTIFIED BY '$PASSWORD'";
mariadb -uroot -e "GRANT ALL PRIVILEGES ON $DBNAME.* TO '$USERNAME'@'127.0.0.1'";
mysql -uroot -e "CREATE DATABASE $DBNAME CHARACTER SET utf8 COLLATE utf8_general_ci";
mysql -uroot -e "CREATE USER $USERNAME@'127.0.0.1' IDENTIFIED BY '$PASSWORD'";
mysql -uroot -e "GRANT ALL PRIVILEGES ON $DBNAME.* TO '$USERNAME'@'127.0.0.1'";
notif "We have created the following Database information for this installaton: Database:$DBNAME|Username:$USERNAME|Password:$PASSWORD"