2011年2月24日星期四

Add vitrual host in Qnap 209

1. Go to Apache configuration file

/mnt/HDA_ROOT/apache/conf/apache.conf

2. Add below in the bottom of

# Added at 20110225 to share Comic

Options Indexes FollowSymLinks
AllowOverride None

#*************************************8


NameVirtualHost *:80


ServerName host1.myftp.org
ServerAlias host1.myftp.org
DocumentRoot "/share/Qweb"


ServerName host2.myftp.org
ServerAlias host2.myftp.org
DocumentRoot "/share/MD0_DATA/Qmultimedia/xxxxxx"

______________________________________________

For portablewebap

    ServerAdmin support@localhost.com
     ServerName localhost
     DocumentRoot "www/localhost"




    ServerAdmin support@localhost.com
ServerName XXXXXXXXX.myftp.org
    DocumentRoot "H:/XXXXXXX/Comic"

_____________________________________


3. Type " /etc/init.d/Qthttpd.sh restart " to restart server

/etc/init.d/Qthttpd.sh restart

2010年10月17日星期日

QNAP recovery

http://forum.qnap.com/viewtopic.php?f=11&t=2058&p=95650&hilit=raid+1+lost+configuration#p95650

In case of corrupt/lost config:

1. Power off the NAS. Remove the HDD(s)
2. Power on the NAS
3. After a short beep and a long beep, plug the HDD back into the NAS
4. Run QNAP Finder, it will find the NAS, do NOT configure it!
5. Connect to the NAS by telnet port 13131 (e.g. with Putty)
6. Run the following commands to recover with default config

// Use the following commands if using 1 drive

# mount /dev/sda1 /mnt
# cd /mnt/.config/
# cp /etc/default_config/uLinux.conf /mnt/.config/
# reboot

// Use the following command if using 2 drives (not tested)

# mdadm -A /dev/md9 /dev/sda1 /dev/sdb1
# mount /dev/md9 /mnt
# cd /mnt/.config/
# cp /etc/default_config/uLinux.conf /mnt/.config/
# reboot

8. Above procedure will reset the configuration back to default and then you need to reconfigure it. But all the share should be available now.
Please remember NOT to re-initialize the HDD. Since this will format your HDD and all your data will be lost.
9. To be prepared next time this happens, always make sure you have a working backup of your personal uLinux.conf!

FYI: uLinux.conf is the main settings configuration

2010年4月18日星期日

change qnap bt directory

http://forum.qnap.com/viewtopic.php?f=16&t=25939


telnet to qnap nas

vi /etc/smb.conf

find :

/share/Qdownload

change
/share/Qmultimedia/Qdownload

2009年9月5日星期六

Intellipane - 智能拖板

http://www.challenger-tech.com/eshop/index.php?cPath=46_59

IntelliPanel (影音產品用)

IntelliPanel (影音產品用)

Price: $688


IntelliPanel (手提電腦用)

IntelliPanel (手提電腦用)

Price: $558


Intellipanel (桌面電腦用)

Intellipanel (桌面電腦用)

Price: $558



Intelliplug (手提電腦用)

Intelliplug (手提電腦用)

Price: $288


Intelliplug (桌面電腦用)

Intelliplug (桌面電腦用)

Price: $288


2008年10月8日星期三

裝修

深水埗榮佳

clipsal LED電制
今日響荃灣買左,唔知平定貴,如需要買可作參考

單位 $29
雙位 $41
三位 $54