Use spcaserv in Ubuntu to remotely view Webcam

Source: Internet
Author: User
The original is to install Apache2 in Ubuntu installation is very simple, as long as the sudoapt-getinstallapache2 can be everything will be configured, but still want to modify the apache2 profile first sudokate/etc/apache2/apache2.conf find the AddDefaultCharsetISO-8859-1, change the ISO-8859-1 to UTF-8 (of course you day

It was originally intended to install Apache2 in Ubuntu

It's easy to install in Ubuntu. Just run sudo apt-get install apache2.

Everything will be configured later, but you still need to modify the apache2 configuration file.

First, sudo kate/etc/apache2/apache2.conf

Find the adddefacharcharset ISO-8859-1 and change the ISO-8859-1 to the UTF-8 (of course, the web page you wrote after the day would also use the UTF-8)

Then copy the http-java-applet in the spcaview-20051212 directory to/var/www/and change it to webcam.

The specific command is: sudo cp-R http-java-applet/var/www/webcam

Then, go to the/var/www/webcam and set index-sample.html (the author should have a typo, right ??) Rename index.html

Command: sudo cp-R/var/www/webcam/index-sample.html/var/www/webcam/index.html

Then, I don't know much about permission restriction.

I set all the archives under the www directory to 755 permissions, and the owner is me (of course! And convenient management)

Of course, this may cause problems, but it will be solved later.

Finally, if you want to watch a small camera remotely through the Browser, you must first start spcaserv (the server must be able to access the Internet too !)

My command is: spcaserv-w 192.168.1.2: 8093

In this case, OK.

Enter http: // 'server address'/webcam/in the Browser to access the Internet/

So you can see it!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.