공부하기/리눅스
-
Ubuntu22.04 Users공부하기/리눅스 2024. 3. 10. 17:17
https://ubuntu.com/server/docs/security-users User Management | Ubuntu Ubuntu is an open source software operating system that runs from the desktop, to the cloud, to all your internet connected things. ubuntu.com 우분투는 기본적으로 root유저 비활성화가 디폴트 루트 계정이 존재하지 않거나 엑세스 할 수 없다는 의미가 아니고 직접 로그인할 수 없는게 디폴트 대신 sudo 명령을 사용해서 일시적으로 관리자 권한을 얻을 수 있다 기본적으로 os를 설치할 때 생성된 초기 유저는 sudo 권한을 갖는 그룹으로 분류된다 특정한 이유 때문에 roo..
-
Ubuntu22.04 LTS UFW 기본공부하기/리눅스 2024. 3. 10. 12:14
https://help.ubuntu.com/community/UFW UFW - Community Help Wiki Introduction For an introduction to firewalls, please see Firewall. UFW - Uncomplicated Firewall The default firewall configuration tool for Ubuntu is ufw. Developed to ease iptables firewall configuration, ufw provides a user friendly way to create an IPv help.ubuntu.com Ubuntu의 기본 방화벽 구성 도구 iptables 방화벽 구성을 쉽게 하기 위해 개발 IPv4 또는 IPv..
-
Ubuntu22.04 LTS OpenSSH Install공부하기/리눅스 2024. 3. 10. 11:25
sudo apt update && sudo apt upgrade → apt 업데이트 sudo reboot → 자동 리부트가 되지 않을 경우 sudo apt install openssh-server → 설치 sudo systemctl enable --now ssh → ssh 스타트 → —now 플래그를 통해 시스템 부팅 시 ssh가 실행되도록 함 sudo systemctl status ssh → ssh 상태체크 sudo systemctl disable ssh → ssh 비활성화 sudo ufw status → ufw 방화벽에서 ssh를 허용하는지 체크 sudo ufw allow ssh → 허용하고 있지 않다면 허용하도록 수정 외부에서 vm 리눅스 ssh 접속해보기 ssh [userId]@[vmServerI..
-
Mac M1 UTM Ubuntu22.04.04 LTS 설치공부하기/리눅스 2024. 3. 10. 11:19
-> 주의 : ARM64 리눅스 서버 ISO 파일을 다운로드 받으셔야합니다. -> 리눅스 연습용 서버이기 때문에 랩은 2048MB, CPU는 1코어로 설정한 후 넘어갔습니다. -> 스토리지는 20GB로 설정한 후 넘어갔습니다. -> 저는 Downloads 디렉토리를 지정했습니다. -> Your name : 사용자의 진짜 이름 -> Your servers name : 서버이름 -> Pick a username : 로그인할 때 사용할 유저 id -> Choose a password : Pick a username의 패스워드 -> Confirm your password : 패스워드 확인 -> OpenSSH는 나중에 설치할 예정으로 저는 설치 안하고 넘어갔습니다. -> 아무것도 선택하지 않고 Done -> 설치..
-
mac m1 virtualbox download 방법공부하기/리눅스 2024. 3. 8. 13:54
https://www.virtualbox.org/ Oracle VM VirtualBox Welcome to VirtualBox.org! News Flash Important February 8th, 2024We're hiring! Looking for a new challenge? We're hiring a VirtualBox Principal Software Developer (Germany, UK, US, Romania and other locations). New January 16th, 2024VirtualBox 7.0.14 rele www.virtualbox.org -> 위 사이트 접속합니다. -> 다운로드 클릭 -> 위 이미지의 VirtualBox older builds 클릭 -> 7.0 클릭..
-
우분투 16.04 & 가비아 도메인 & nginx https 적용하기공부하기/리눅스 2021. 8. 22. 22:52
sudo apt-get update sudo apt-get install snapd sudo snap install core sudo snap install --classic cerbot sudo ln -S /snap/bin/certbot /usr/bin/certbot sudo certbot --nginx // nginx 자동 설정을 위해서 -> 에러 발생 시 : chmod a+x certbot-auto 자신의 이메일을 입력, 적용하고 싶은 도메인 선택, 외 나머지 전부y 처리 cd /etc/nginx/sites-available sudo vi default server { if ($host = 적용 도메인) { return 301 https://$host$request_uri; } listen 80 ;..
-
우분투 16.04 Nginx 설치하기공부하기/리눅스 2021. 8. 22. 00:40
sudo apt-get update sudo apt-get install nginx -> apt-get install 은 패키지를 설치하는 명령어 sudo service nginx status 명령을 통해 nginx를 확인한다 클라우드 서버에 접속해서 80포트를 오픈한다. (ufw명령어를 사용) sudo ufw enable sudo ufw allow 80 sudo ufw status로 80포트가 열린지 확인 후 해당 서버의 ip로 접속 시 nginx 페이지가 화면에 보입니다~
-
우분투 16.04버전 mysql 8버전 설치하기공부하기/리눅스 2021. 8. 22. 00:34
wget https://dev.mysql.com/get/mysql-apt-config_0.8.10-1_all.deb wget: 파일을 다운로드할 때 사용하는 명령어 , web get의 약어 dpkg -i mysql-apt-config_0.8.10-1_all.deb 오류 시 가장 맨 처음에 sudo 명령을 추가하세요 dpkg : 데비안 패키지 관리 시스템의 기초이고 apt와 같은 고급 도구에 비해 낮은 레벨의 도구, 패키지의 관계와 패키지를 원격에서 받아오는 일을 한다. -i : 해당 파일 설치, 최신 버전으로 업그레이드 -> error requested operation requires superuser privilege 발생 시 명령어 앞에 sudo 추가 후 진행하기 sudo apt-get update..