해외 웹호스팅 WebhostingPad에서 디렉토리 권한(퍼미션) 보호 설정 방법 WebhostingPad에서 디렉토리를 생성하고 브라우저로 해당 경로로 이동하면 기본적으로 해당 디렉토리의 내용들이 보이게됩니다. 보안상 안 좋을 수 있기 때문에 퍼미션을 변경해서 접근을 차단할 수 있습니다. 이런식으로 해당 폴더에서 우클릭 후에 퍼미션을 700 으로 주시면 됩니다. 단, 실질적인 서비스를 하는 폴더에서는 이것을 적용하시면 됩니다. 개인적으로 백업 자료를 올려놓은 곳에 이렇게 적용하시면 되겠습니다. 가장 저렴한 해외웹호스팅 사이트 www.webhostingpad.com 가입하는 방법
리눅스 부팅 후 지난 시간확인 하는 uptime 명령어 아주 간단하네요 옵션도 하나 뿐이고... 그 옵션 마저 그리 필요가 없는 옵션이구 [root@DIM ~]# uptime 19:14:57 up 13 days, 7:32, 1 user, load average: 0.00, 0.00, 0.00 [root@DIM ~]# uptime -V procps version 3.2.7 [root@DIM ~]# [root@DIM ~]# uptime --help usage: uptime [-V] -V display version [root@DIM ~]# man uptime UPTIME(1) Linux User¡¯s Manual UPTIME(1) NAME uptime - Tell how long the system has ..
리눅스에서 디스크 사용량 확인 명령어 df 매뉴얼 df -Th 이렇게들 많이 사용합니다. 이미 익숙한 메가바이트 단위로 나열해주거든요. [root@DIM ~]# df --help Usage: df [OPTION]... [FILE]... Show information about the file system on which each FILE resides, or all file systems by default. Mandatory arguments to long options are mandatory for short options too. -a, --all include dummy file systems -B, --block-size=SIZE use SIZE-byte blocks -h, --human-re..
리눅스 라우팅 정보 확인 netstat -rn 명령어 netstat -rn 이런 형식으로 많이들 사용합니다. 옵션을 변경하면 네트워크에서 어떤 프로토콜이 사용 중인지 알 수 있습니다. [root@DIM ~]# netstat --help usage: netstat [-veenNcCF] [] -r netstat {-V|--version|-h|--help} netstat [-vnNcaeol] [ ...] netstat { [-veenNac] -I[] | [-veenNac] -i | [-cnNe] -M | -s } [delay] -r, --route display routing table -I, --interface=[] display interface table for -i, --interfaces displ..
리눅스 메모리 사용량 확인 명령어 free 매뉴얼 현업에서는 free -m -t 이렇게 많이들 사용합니다. [root@DIM ~]# free --help free: invalid option -- - usage: free [-b|-k|-m|-g] [-l] [-o] [-t] [-s delay] [-c count] [-V] -b,-k,-m,-g show output in bytes, KB, MB, or GB -l show detailed low and high memory statistics -o use old format (no -/+buffers/cache line) -t display total for RAM + swap -s update every [delay] seconds -c update [co..
리눅스 명령어 vmstat 매뉴얼 주로... 프로세스 감시에 사용됩니다. CPU 감시라고 할 수 있죠 top 도 많이 사용되죠 [root@DIM ~]# vmstat 1 procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------ r b swpd free buff cache si so bi bo in cs us sy id wa st 0 0 0 2833300 136308 286580 0 0 0 4 2 4 0 0 100 0 0 0 0 0 2833300 136308 286580 0 0 0 0 4 1031 0 0 100 0 0 0 0 0 2833424 136308 286580 0 0 0 32 14 1043 0 0 100 0 0 ..