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!