태그 : linux
2009/06/22 Linux(CentOs)에 webmin설치
2009/04/22 memcached 설치메모
2009/04/21 tar 코멘드 사용법 [3]
2008/11/04 무료 *inux파일 복구 프로그램 R-Linux
2009/04/22 memcached 설치메모
2009/04/21 tar 코멘드 사용법 [3]
2008/11/04 무료 *inux파일 복구 프로그램 R-Linux
# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.480-1.noarch.rpm
# rpm --install webmin-1.480-1.noarch.rpm
Operating system is Redhat Enterprise Linux
Webmin install complete. You can now login to https://server-domain-name:10000/
as root with your root password.
# by | 2009/06/22 11:08 | *nix/OSX | 트랙백 | 덧글(0)
$ uname -a
Linux server1.example.com 2.6.18-92.1.13.el5 #1 SMP Wed Sep 24 19:33:52 EDT 2008 i686 i686 i386 GNU/Linux
$ uname -a
Linux server.example.com 2.6.18-53.1.21.el5 #1 SMP Tue May 20 09:35:07 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
netstat -nl
tcp 0 0 :::11211 :::* LISTEN
udp 0 0 0.0.0.0:11211 0.0.0.0:*
yum install libevent libevent-devel zlib zlib-devel php-pecl-memcache
$cache = new Memcache;
$key = 'cache_test';
$cache->connect('localhost', 11211);
if(!$cache->get($key)){
// 캐쉬유효시간은15초
$cache->set($key, date('Y-m-d h:i:s'), MEMCACHE_COMPRESSED, 15);
}
echo $cache->get($key);
?>

netstat -al
TCP 0.0.0.0:11211 nayana-PC:0 LISTENING
# by | 2009/04/22 20:44 | JAVA:PHP | 트랙백 | 덧글(0)
# by | 2009/04/21 12:37 | *nix/OSX | 트랙백 | 덧글(3)
# by | 2008/11/04 11:00 | 무료가 좋아 | 트랙백 | 덧글(0)
◀ 이전 페이지 다음 페이지 ▶