PS3 Media Server on Synology DiskStation DS411+
# login as root to your DS411
ssh root@
# download lastest java
wget http://javadl.sun.com/webapps/download/AutoDL?BundleId=42723 -O /tmp/java.bin
# extract
cd /tmp
sh /tmp/java.bin
# move to right place
mv /tmp/jre1.6.0_*/ /usr/java
# get PMS
wget http://ps3mediaserver.googlecode.com/files/pms-generic-linux-unix-1.20.412.tgz -P /tmp
# extract
tar xzf /tmp/pms-generic-linux-unix-1.*.tgz
# move
mv /tmp/pms-linux-1.*/ /usr/pms
# set port to 5002
cat < /usr/pms/PMS.conf
port=5002
folders=/volume1/video
EOF
# create start script
cat < /