diff options
| author | hc <hc@email.ch> | 2024-09-16 00:39:16 +0800 |
|---|---|---|
| committer | hc <hc@email.ch> | 2024-09-16 00:39:16 +0800 |
| commit | 6cac00448b81bb1115abaa5d7d335c8450c9ee25 (patch) | |
| tree | f58582e44076d0731dcb696b873f8e64ee8f9e18 /setup.sh | |
| parent | 00cde1e081c2a31ddc5876d52342888c0926af7a (diff) | |
0039
Diffstat (limited to 'setup.sh')
| -rw-r--r-- | setup.sh | 15 |
1 files changed, 4 insertions, 11 deletions
| @@ -8,12 +8,12 @@ echo "GatewayPorts yes" | sudo tee -a /etc/ssh/sshd_config | |||
| 8 | #install packages | 8 | #install packages |
| 9 | sudo dnf install -y epel-release dnf-utils | 9 | sudo dnf install -y epel-release dnf-utils |
| 10 | sudo 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 | 10 | sudo 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 |
| 11 | sudo yum install -y python3-openstackclient s3fs-fuse awscli | 11 | #sudo yum install -y python3-openstackclient s3fs-fuse awscli |
| 12 | pip install jupyterlab python-swiftclient | 12 | #pip install jupyterlab python-swiftclient |
| 13 | sudo dnf update -y | 13 | sudo dnf update -y |
| 14 | 14 | ||
| 15 | #install nvim | 15 | #install nvim |
| 16 | sudo dnf groupinstall "Development Tools" | 16 | sudo dnf groupinstall -y "Development Tools" |
| 17 | sudo dnf install -y cmake | 17 | sudo dnf install -y cmake |
| 18 | cd ~ | 18 | cd ~ |
| 19 | git clone https://github.com/neovim/neovim | 19 | git clone https://github.com/neovim/neovim |
| @@ -56,14 +56,7 @@ vim.api.nvim_create_autocmd("BufWritePost", { | |||
| 56 | }) | 56 | }) |
| 57 | EOF | 57 | EOF |
| 58 | 58 | ||
| 59 | #install font for lvim | 59 | |
| 60 | curl -OL https://github.com/ryanoasis/nerd-fonts/releases/latest/download/JetBrainsMono.tar.xz | ||
| 61 | mkdir JetBrainsMono | ||
| 62 | tar -xvf JetBrainsMono.tar.xz -C JetBrainsMono | ||
| 63 | mkdir -p ~/.local/share/fonts | ||
| 64 | mv JetBrainsMono/*.ttf ~/.local/share/fonts/ | ||
| 65 | fc-cache -f -v | ||
| 66 | rm -rf JetBrainsMono | ||
| 67 | 60 | ||
| 68 | 61 | ||
| 69 | # add check fro each component | 62 | # add check fro each component |
