mirror of
https://github.com/arnaucube/configs.git
synced 2026-02-10 12:36:42 +01:00
add mosh in install-new-server.sh
This commit is contained in:
@@ -1,15 +1,18 @@
|
|||||||
# assumming that curl & wget & git & vim are already installed and this repo is downloaded
|
# assumming that curl & wget & git & vim are already installed and this repo is downloaded
|
||||||
|
|
||||||
echo "updating"
|
echo "updating"
|
||||||
apt-get update
|
apt update
|
||||||
|
|
||||||
# tmux
|
# tmux
|
||||||
echo "installing tmux"
|
echo "installing tmux"
|
||||||
apt-get -y install tmux
|
apt -y install tmux
|
||||||
|
|
||||||
echo "setting tmux config"
|
echo "setting tmux config"
|
||||||
cp ./.tmux.conf ~/.tmux.conf
|
cp ./.tmux.conf ~/.tmux.conf
|
||||||
|
|
||||||
|
echo "installing mosh"
|
||||||
|
apt -y install mosh
|
||||||
|
|
||||||
# vim
|
# vim
|
||||||
echo "setting vim config"
|
echo "setting vim config"
|
||||||
cp ./.vimrc ~/.vimrc
|
cp ./.vimrc ~/.vimrc
|
||||||
@@ -17,8 +20,8 @@ cp ./vimconfigbase.vim ~/vimconfigbase.vim
|
|||||||
|
|
||||||
# neovim
|
# neovim
|
||||||
echo "installing neovim"
|
echo "installing neovim"
|
||||||
# alternative: apt-get install python3-neovim
|
# alternative: apt install python3-neovim
|
||||||
apt-get -y install neovim
|
apt -y install neovim
|
||||||
|
|
||||||
echo "setting nvim config"
|
echo "setting nvim config"
|
||||||
mkdir ~/.config
|
mkdir ~/.config
|
||||||
@@ -51,7 +54,7 @@ tar -C /usr/local -xzf go1.21.6.linux-amd64.tar.gz
|
|||||||
# nodejs
|
# nodejs
|
||||||
echo "installing nodejs v16"
|
echo "installing nodejs v16"
|
||||||
curl -sL https://deb.nodesource.com/setup_16.x | bash -
|
curl -sL https://deb.nodesource.com/setup_16.x | bash -
|
||||||
apt-get install -y nodejs
|
apt install -y nodejs
|
||||||
|
|
||||||
echo "installing npm http-server"
|
echo "installing npm http-server"
|
||||||
npm install -g http-server
|
npm install -g http-server
|
||||||
@@ -93,7 +96,7 @@ mv gotty /usr/gotty /usr/local/bin/
|
|||||||
apt install nginx -y
|
apt install nginx -y
|
||||||
|
|
||||||
# certbot
|
# certbot
|
||||||
apt-get update
|
apt update
|
||||||
apt-get install software-properties-common -y
|
apt-get install software-properties-common -y
|
||||||
add-apt-repository universe -y
|
add-apt-repository universe -y
|
||||||
add-apt-repository ppa:certbot/certbot -y
|
add-apt-repository ppa:certbot/certbot -y
|
||||||
|
|||||||
Reference in New Issue
Block a user