728x90 OS118 centos7 golang 설치하기 1. 파일 다운로드 wget https://dl.google.com/go/go1.12.14.linux-amd64.tar.gz or curl -O https://dl.google.com/go/go1.12.14.linux-amd64.tar.gz 2. 설치 sudo tar -C /usr/local -xvzf go1.12.14.linux-amd64.tar.gz 3.1.환경설정 vi /etc/profile.d/path.sh export PATH=$PATH:/usr/local/go/bin 3.2.환경설정 vi ~/.bash_profile export GOBIN="$HOME/go/bin" export GOPATH="$HOME/go" 4. 환경 변수 적용 source /etc/profile source ~/.bash_.. 2020. 1. 7. ssh 접속이 느려질 때 해결 방안 ssh 접속이 느려지고 /var/log/messages에 systemd-logind.service failed.이 발생하는 경우 systemctl restart systemd-logind systemctl restart dbus.service 2020. 1. 3. 🥰 사설 yum 저장소 생성 1. centos minimal 설치 2. create repo 설치yum install createrepo 3. 필요한 rpm 파일 다운로드yum install 패키지명 -y --downloadonly --downloaddir=.4. 해당 폴더에서 createrepo 실행createrepo . 2019. 12. 12. centos7 kubectl 치트키 설정 Enable Bash Auto Completion yum install bash-completion bash-completion-extras locate 설치 sudo yum install mlocate sudo updatedb locate bash_completion.sh kubectl 자동 완성 source > ~/.bashrc 2019. 12. 5. 이전 1 ··· 18 19 20 21 22 23 24 ··· 30 다음 728x90