arnaucube
arnaucube/configsPublic Self-hosted repository
add mosh in install-new-server.sh
arnaucube root@arnaucube.com
Mon, 19 Feb 2024 17:51:07 +0100
commit

0c040bb61d9ecd56c0f73d901668ab58eec650ba

parent

1bf26d579f78d57d4ccdd6a24672c0cd998fd557

1 files changed, 9 insertions(+), 6 deletions(-)

jump to
M install-new-server.sh → install-new-server.sh

@@ -1,15 +1,18 @@

# assumming that curl & wget & git & vim are already installed and this repo is downloaded echo "updating" -apt-get update +apt update # tmux echo "installing tmux" -apt-get -y install tmux +apt -y install tmux echo "setting tmux config" cp ./.tmux.conf ~/.tmux.conf +echo "installing mosh" +apt -y install mosh + # vim echo "setting vim config" cp ./.vimrc ~/.vimrc

@@ -17,8 +20,8 @@ cp ./vimconfigbase.vim ~/vimconfigbase.vim

# neovim echo "installing neovim" -# alternative: apt-get install python3-neovim -apt-get -y install neovim +# alternative: apt install python3-neovim +apt -y install neovim echo "setting nvim config" mkdir ~/.config

@@ -51,7 +54,7 @@

# nodejs echo "installing nodejs v16" curl -sL https://deb.nodesource.com/setup_16.x | bash - -apt-get install -y nodejs +apt install -y nodejs echo "installing npm http-server" npm install -g http-server

@@ -93,7 +96,7 @@ # nginx

apt install nginx -y # certbot -apt-get update +apt update apt-get install software-properties-common -y add-apt-repository universe -y add-apt-repository ppa:certbot/certbot -y