Linux tips

linux
Author

Haseong

Published

October 15, 2024

사용자 그룹 설정

사용자 그릅 추가

sudo groupadd sblabuser
sudo usermod -aG sblabuser haseong

공통 디렉토리 작성

sudo mkdir /mnt/alpha
sudo chown :sblabuser /mnt/alpha
sudo chmod 775 /mnt/alpha
sudo chmod g+s /mnt/alpha

lazyvim 설치

  • https://github.com/neovim/neovim/blob/master/INSTALL.md#ubuntu

Summary for https://github.com/neovim/neovim/blob/master/INSTALL.md#ubuntu:: GitHub Copilot is an AI-powered developer platform for GitHub . It is a free and 24-hour support service . Use the site to search code, repositories, users, issues, pull requests… Use saved searches to filter your results faster . Neovim can be installed from the community repository . The Python module is available from the AUR as python-pynvim . The following instructions assume an x86_64 architecture; on ARM Linux replace with arm64 . Neovim is available inside the MPR (MPR) Package Repository . You can install it with: git clone https://mpr.makedeb.org/neovim/ggit clone . OpenSUSE can be installed with: sudo zypper in neovim .

sudo apt-get install software-properties-common
sudo add-apt-repository ppa:neovim-ppa/unstable
sudo apt update
sudo apt-get install neovim
sudo apt-get install ripgrep
sudo apt install fd-find

quarto-vim 설치

  • 참고: https://github.com/jmbuhr/quarto-nvim-kickstarter

Summary for https://github.com/jmbuhr/quarto-nvim-kickstarter: Use GitHub Copilot Enterprise-grade AI features and 24/7 support . Use the tool to write better code with AI Security Find and fix vulnerabilities . Code Review Manage code changes . Code Search Find more, search less Explore all features Documentation GitHub Skills Blog Solutions . iReporter photos in a weekly Travel Snapshots gallery . Please submit your best shots of life in the gallery for next week . Visit CNN iReport.com/Travel next Wednesday for a new gallery of snapshots .

# 백업 
mv ~/.config/nvim ~/.config/nvim.bak

# 설치
git clone https://github.com/jmbuhr/quarto-nvim-kickstarter.git ~/.config/nvim

# 실행
nvim