본문 바로가기

OS

(32)
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
CentOS 7 hostname 변경 vi /etc/hostname #호스트네임 설정. hostnamectl #재 호스트 네임 확인 hostnamectl set-hostname my.new-hostname.server #새로운 호스트 네임 설정. hostnamectl #상태 확인 reboot 출처 https://phoenixnap.com/kb/how-to-set-or-change-a-hostname-in-centos-7
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..
윈도우10 다크모드 설정하기. 최근 MAC OS를 업데이트 하니 다크모드가 생겼다. 혹시나 하여 찾아보았는데 윈도우 10에서도 다크모드 설정이 가능하다. 아래는 설정 방법이다. 개인설정 진입 색 선택 자동으로 내 배경 화면에서 테마 컬러 선택-> 배경화면에 맞춰서 자동으로 컬러 지정됨. 아래로 좀더 내리면 기본 앱 모드 선택 에서 어둡게 선택 설정완료 아래는 크롬 실행 화면이다. 다크 모드로 변경되였다.
Secure CRT AWS EC2 인스턴스 Public Key(인증서) 사용하여 접속하기 Hostname 및 Username 입력 PublicKey 선택 및 Proerties 클릭 Use session public key setting 선택 User Identity or certificate file 서택 하고 아마존에서 제공한 aws.pem 파일을 선택하여 준다.