Posts Tagged ‘amd64’

How to install MemCache on Windows 7 X64 for PHP with WAMP

August 22nd, 2011

Basics

The memcache sonsists of 2 parts: the server MemCached and the client MemCache.

  • MemCached is the cache server, the same as Mysqld (mysql server), which save and feed cache to clients.
  • MemCache is a client. With php, we need to install it as a mod, just the same as pdo_mysql (php_pdo_mysql.dll on windows).

Install MemCached

  • Download memcached from http://code.jellycan.com/memcached/ (get the win32 binary version). Here we suppose you extract the memcached in d:\memcached\.
  • If you are on Sindows Vista/7, rightclick on memcached.exe and select Properties; click on the Compatibility tab. At the bottom you’ll see Privilege Level, check “Run this program as an administrator”.
  • Open the command line by Win + R (or Start -> All Programs -> Accessories -> Command Prompt), and then run: d:\memcached\memcached.exe -d install to install the service.
  • Still in the command line, run d:\memcached\memcached.exe -d start, or net start "memcached Server" to start the service.
  • Check whether the service is running. Open Windows Task Manager, go to Services tab, you should find status of “memcached server” is “Running”.

Install MemCache php module

Note

  • To change MemCached memory size (default is 64mb), go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\memcached Server in your registry, find the ImagePath entry and change it to:
    “C:\memcached\memcached.exe” -d runservice -m 512
  • More details see: memcached -help

install sopcast player in Ubuntu 10.04(Lucid Lynx) AMD64

June 12th, 2010

If you are installing sopcast player on a X86 machine, you can read this article:

http://www.ubuntugeek.com/how-to-install-sopcast-player-in-ubuntu-9-10karmic.html.

But if you want to install sopcast on a AMD64 machine, you need to manually install sp-auth as said in here:

http://tinformix.blogspot.com/2009/05/how-to-sopcast-on-gentoo-amd64.html.

In summary (for AMD64):

  • add the sopcast player PPA:
    sudo add-apt-repository ppa:jason-scheunemann/ppa
  • update the source list:
    sudo apt-get update
  • install sp-auth:
    wget http://download.easetuner.com/download/sp-auth.tgz
    tar xzf sp-auth.tgz
    sudo mv sp-auth /usr/local/share
    sudo ln -s /usr/local/share/sp-auth/sp-sc-auth /usr/local/bin/sp-sc
  • install spcast-player:
    sudo apt-get install sopcast-player