added the root part
This commit is contained in:
		
							parent
							
								
									6d9ac04fa7
								
							
						
					
					
						commit
						ebc0610736
					
				
					 2 changed files with 22 additions and 17 deletions
				
			
		
							
								
								
									
										19
									
								
								bootstrap-root.sh
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										19
									
								
								bootstrap-root.sh
									
										
									
									
									
										Executable file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,19 @@
 | 
			
		|||
#! /bin/bash
 | 
			
		||||
 | 
			
		||||
bash -c "apt update && apt dist-upgrade && \
 | 
			
		||||
	apt install bash-completion locales man mc elinks git zsh curl neovim byobu htop \
 | 
			
		||||
	command-not-found apt-file apt-transport-https ca-certificates software-properties-common \
 | 
			
		||||
	python3-venv python3 libpython-dev libpython3-dev cmake clang build-essential && \
 | 
			
		||||
	apt-file update && \
 | 
			
		||||
	update-command-not-found"
 | 
			
		||||
 | 
			
		||||
# node related
 | 
			
		||||
curl -RLSsf1 https://deb.nodesource.com/setup_10.x | bash -
 | 
			
		||||
apt-get install -y nodejs
 | 
			
		||||
 | 
			
		||||
# python3 related
 | 
			
		||||
curl -RLSsf1 https://bootstrap.pypa.io/get-pip.py | python2 && \
 | 
			
		||||
	curl -RLSsf1 https://bootstrap.pypa.io/get-pip.py | python3
 | 
			
		||||
 | 
			
		||||
# Docker related
 | 
			
		||||
curl -RLSsf1 https://github.com/schtobia/bootstrap/raw/master/docker-install.sh | bash -
 | 
			
		||||
							
								
								
									
										20
									
								
								bootstrap.sh
									
										
									
									
									
								
							
							
						
						
									
										20
									
								
								bootstrap.sh
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -1,21 +1,7 @@
 | 
			
		|||
#! /bin/sh
 | 
			
		||||
sudo -S bash -c "apt update && apt dist-upgrade && \
 | 
			
		||||
	apt install bash-completion locales man mc elinks git zsh curl neovim byobu htop \
 | 
			
		||||
	command-not-found apt-file apt-transport-https ca-certificates software-properties-common \
 | 
			
		||||
	python3-venv python3 libpython-dev libpython3-dev cmake clang build-essential && \
 | 
			
		||||
	apt-file update && \
 | 
			
		||||
	update-command-not-found"
 | 
			
		||||
 | 
			
		||||
# node related
 | 
			
		||||
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
 | 
			
		||||
sudo apt-get install -y nodejs
 | 
			
		||||
# root part
 | 
			
		||||
curl -RLSsf1 https://github.com/schtobia/bootstrap/raw/master/bootstrap-root.sh | sudo -SEH bash -
 | 
			
		||||
 | 
			
		||||
# python3 related
 | 
			
		||||
sudo -HS bash -c "curl -RLfs https://bootstrap.pypa.io/get-pip.py | python2 && \
 | 
			
		||||
	curl -RLfs https://bootstrap.pypa.io/get-pip.py | python3"
 | 
			
		||||
 | 
			
		||||
# Docker related
 | 
			
		||||
curl -RLSsf1 https://github.com/schtobia/bootstrap/raw/master/docker-install.sh | sudo -SH bash -
 | 
			
		||||
 | 
			
		||||
# userspace stuff
 | 
			
		||||
# userspace part
 | 
			
		||||
curl -RLSsf1 https://github.com/schtobia/bootstrap/raw/master/bootstrap-user.sh | bash -
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue