summaryrefslogtreecommitdiff
path: root/setup.sh
diff options
context:
space:
mode:
authorhc <hc@email.ch>2024-09-16 00:39:16 +0800
committerhc <hc@email.ch>2024-09-16 00:39:16 +0800
commit6cac00448b81bb1115abaa5d7d335c8450c9ee25 (patch)
treef58582e44076d0731dcb696b873f8e64ee8f9e18 /setup.sh
parent00cde1e081c2a31ddc5876d52342888c0926af7a (diff)
0039
Diffstat (limited to 'setup.sh')
-rw-r--r--setup.sh15
1 files changed, 4 insertions, 11 deletions
diff --git a/setup.sh b/setup.sh
index 8530667..fccfeb8 100644
--- a/setup.sh
+++ b/setup.sh
@@ -8,12 +8,12 @@ echo "GatewayPorts yes" | sudo tee -a /etc/ssh/sshd_config
8#install packages 8#install packages
9sudo dnf install -y epel-release dnf-utils 9sudo dnf install -y epel-release dnf-utils
10sudo dnf install -y nc autossh tmux htop tar bmon gzip tree wget curl mlocate nano vim unzip net-tools git python3 python3-pip make wireguard-tools iptables usbutils yum 10sudo dnf install -y nc autossh tmux htop tar bmon gzip tree wget curl mlocate nano vim unzip net-tools git python3 python3-pip make wireguard-tools iptables usbutils yum
11sudo yum install -y python3-openstackclient s3fs-fuse awscli 11#sudo yum install -y python3-openstackclient s3fs-fuse awscli
12pip install jupyterlab python-swiftclient 12#pip install jupyterlab python-swiftclient
13sudo dnf update -y 13sudo dnf update -y
14 14
15#install nvim 15#install nvim
16sudo dnf groupinstall "Development Tools" 16sudo dnf groupinstall -y "Development Tools"
17sudo dnf install -y cmake 17sudo dnf install -y cmake
18cd ~ 18cd ~
19git clone https://github.com/neovim/neovim 19git clone https://github.com/neovim/neovim
@@ -56,14 +56,7 @@ vim.api.nvim_create_autocmd("BufWritePost", {
56}) 56})
57EOF 57EOF
58 58
59#install font for lvim 59
60curl -OL https://github.com/ryanoasis/nerd-fonts/releases/latest/download/JetBrainsMono.tar.xz
61mkdir JetBrainsMono
62tar -xvf JetBrainsMono.tar.xz -C JetBrainsMono
63mkdir -p ~/.local/share/fonts
64mv JetBrainsMono/*.ttf ~/.local/share/fonts/
65fc-cache -f -v
66rm -rf JetBrainsMono
67 60
68 61
69# add check fro each component 62# add check fro each component