top 명령으로 확인해 보니, 전체 2GByte 의 메모리중에서 약 1.6GByte 를 사용 중이고, 약 380MByte 의 메모리가 사용 가능한 메모리로 남아 있었다. 그렇지만, top 명령을 계속 보고 있었지만, 특별히 메모리를 많이 사용 하는 프로세스는 없었다. 이것은 Linux 에서 사용할 수 있는 메모리를 OS Cache 로 잡아 두고 언제든 필요한 경우 사용 할 수 있도록 준비 해두기 때문 이라고 한다. 위 그림과 같이 free 명령으로 확인해 보면, 위 그림에서 붉은 영역과 같이 약 334MByte 의 사용중인 메모리와, 약 1.6GByte 사용 가능한 메모 리를 확인 할 수 있다. 사용중인 메모리를 확인 하고 싶다면, free 명령을 사용 하면 된다.
/etc/profile 은 시스템 전역에 대한 설정을 기록 하는 파일이다. ~/.bash_profile 은 개인 사용자에 대한 설정을 기록 하는 파일이다. 로그인을 하게 되면, /etc/profile 을 읽어 들이며, 그 뒤에 ~/.bash_profile 을 읽어 들인다. 간혹 ~/.bash_profile 에 export 되지 환경 변수들은 새로이 갱신이 되어 버리는 경우도 있다. 이러한 경우 아래와 같이 export 로 환경 변수를 설정 하여 기존 설정을 마지막 부분에 이어 붙여 준다. 예) export PATH = .:$JAVA_HOME/bin:$PATH
root@freecatz:~# iptables -F root@freecatz:~# iptables -X root@freecatz:~# iptables -t nat -F root@freecatz:~# iptables -t nat -X root@freecatz:~# iptables -t mangle -F root@freecatz:~# iptables -t mangle -X root@freecatz:~# iptables -P INPUT ACCEPT root@freecatz:~# iptables -P OUTPUT ACCEPT root@freecatz:~# iptables -P FORWARD ACCEPT
root@freecatz:~# apt-get build-dep nginx root@freecatz:~# wget http://nginx.org/download/nginx-1.13.9.tar.gz root@freecatz:~# tar zxvf nginx-1.13.9.tar.gz root@freecatz:~# cd nginx-1.13.9 root@freecatz:~# ./configure --prefix=/usr/local/nginx-1.13.9 --with-http_ssl_module --with-http_v2_module --with-openssl=/root/archive/openssl-1.0.2l root@freecatz:~# make root@freecatz:~# make install
- Total
- Today
- Yesterday
- Fun
- json parse
- SSL
- MySQL
- TIP
- 엘리스센터
- samba
- place
- Java
- devel
- Spring
- Security
- JavaScript
- 맛집
- web
- devtools
- kotlin
- springboot
- Mobile
- Android
- dart
- development
- ssh
- Review
- food
- Linux
- Compile
- gpkiapi
- HTTP
- Flutter
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |