본문 바로가기

About Computer/서버관리38

apt-get Cannot allocate memory in Ubuntu Apache2가 메모리를 꽤 먹기 때문에 512M 의 머신에서는 문제를 일으킬 수 있다. 아래의 패키지를 설치하여 메모리 사용률을 줄일 수 있다. $ sudo apt-get install apache2-mpm-prefork 2011. 1. 27.
linux memory cache flush linux에서 현재 메모리에 저장되어 있는 cache 영역을 초기화 하려면 아래의 명령어중 하나를 이용한다. echo 1 > /proc/sys/vm/drop_caches page cache 날리기 echo 2 > /proc/sys/vm/drop_caches dentries 와 inode 날리기 echo 3 > /proc/sys/vm/drop_caches 1번 2번 모두 수행 2011. 1. 11.
user에게 sudo 권한 부여하기 sudo 권한으로 (혹은 루트로) /etc/sudoers 파일을 연다. username 을 USER1이라 가정하면 아래와 같은 내용을 넣으면 된다. 단 공백은 모두 탭으로서 구분 되어야 한다. USER1 ALL=(ALL) ALL p.s sudo를 추가했음에도 불구하고 특정 명령어 수행시 command not found 란 메시지가 나온경우 $PATH 에 /usr/sbin 이 추가되어 있지 않아서일수도 있다. 추가한다. 2010. 12. 28.
MSSQL Server 2008 - Remote Access Configuration (원격접속 설정) Set "SQL Server Authentication" when you install the DB. Click : Start -> All Programs -> Microsoft SQL Server 2008 -> Configuration Tools -> SQL Server Configuration Manager In the left window, Click : SQL Server Network Configuration -> YOUR DB NAME Change the status of "Named Pipes" and "TCP/IP" from Disabled to Enabled. Double Click "TCP/IP" Click a tab "IP Addresses" -> type 1433 to TCP Por.. 2010. 10. 4.