[LINUX] 우분투 설치할 때 자주쓰는 명령어

* 네트워크설정
/etc/network/interfaces
---
# 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.0.133
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
dns-nameservers 168.126.63.1
---

* DNS 설정
/etc/resolv.conf  에서
nameserver 168.126.63.1

* 네트워크 재시작
/etc/init.d/networking restart

* MySQL 시작
sudo service mysql restart

* 아파치 시작
sudo service apache2 restart

* SSH 업로드 실행
$ sudo apt-get install lrzsz
$ rz

댓글

이 블로그의 인기 게시물

[MSSQL] 데이터베이스가 사용 중이어서 배타적으로 액서스할 수 없습니다

[LINUX] CentOS 부팅시 오류 : UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY

구글코랩) 안전Dream 실종아동 등 검색 오픈API 소스를 공유합니다. (구글드라이브연동, 이미지 수집 소스)