일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
- python
- Linux
- script
- postgres
- 노드
- 파이썬
- JS
- 데이터베이스
- PostgreSQL
- DB
- Windows
- 아틀라시안
- 윈도우
- 자바스크립트
- install
- javascript
- 하모니카
- 리눅스
- 우분투
- 스크립트
- Atlassian
- node
- hamonikr
- 설치
- java
- DATABASE
- 설정
- 3.0
- ubuntu
- 자바
- Today
- Total
목록ubuntu (33)
LukeHan 의 잡다한 기술 블로그
OS : Ubuntu 22.04 LTS sudo vi /etc/systemd/logind.conf 설정을 위해 logind.conf 파일을 연다 [Login] #NAutoVTs=6 #ReserveVT=6 #KillUserProcesses=no #KillOnlyUsers= #KillExcludeUsers=root #InhibitDelayMaxSec=5 #UserStopDelaySec=10 #HandlePowerKey=poweroff #HandleSuspendKey=suspend #HandleHibernateKey=hibernate #HandleLidSwitch=suspend HandleLidSwitch=ignore #HandleLidSwitchExternalPower=suspend #HandleLidSwi..
# V18.x sudo curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash - # V16.x sudo curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash - 위의 코드를 참고하여 설치할 버전을 선택하여 명령어를 입력한다 sudo apt-get install nodejs 위와 같이 입력하여 설치한다 node -v 설치한 node 버전을 확인한다 npm -v 설치한 npm 버전을 확인한다
버전 확인 python --version python -V 디렉토리 확인 ls -al /usr/bin/python 설치된 버전 확인 ls /usr/bin/ | grep python 버전 변경하기 sudo update-alternatives --config python update-alternatives: error: no alternatives for python 만약 위와 같이 에러가 발생하는 경우 설정된 alternatives 정보가 없다는 것이다. sudo update-alternatives --install /usr/bin/python python /usr/bin/python3.9 1 update-alternatives: using /usr/bin/python3.9 to provide /usr/b..
JAVA 버전 확인 java -version 터미널에서 위와 같이 입력한다. lukehan@lukehan:~$ java -version openjdk version "11.0.6" 2020-01-14 OpenJDK Runtime Environment (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1) OpenJDK 64-Bit Server VM (build 11.0.6+10-post-Ubuntu-1ubuntu118.04.1, mixed mode, sharing) 위와 같이 버전 정보가 출력되는 것을 확인할 수 있다. JAVA 버전 변경 sudo update-alternatives --config java sudo update-alternatives --config javac..
설치하기 # add repository sudo sh -c 'echo "deb [arch=amd64] http://repo.whale.naver.com/stable/deb stable main" >> /etc/apt/sources.list.d/naver-whale.list' # add apt-key wget -q -O - http://repo.whale.naver.com/stable/deb/public.gpg | sudo apt-key add - # update sudo apt-get update # install sudo apt-get install naver-whale-stable NO_PUBKEY 에러가 발생하는 경우 wget -q -O - http://repo.whale.naver.com/stab..
환경 구성 OS : HamoniKR SUN (ubuntu 18.04) 설치 sudo apt-get install apache2 apt-mirror mirror 서버를 구축하기 위해 apache2 와 apt-mirror 를 설치합니다. mirror 설정 sudo mkdir /repos mirror repository 를 구축할 디렉토리를 생성합니다. sudo vi /etc/apt/mirror.list 위와 같이 입력하여 apt-mirror 설정을 진행합니다. ############# config ################## # # set base_path /var/spool/apt-mirror # # set mirror_path $base_path/mirror # set skel_path $base_..