- Arawn's Dev Blog
- Outsider's Dev Story
- Toby's Epril
- Benelog
- NHN 개발자 블로그
- SK 플래닛 기술 블로그
- OLC CENTER
- 소프트웨어 경영/공학 블로그
- 모바일 컨버전스
- KOSR - Korea Operating System …
- 넥스트리 블로그
- 리버스코어 ReverseCore
- SLiPP
- 개발자를 위하여... (Nextree 임병인 수석)
- "트위터 부트스트랩: 디자이너도 놀라워할 매끈하고 직관…
- Learning English - The English…
- real-english.com
- 'DataScience/Deep Learning' 카테…
- Deep Learning Summer School, M…
- Deep Learning Courses
목록LINUX (27)
민서네집
[출처] http://unix.stackexchange.com/questions/151113/how-to-change-primary-group How to change primary group? [duplicate] Usually you do it like the following.To assign a primary group to an user:$ usermod -g primarygroupname username To assign secondary groups to an user:$ usermod -G secondarygroupname username From man-page:... -g (primary group assigned to the users) -G (Other groups the user ..
Linux / Unix: last Command Examples http://www.cyberciti.biz/faq/linux-unix-last-command-examples/ You need to use the last command to show who has recently used the server and logged in and out date/time. Find out who was logged in at a particular timeThe syntax is as follows to see the state of logins as of the specified time: $ last -t YYYYMMDDHHMMSS $ last -t YYYYMMDDHHMMSS userNameHereLinux..
/var/log/messages 로그 파일이 남지 않는 경우, 다음과 같이 설정을 변경해서 로그가 남게 할 수 있다. [출처] Ubuntu/How do I get /var/log/messages? http://infoages.tistory.com/1252 rsyslogd 데몬 서비스를 재실행 한다. $ sudo /etc/init.d/rsyslog restart
Apache Webserver 에서 404 에러가 날 경우 특정 웹페이지로 보내는 방법 [참고] http://www.mjstory.com/bbs/view.php?id=study&page=8&sn1=&divpage=1&sn=.&ss=off&sc=off&select_arrange=headnum&desc=asc&no=44 http://www.linuxquestions.org/questions/linux-general-1/apache-how-to-redirect-all-pages-404-not-found-to-the-homepage-413607/ /etc/apache2/httpd.conf 파일에서 ErrorDocument 404 절대경로홈페이지 ex) ErrorDocument 404 http://empas.com
FTP 접속 시 Client 가 고정 IP가 아니고, 공유기 뒤에 있는 경우, 공인 IP가 아니기 때문에, Active 방식으로는 접속이 안되는것 같다. 그래서 vsftpd 를 Passive 방식으로 설정하고, 서버 방화벽에서 Passive 방식으로 사용하는 포트를 열어줬다. INBOUND 접근 정책 (외부에서 내부로 접근: 모든IP) 여기에 54040~54050 포트를 추가해줌. root@example1:/etc# vi /etc/vsftpd.conf # hskang(2015-02-17)pasv_enable=YES
개인키: ssl.key인증서: ssl.crt중개자인증서: chain_ssl.crt체인인증서: chain_all_ssl.crt openssl rsa -noout -text -in ssl.key 이렇게 입력하고 패스워드를 입력하고 결과를 확인해 보면 입력한 패스워드가 맞는지 확인할 수 있다. http://opentutorials.org/course/228/4894 2. 아파치의 SSL 모듈을 활성화 한다. root@example1:/etc/apache2/sites-available# a2enmod sslEnabling module ssl.See /usr/share/doc/apache2.2-common/README.Debian.gz on how to configur..
https://www.digitalocean.com/community/tutorials/how-to-install-apache-tomcat-on-ubuntu-12-04 sudo apt-get install tomcat7이렇게 설치하면 /usr/share/tomcat7 디렉터리에 설치된다. 시작할 때는 $ sudo service tomcat7 start 이렇게 시작한다. 7.0.26 버전이 설치된다. 현재 tomcat7의 가장 최신 버전은 Version 7.0.57, Nov 3 2014 이다. - http://tomcat.apache.org/tomcat-7.0-doc/index.html
http://parkgibum.tistory.com/14 https://hellocoding.wordpress.com/2014/06/08/sub-process-usr-bin-dpkg-returned-error-1/ http://www.ubuntugeek.com/how-to-install-oracle-java-7-in-ubuntu-12-04.html => E: Sub-process /usr/bin/dpkg returned an error code (1) 에 대한 해결책도 있다. => 여기에 써..
가끔 다운 받은 파일을 untar하다 보면 해당 디렉토리가 생기지 않고 현재 디렉토리에 모든 파일이 풀려버려 정신없을때가 있다. 이럴때 rm 'tar ftz stupidpackage-1.0.0.tar.gz' 하면 해당파일만 지워진다. # rm 'tar ftz stupidpackage-1.0.0.tar.gz' [출처] http://faq.hostway.co.kr/Linux_ETC/4272
PID 확인 $ ps -ef | grep {사용자명} | grep {메모리 사용량을 체크할 프로세스 이름} 프로세스의 PID를 확인 후# cat /proc/PID/status | grep VmSizeVmSize: 7224 kB /proc/{PID 번호}/status 만 입력 시 항목 설명 VmSize: 전체 할당된 가상 메모리의 크기 VmRSS: 실제 물리적 메모리가 할당된 크기 VmLck: 스왑아웃 될수 없는 메모리의 크기VmData: Heap 영역 VmStk: Stack 영역 VmExe: 실행코드 영역 (전역변수 및 실행코드) VmLib: 동적으로 연결된 라이브러리 영역 [출처] http://faq.hostway.co.kr/Linux_ETC/4258 * VmPeak: Peak virtual memor..