More updates
This commit is contained in:
parent
23e4721c1d
commit
e5b935aede
@ -7,16 +7,16 @@ echo ""
|
|||||||
|
|
||||||
|
|
||||||
echo "downloading the Notification Bot"
|
echo "downloading the Notification Bot"
|
||||||
wget -q -O /usr/bin/notif https://ssh.surf/debian/notif && chmod +x /usr/bin/notif
|
wget -q -O /usr/bin/notif https://ssh.surf/alma-x64/notif && chmod +x /usr/bin/notif
|
||||||
echo "Done"
|
echo "Done"
|
||||||
|
|
||||||
notif "Welcome to the Code-Server Automated installer for Discord-Linux ARM, We are preparing your installation..."
|
notif "Welcome to the Code-Server Automated installer for Discord-Linux ARM, We are preparing your installation..."
|
||||||
|
|
||||||
notif "Installing Code-Server 4.5.0 using RPM"
|
notif "Installing Code-Server 4.5.0 using RPM"
|
||||||
|
|
||||||
wget https://github.com/coder/code-server/releases/download/v4.5.0/code-server-4.5.0-arm64.rpm
|
wget https://github.com/coder/code-server/releases/download/v4.5.0/code-server-4.5.0-amd64.rpm
|
||||||
rpm -U code-server-4.5.0-arm64.rpm
|
rpm -U code-server-4.5.0-amd64.rpm
|
||||||
rm -f code-server-4.5.0-arm64.rpm
|
rm -f code-server-4.5.0-amd64.rpm
|
||||||
|
|
||||||
notif "Downloading our configurations"
|
notif "Downloading our configurations"
|
||||||
|
|
||||||
@ -37,17 +37,19 @@ sed -i "s/replaceme/${PASS}/g" ~/.config/code-server/config.yaml
|
|||||||
|
|
||||||
sed -i "s/#code-server/cd \/var\/tools \&\& pm2 start startCodeServer.json \&\& relayPort 8080/g" /start.sh
|
sed -i "s/#code-server/cd \/var\/tools \&\& pm2 start startCodeServer.json \&\& relayPort 8080/g" /start.sh
|
||||||
|
|
||||||
|
sed -i "s/127.0.0.1:8080/0.0.0.0:8080/g" /root/.config/code-server/config.yaml
|
||||||
|
|
||||||
notif "Requesting port from API Server"
|
|
||||||
hostname=$(hostname)
|
|
||||||
|
|
||||||
echo "Grabbing a port from your container from our API"
|
|
||||||
port=$(curl -s https://findport.ssh.surf/?id=$hostname)
|
|
||||||
|
|
||||||
sed -i "s/127.0.0.1:8080/0.0.0.0:${port}/g" /root/.config/code-server/config.yaml
|
|
||||||
|
|
||||||
pm2 start /var/tools/startCodeServer.json
|
pm2 start /var/tools/startCodeServer.json
|
||||||
|
|
||||||
|
|
||||||
notif "The installation has completed. You may access your install at: http://ssh.surf:$port with the password $PASS"
|
sleep 5
|
||||||
|
notif "Sleeping for 5 seconds to allow for code-server to start...."
|
||||||
|
|
||||||
|
relayPort 8080
|
||||||
|
|
||||||
|
sleep 5
|
||||||
|
notif "Sleeping to allow the relay to start..."
|
||||||
|
|
||||||
|
url=$(grep -hPo "(?<=listening ).*" /root/.pm2/logs/Relay-8080-out.log | head -n 1 | sed 's/$/.virt.fun/')
|
||||||
|
|
||||||
|
notif "The installation has completed. You may access your install at: https://$url with the password $PASS"
|
@ -7,7 +7,7 @@ echo ""
|
|||||||
|
|
||||||
|
|
||||||
echo "downloading the Notification Bot"
|
echo "downloading the Notification Bot"
|
||||||
wget -q -O /usr/bin/notif https://ssh.surf/debian/notif && chmod +x /usr/bin/notif
|
wget -q -O /usr/bin/notif https://ssh.surf/alma-x64/notif && chmod +x /usr/bin/notif
|
||||||
echo "Done"
|
echo "Done"
|
||||||
|
|
||||||
notif "Welcome to the HasteBin Automated installer for Discord-Linux, We are preparing your installation..."
|
notif "Welcome to the HasteBin Automated installer for Discord-Linux, We are preparing your installation..."
|
||||||
@ -24,13 +24,8 @@ npm install
|
|||||||
|
|
||||||
npm update
|
npm update
|
||||||
|
|
||||||
notif "Requesting port from API Server"
|
|
||||||
hostname=$(hostname)
|
|
||||||
|
|
||||||
echo "Grabbing a port from your container from our API"
|
sed -i "s/7777/10002/g" config.js
|
||||||
port=$(curl -s https://findport.ssh.surf/?id=$hostname)
|
|
||||||
|
|
||||||
sed -i "s/7777/${port}/g" config.js
|
|
||||||
|
|
||||||
|
|
||||||
notif "Configuring HasteBin and starting it's server"
|
notif "Configuring HasteBin and starting it's server"
|
||||||
@ -38,18 +33,11 @@ wget -O hasteBinStart.json https://ssh.surf/install/hastebin
|
|||||||
|
|
||||||
cd /home/haste-server && pm2 start hasteBinStart.json
|
cd /home/haste-server && pm2 start hasteBinStart.json
|
||||||
|
|
||||||
sed -i "s/#hastebin/cd \/home\/haste-server \&\& pm2 start hasteBinStart.json/g" /start.sh
|
sed -i "s/#hastebin/cd \/home\/haste-server \&\& pm2 start hasteBinStart.json \&\& relayPort 10002/g" /start.sh
|
||||||
|
|
||||||
|
relayPort 10002
|
||||||
|
sleep 2
|
||||||
|
|
||||||
echo "Your installation has completed, you may access your installation at: http://ssh.surf:$port"
|
url=$(grep -hPo "(?<=listening ).*" /root/.pm2/logs/Relay-10002-out.log | head -n 1 | sed 's/$/.virt.fun/')
|
||||||
echo ""
|
|
||||||
echo ""
|
|
||||||
echo "You may also create a subdomain for your installation by usoing the following commands in discord"
|
|
||||||
echo "+dns register yoursubdomainhere"
|
|
||||||
echo "+dns vhost $port"
|
|
||||||
echo "The installation will then be avalible over encrypted SSL at https://yoursubdomainhere.ssh.surf"
|
|
||||||
|
|
||||||
echo "Sending discord notification to your account:"
|
|
||||||
notif "Your hastebin installation has completed, you may access your installation at: http://ssh.surf:$port"
|
|
||||||
|
|
||||||
|
|
||||||
|
notif "Your HasteBin is now running at https://$url"
|
||||||
|
@ -3,4 +3,7 @@ To install use: auto-install packageName
|
|||||||
|
|
||||||
PackageName - Software URL
|
PackageName - Software URL
|
||||||
|
|
||||||
Sorry, nothing here yet! Packages coming soon!
|
starship, starship-fish - https://starship.rs
|
||||||
|
hastebin - https://www.toptal.com/developers/hastebin/about.md
|
||||||
|
code-server - https://github.com/coder/code-server
|
||||||
|
osjs-webdesktop - https://www.os-js.org/
|
||||||
|
@ -11,7 +11,7 @@ echo "Sleeping for 30 seconds, please close this process if you do not wish to c
|
|||||||
|
|
||||||
sleep 30
|
sleep 30
|
||||||
|
|
||||||
wget -q -O - https://ssh.surf/notify | bash
|
wget -q -O /usr/bin/notif https://ssh.surf/alma-x64/notif && chmod +x /usr/bin/notif
|
||||||
notif "Welcome to the MineCraft Server installer for Discord-Linux, the installation is starting and will complete in 45 seconds"
|
notif "Welcome to the MineCraft Server installer for Discord-Linux, the installation is starting and will complete in 45 seconds"
|
||||||
useradd mc
|
useradd mc
|
||||||
mkdir -vp /home/mc
|
mkdir -vp /home/mc
|
||||||
@ -45,7 +45,7 @@ echo "Grabbing a port from your container from our API"
|
|||||||
port=$(curl -s https://findport.ssh.surf/?id=$hostname)
|
port=$(curl -s https://findport.ssh.surf/?id=$hostname)
|
||||||
sleep 10
|
sleep 10
|
||||||
echo "Setting port in our config"
|
echo "Setting port in our config"
|
||||||
sed -i "s/25565/${port}/g" /home/mc/server.properties
|
sed -i "s/25565/25565/g" /home/mc/server.properties
|
||||||
sed -i "s/max-players=20/max-players=4/g" /home/mc/server.properties
|
sed -i "s/max-players=20/max-players=4/g" /home/mc/server.properties
|
||||||
sed -i "s/A Minecraft Server/An MC Server running on Discord-Linux/g" /home/mc/server.properties
|
sed -i "s/A Minecraft Server/An MC Server running on Discord-Linux/g" /home/mc/server.properties
|
||||||
|
|
||||||
|
BIN
alma-x64/notif
Normal file
BIN
alma-x64/notif
Normal file
Binary file not shown.
@ -12,7 +12,7 @@ yum install pam-devel -y
|
|||||||
|
|
||||||
sleep 5
|
sleep 5
|
||||||
echo "downloading the Notification Bot"
|
echo "downloading the Notification Bot"
|
||||||
wget -q -O /usr/bin/notif https://ssh.surf/debian/notif && chmod +x /usr/bin/notif
|
wget -q -O /usr/bin/notif https://ssh.surf/alma-x64/notif && chmod +x /usr/bin/notif
|
||||||
echo "Done"
|
echo "Done"
|
||||||
|
|
||||||
notif "Welcome to the OSjs Automated installer for Discord-Linux, we will begin by updating your system. Please wait..."
|
notif "Welcome to the OSjs Automated installer for Discord-Linux, we will begin by updating your system. Please wait..."
|
||||||
|
@ -10,6 +10,23 @@ chmod +x /var/tools/starship_installer.sh
|
|||||||
|
|
||||||
sh /var/tools/starship_installer.sh -f >/dev/null 2>&1
|
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
|
||||||
|
yum 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"
|
||||||
|
mkdir -vp ~/.config
|
||||||
|
wget -q -O ~/.config/starship.toml https://paste.discord-linux.com/89021226408983
|
||||||
|
echo "done!"
|
||||||
|
|
||||||
echo 'eval "$(starship init bash)"' >> ~/.bashrc
|
echo 'eval "$(starship init bash)"' >> ~/.bashrc
|
||||||
echo "!!!!!CONFIGURATION COMPLETE!!!!!!!!!!"
|
echo "!!!!!CONFIGURATION COMPLETE!!!!!!!!!!"
|
||||||
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
|
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||||
|
40
alma-x64/starship-fish
Normal file
40
alma-x64/starship-fish
Normal 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
|
||||||
|
|
||||||
|
|
||||||
|
yum 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
|
||||||
|
yum 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
|
||||||
|
yum 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! "
|
@ -9,7 +9,7 @@ echo ""
|
|||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
echo "downloading the Notification Bot"
|
echo "downloading the Notification Bot"
|
||||||
wget -q -O /usr/bin/notif https://ssh.surf/debian/notif && chmod +x /usr/bin/notif
|
wget -q -O /usr/bin/notif https://ssh.surf/alma-x64/notif && chmod +x /usr/bin/notif
|
||||||
echo "Done"
|
echo "Done"
|
||||||
|
|
||||||
notif "Welcome to the Webmin Automated installer for Discord-Linux, We are preparing your installation..."
|
notif "Welcome to the Webmin Automated installer for Discord-Linux, We are preparing your installation..."
|
||||||
|
7
arch-x64/list
Normal file
7
arch-x64/list
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
|
||||||
|
Software Currently Avalible for AlmaLinux:
|
||||||
|
To install use: auto-install packageName
|
||||||
|
|
||||||
|
PackageName - Software URL
|
||||||
|
|
||||||
|
starship-bash - https://starship.rs
|
16
arch-x64/starship
Normal file
16
arch-x64/starship
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
echo "Welcome to the Starship CLI Installer for Discord-Linux!"
|
||||||
|
echo "We will install and configure Starship for you automatically."
|
||||||
|
|
||||||
|
sleep 2
|
||||||
|
|
||||||
|
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
|
||||||
|
|
||||||
|
echo 'eval "$(starship init bash)"' >> ~/.bashrc
|
||||||
|
echo "!!!!!CONFIGURATION COMPLETE!!!!!!!!!!"
|
||||||
|
echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
|
||||||
|
echo "Please close the SSH Session and reconnect! "
|
10
ubuntu/list
10
ubuntu/list
@ -13,13 +13,3 @@ jdk - https://adoptium.net/
|
|||||||
mc - https://papermc.io/
|
mc - https://papermc.io/
|
||||||
secuNotify - https://docs.discord-linux.com/en/auto-installers#secunotify
|
secuNotify - https://docs.discord-linux.com/en/auto-installers#secunotify
|
||||||
send-to-log - https://docs.discord-linux.com/en/auto-installers#send-to-log-s2l
|
send-to-log - https://docs.discord-linux.com/en/auto-installers#send-to-log-s2l
|
||||||
|
|
||||||
Discord-Linux x64 Beta can use the following packages:
|
|
||||||
|
|
||||||
Webmin-x64 - https://www.webmin.com/
|
|
||||||
osjs-webdesktop-64 - https://www.os-js.org/
|
|
||||||
wp-64 - https://wordpress.org/
|
|
||||||
mc-64 - https://papermc.io/
|
|
||||||
jdk - https://adoptium.net/
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user