# install
sudo apt-get install vsftpd
# Enable ftp write by change the directiv from #write_enable=YES To write_enable=YES
sudo nano /etc/vsftpd.conf
# Launch
service vsftpd restart
# install
sudo apt-get install vsftpd
# Enable ftp write by change the directiv from #write_enable=YES To write_enable=YES
sudo nano /etc/vsftpd.conf
# Launch
service vsftpd restart
# In VPS/ubuntu:
sudo apt-get install youtube-dl
sudo youtube-dl -U
#repeat until it end with “Updated to 20xx/yy/zz”
sudo youtube-dl -U
#Download youtube video:
youtube-dl -t VIDEO_URL
# Get Help
youtube-dl -h
Link:
http://rg3.github.com/youtube-dl/
youtube format:
http://en.wikipedia.org/wiki/YouTube#Quality_and_codecs
Method 1: regedit.exe
Step 1: Launch regedit.exe
Step 2: Modify contents of HKEY_LOCAL_MATHINESYSTEMCurrentControlSetServicestcpipLinkAgeBind
Select the linf of the NIC adaptor, move it to the top by copy & paste.
Method 2: nvspbind
Step 1: download nvspbind from msdn
Step 2: Install nvspbind
Step 3: issue the command: nvvpbind /++ NIC_NAME ms_tcpip
(1) Enable IP forwarding in linux
echo 1 > /proc/sys/net/ipv4/ip_forward
Set net.ipv4.ip_forward = 1 in /etc/sysctl.conf:
(2) Enable NAT for the subnet of OpenVPN
sudo iptables -t nat -A POSTROUTING -s 10.168.100.0/24 -o eth0 -j MASQUERADE
sudo iptables -t nat -A POSTROUTING -s 10.168.200.0/24 -o eth0 -j MASQUERADE
(3) Keep iptables
sudo bash -c "iptables-save > /etc/iptables.rules"
(4) Auto start on boot by add the following lines into /etc/network/interfaces:
auto eth0
iface eth0 inet XXXX
pre-up iptables-restore < /etc/iptables.rules
基于 Motion 的方案:
能够在特定环境下触发,如声音、特定操作等,并能用邮件、SMS远程操纵,同时支持远程调节亮度、对比度等。
http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome
基于 webcam-server 的方案:
使用简单,并有GUI。
http://webcamserver.sourceforge.net/
基于 ZoneMinder 的方案:
这是一个专业的商业方案,能够使用多摄像头和闭路电视,并支持数据的采集、分析、记录,以及远程和半自动处理。
http://www.zoneminder.com/
http://blog.zhenglei.net/admin/post
http://www.linuxidc.com/Linux/2010-10/29488.htm