fixes for web compatibility
This commit is contained in:
parent
1889c2a2fb
commit
778e9e4706
@ -42,7 +42,7 @@ Blender, etc.).
|
||||
This is just as easy. Log in as the root user and run the following.
|
||||
|
||||
```sh
|
||||
curl -O http://larbs.xyz/larbs.sh #Downloads the script.
|
||||
curl -LO http://larbs.xyz/larbs.sh #Downloads the script.
|
||||
bash larbs.sh #Runs it.
|
||||
```
|
||||
|
||||
|
@ -59,7 +59,7 @@ pacstrap /mnt base base-devel
|
||||
|
||||
genfstab -U /mnt >> /mnt/etc/fstab
|
||||
|
||||
curl http://lukesmith.xyz/larbs/chroot.sh > /mnt/chroot.sh && arch-chroot /mnt bash chroot.sh && rm /mnt/chroot.sh
|
||||
curl https://raw.githubusercontent.com/LukeSmithxyz/LARBS/master/src/chroot.sh > /mnt/chroot.sh && arch-chroot /mnt bash chroot.sh && rm /mnt/chroot.sh
|
||||
|
||||
cat comp > /mnt/etc/hostname && rm comp
|
||||
|
||||
|
@ -17,5 +17,5 @@ systemctl start NetworkManager
|
||||
pacman --noconfirm --needed -S grub && grub-install --target=i386-pc /dev/sda && grub-mkconfig -o /boot/grub/grub.cfg
|
||||
|
||||
pacman --noconfirm --needed -S dialog
|
||||
larbs() { curl -O http://larbs.xyz/larbs.sh && bash larbs.sh ;}
|
||||
larbs() { curl -LO http://larbs.xyz/larbs.sh && bash larbs.sh ;}
|
||||
dialog --title "Install Luke's Rice" --yesno "This install script will easily let you access Luke's Auto-Rice Boostrapping Scripts (LARBS) which automatically install a full Arch Linux i3-gaps desktop environment.\n\nIf you'd like to install this, select yes, otherwise select no.\n\nLuke" 15 60 && larbs
|
||||
|
11
src/test.sh
11
src/test.sh
@ -1,11 +0,0 @@
|
||||
cat << "EOF"
|
||||
|
||||
|
||||
[0;1;33;93m#[0;1;32;92m"[0m [0;1;31;91mm[0m [0;1;36;96m"[0m [0;1;35;95m"[0m [0;1;31;91mm[0m [0;1;32;92m"[0m [0;1;31;91mm"[0;1;33;93m"[0m [0;1;36;96m"[0m [0;1;33;93m"[0;1;32;92m#[0m
|
||||
[0;1;32;92m#[0m [0;1;35;95mm[0;1;31;91mmm[0m [0;1;32;92mm[0m [0;1;34;94mm[0m [0;1;31;91mmm[0;1;33;93m#m[0;1;32;92mm[0m [0;1;36;96mm[0;1;34;94mmm[0m [0;1;33;93mm[0;1;32;92mmm[0m [0;1;34;94mm[0;1;35;95mmm[0;1;31;91mmm[0m [0;1;35;95mm[0;1;31;91mmm[0m [0;1;36;96mm[0m [0;1;34;94mmm[0m [0;1;31;91mm[0;1;33;93mm#[0;1;32;92mmm[0m [0;1;34;94mm[0;1;35;95mmm[0m [0;1;33;93mm[0m [0;1;32;92mm[0;1;36;96mm[0m [0;1;35;95mm[0;1;31;91mmm[0m [0;1;32;92mm[0;1;36;96mmm[0m [0;1;31;91mmm[0;1;33;93m#m[0;1;32;92mm[0m [0;1;36;96mm[0;1;34;94mmm[0m [0;1;33;93mm[0;1;32;92mmm[0m [0;1;35;95mmm[0;1;31;91mm[0m [0;1;36;96m#[0m
|
||||
[0;1;36;96m#[0m [0;1;31;91m"[0m [0;1;32;92m#[0m [0;1;36;96m#[0m [0;1;35;95m#[0m [0;1;32;92m#[0m [0;1;35;95m#[0m [0;1;32;92m#[0m [0;1;34;94m"[0m [0;1;35;95m#[0m [0;1;31;91m#[0m [0;1;33;93m#[0m [0;1;33;93m#[0m [0;1;34;94m#"[0m [0;1;31;91m#[0m [0;1;32;92m#[0m [0;1;35;95m#"[0m [0;1;33;93m#[0m [0;1;32;92m#[0;1;36;96m"[0m [0;1;34;94m#[0m [0;1;31;91m#[0m [0;1;32;92m"[0m [0;1;34;94m#[0m [0;1;32;92m#[0m [0;1;35;95m#[0m [0;1;32;92m#"[0m [0;1;34;94m#[0m [0;1;35;95m#[0m [0;1;33;93m"[0m [0;1;34;94m#[0m
|
||||
[0;1;34;94m#[0m [0;1;33;93mm"[0;1;32;92m""[0;1;36;96m#[0m [0;1;34;94m#[0m [0;1;31;91m#[0m [0;1;36;96m#[0m [0;1;31;91m#[0m [0;1;36;96m"[0;1;34;94m""[0;1;35;95mm[0m [0;1;31;91m#[0m [0;1;33;93m#[0m [0;1;32;92m#[0m [0;1;32;92m#[0m [0;1;35;95m#[0m [0;1;33;93m#[0m [0;1;36;96m#[0m [0;1;31;91m#"[0;1;33;93m""[0;1;32;92m"[0m [0;1;36;96m#[0m [0;1;35;95m#[0m [0;1;33;93m"[0;1;32;92m""[0;1;36;96mm[0m [0;1;35;95m#[0m [0;1;36;96m#[0m [0;1;31;91m#[0m [0;1;36;96m#"[0;1;34;94m""[0;1;35;95m"[0m [0;1;33;93m""[0;1;32;92m"m[0m [0;1;35;95m#[0m
|
||||
[0;1;35;95m#[0m [0;1;32;92m"m[0;1;36;96mm"[0;1;34;94m#[0m [0;1;35;95m"[0;1;31;91mmm[0;1;33;93m"#[0m [0;1;34;94m"m[0;1;35;95mm[0m [0;1;31;91mm[0;1;33;93mm#[0;1;32;92mmm[0m [0;1;34;94m"m[0;1;35;95mmm[0;1;31;91m"[0m [0;1;33;93m#[0m [0;1;32;92m#[0m [0;1;36;96m#[0m [0;1;32;92mm[0;1;36;96mm#[0;1;34;94mmm[0m [0;1;31;91m#[0m [0;1;32;92m#[0m [0;1;34;94m"[0;1;35;95mmm[0m [0;1;33;93m"#[0;1;32;92mmm[0;1;36;96m"[0m [0;1;34;94m#[0m [0;1;31;91m#[0m [0;1;32;92m"m[0;1;36;96mmm[0;1;34;94m"[0m [0;1;35;95mm[0;1;31;91mm#[0;1;33;93mmm[0m [0;1;34;94m#[0m [0;1;31;91mm[0;1;33;93mm#[0;1;32;92mmm[0m [0;1;34;94m"#[0;1;35;95mmm[0;1;31;91m"[0m [0;1;33;93m"[0;1;32;92mmm[0;1;36;96mm"[0m [0;1;31;91m#[0m
|
||||
[0;1;31;91m"[0;1;33;93m"[0m [0;1;31;91m"[0;1;33;93m"[0m
|
||||
|
||||
EOF
|
21
src/todo/chrootp.sh
Executable file
21
src/todo/chrootp.sh
Executable file
@ -0,0 +1,21 @@
|
||||
#Potential variables: timezone, lang and local
|
||||
|
||||
passwd
|
||||
|
||||
ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime
|
||||
|
||||
hwclock --systohc
|
||||
|
||||
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
|
||||
echo "en_US ISO-8859-1" >> /etc/locale.gen
|
||||
locale-gen
|
||||
|
||||
pacman --noconfirm --needed -S networkmanager
|
||||
systemctl enable NetworkManager
|
||||
systemctl start NetworkManager
|
||||
|
||||
pacman --noconfirm --needed -S grub && grub-install --target=i386-pc /dev/sda && grub-mkconfig -o /boot/grub/grub.cfg
|
||||
|
||||
pacman --noconfirm --needed -S dialog
|
||||
larbs() { curl -O http://larbs.xyz/larbs.sh && bash larbs.sh ;}
|
||||
dialog --title "Install Luke's Rice" --yesno "This install script will easily let you access Luke's Auto-Rice Boostrapping Scripts (LARBS) which automatically install a full Arch Linux i3-gaps desktop environment.\n\nIf you'd like to install this, select yes, otherwise select no.\n\nLuke" 15 60 && larbs
|
69
src/todo/parabola.sh
Executable file
69
src/todo/parabola.sh
Executable file
@ -0,0 +1,69 @@
|
||||
#!/bin/bash
|
||||
|
||||
#This is a lazy script I have for auto-installing Parabola.
|
||||
#It's not officially part of LARBS, but I use it for testing.
|
||||
#DO NOT RUN THIS YOURSELF because Step 1 is it reformatting /dev/sda WITHOUT confirmation,
|
||||
#which means RIP in peace qq your data unless you've already backed up all of your drive.
|
||||
|
||||
pacman -S --noconfirm dialog || (echo "Error at script start: Are you sure you're running this as the root user? Are you sure you have an internet connection?" && exit)
|
||||
RED='\033[0;31m'
|
||||
BLUE='\033[0;34m'
|
||||
NC='\033[0m'
|
||||
|
||||
dialog --defaultno --title "DON'T BE A BRAINLET!" --yesno "This is an Parabola install script that is very rough around the edges.\n\nOnly run this script if you're a big-brane who doesn't mind deleting your entire /dev/sda drive.\n\nThis script is only really for me so I can autoinstall Parabola.\n\nt. Luke" 15 60 || exit
|
||||
|
||||
dialog --defaultno --title "DON'T BE A BRAINLET!" --yesno "Do you think I'm meming? Only select yes to DELET your entire /dev/sda and reinstall Parabola.\n\nTo stop this script, press no." 10 60 || exit
|
||||
|
||||
dialog --no-cancel --inputbox "Enter a name for your computer." 10 60 2> comp
|
||||
|
||||
timedatectl set-ntp true
|
||||
|
||||
cat <<EOF | fdisk /dev/sda
|
||||
o
|
||||
n
|
||||
p
|
||||
|
||||
|
||||
+200M
|
||||
n
|
||||
p
|
||||
|
||||
|
||||
+12G
|
||||
n
|
||||
p
|
||||
|
||||
|
||||
+25G
|
||||
n
|
||||
p
|
||||
|
||||
|
||||
w
|
||||
EOF
|
||||
partprobe
|
||||
|
||||
mkfs.ext4 /dev/sda4
|
||||
mkfs.ext4 /dev/sda3
|
||||
mkfs.ext4 /dev/sda1
|
||||
mkswap /dev/sda2
|
||||
swapon /dev/sda2
|
||||
mount /dev/sda3 /mnt
|
||||
mkdir /mnt/boot
|
||||
mount /dev/sda1 /mnt/boot
|
||||
mkdir /mnt/home
|
||||
mount /dev/sda4 /mnt/home
|
||||
|
||||
|
||||
pacstrap /mnt base base-devel
|
||||
|
||||
genfstab -U /mnt >> /mnt/etc/fstab
|
||||
|
||||
curl http://lukesmith.xyz/larbs/chrootp.sh > /mnt/chroot.sh && arch-chroot /mnt bash chroot.sh && rm /mnt/chroot.sh
|
||||
|
||||
cat comp > /mnt/etc/hostname && rm comp
|
||||
|
||||
dialog --defaultno --title "Final Qs" --yesno "Eject CD/ROM (if any)?" 5 30 && eject
|
||||
dialog --defaultno --title "Final Qs" --yesno "Reboot computer?" 5 30 && reboot
|
||||
dialog --defaultno --title "Final Qs" --yesno "Return to chroot environment?" 6 30 && arch-chroot /mnt
|
||||
clear
|
4
www/.htaccess
Normal file
4
www/.htaccess
Normal file
@ -0,0 +1,4 @@
|
||||
RewriteEngine On
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteRule ^([^\.]+)$ $1.html [NC,L]
|
||||
Redirect /larbs.sh https://raw.githubusercontent.com/LukeSmithxyz/LARBS/master/rc/larbs.sh
|
@ -29,7 +29,7 @@
|
||||
<p>In any install of Arch Linux, simply log in as the root user and run the following in the terminal:</p>
|
||||
|
||||
<code>
|
||||
curl -O larbs.xyz/larbs.sh</br>
|
||||
curl -LO larbs.xyz/larbs.sh</br>
|
||||
|
||||
bash larbs.sh
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user