본문 바로가기

OS/Ubuntu

(6)
ubuntu18 네트워크 인터페이스 카드 추가. # 인터페이스 목록 확인. ls /sys/class/net # 인페이스 MAC 확인. ifconfig -a vi /etc/netplan/50-cloud-init.yaml network: ethernets: enp0s31f6: addresses: [192.168.0.214/24] gateway4: 192.168.0.1 nameservers: addresses: [168.126.63.1,8.8.8.8] # search: [lesstif.com] # dhcp4: yes dhcp4: no # optional: true version: 2 sudo netplan apply network: ethernets: ens160: addresses: - 1.1.1.1/16 #gateway4: 1.1.1.1 nameserv..
vim tab 설정 vi ~/.vimrc set tabstop=4 set shiftwidth=4 set softtabstop=4 set expandtab
Ubuntu IP 설정 고정IP 및 DHCP 설정 vi /etc/network/interfaces static IP 설정 (고정IP) # The primary network interface # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 192.168.153.131 netmask 255.255.255.0 ga..
Ubuntu 14.04 싱글모드 접속 root 비밀번호 재설정. 부팅 시 e를 눌러 GRUB 선택 모드 진입 ro 뒤에 init=/bin/bash 입력 후 F10 mount -o remount, rw / passwd root
Ubuntu 18.04.3 LTS MySQL 설치 MySQL ubuntu@ip-172-31-43-33:~/Dev$ sudo apt update Hit:1 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic InRelease Hit:2 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:3 http://us-east-2.ec2.archive.ubuntu.com/ubuntu bionic-backports InRelease Hit:4 http://security.ubuntu.com/ubuntu bionic-security InRelease Reading package lists... Done Building dependency tr..
Secure CRT AWS EC2 인스턴스 Public Key(인증서) 사용하여 접속하기 Hostname 및 Username 입력 PublicKey 선택 및 Proerties 클릭 Use session public key setting 선택 User Identity or certificate file 서택 하고 아마존에서 제공한 aws.pem 파일을 선택하여 준다.