Watch videos on web sites

This will guide you on how to watch videos on Stage6 and any other web site.

Since DivX doesn't release a Linux version of "DivX Player" we will use "mplayerplug-in for mozilla".

In order to mplayerplug-in work with Stage6, version 3.45 or higher is required.

Some Linux distros, like Debian Etch, come with old binaries so we need to compile is from source. If you're using a Fedora Core or RedHat based distro, there's a *.rpm file available to download.

So, here we go:

Download the file at this link:
http://sourceforge.net/pro...239

Fedora Core:

Download the *.rpm file.

Install:

sudo rpm –ivh mplayerplug-in-*

Open Firefox and go to "about:plugins" to check if install was successful.
Done.

Debian:

To compile mplayerplug-in, mozilla-dev package is required:
sudo apt-get install mozilla-dev

Download the *.tar.gz file.
Unpack and compile:
tar -xzvf mplayerplug-in-*
cd mplayerplug-in
./configure
make
sudo make install

Link mplayerplug-in lib to Firefox's plugins folder:
sudo ln -s /usr/lib/iceape/plugins/mplayerplug-in* /usr/lib/iceweasel/plugins/

Open Firefox and go to "about:plugins" to check if install was successful.
Done.


External Links

mplayerplug-in site
Stage6

Upload videos to Stage6 from Linux

This will guide you on how to upload videos to Stage6 from Linux.

What works:


  • Upload videos to Stage6

What does not work:

  • Upload progress bar

  • Watch videos


Since DivX doesn't release a Linux version of "DivX Uploader" we will use the Windows version with Wine.

"Wine is an Open Source implementation of the Windows API on top of X, OpenGL, and Unix. Think of Wine as a compatibility layer for running Windows programs. Wine does not require Microsoft Windows, as it is a completely free alternative implementation of the Windows API consisting of 100% non-Microsoft code, however Wine can optionally use native Windows DLLs if they are available. Wine provides both a development toolkit for porting Windows source code to Unix as well as a program loader, allowing many unmodified Windows programs to run on x86-based Unixes, including Linux, FreeBSD, Mac OS X, and Solaris."
-- http://www.winehq.com/

First of all, please read this carefully:

- Is Microsoft Windows® Required?
The short answer is "No".

"DivX Uploader" works with WINE (Wine Is Not an Emulator), a software application that implements the windows API, enabling you to run Win32 apps with the Linux operating system.

But to make "DivX Uploader" work you will need 3 (three) DLL files from Microsoft Windows®, and according to EULA, you need a valid a Windows® License in order to use then. More details about this read here:
http://wiki.answers.com/Q/Where_can...n_your_computer

ie: If you do not have a Microsoft Windows License, don't proceed!

Now, for those that have a Microsoft Windows® License, this is what we'll do:

First you'll need Wine. Today it's available on almost every distribution. Make a Google for Wine on your distribution and install it.

Next we'll use Firefox® Portable (No please! Don't pronounce the letters IE in front of me!):

"Mozilla Firefox®, Portable Edition is the popular Mozilla Firefox web browser bundled with a PortableApps.com Launcher as a portable app, so you can take your bookmarks, extensions and saved passwords with you."
-- http://portableapps.com/apps/internet/firefox_portable

Go to http://portableapps.com/apps/internet/firefox_portable and download it.

Now open a terminal and type and hit enter:
wine Firefox_Portable_*.*.*.*_en-us.paf.exe

The GUI will appear. When asked where to install point to:
z:\home\username\FirefoxPortable

Fine. Now download the "DivX Uploader":
http://download.divx.com/player/sta...erInstaller.exe

On terminal, type and hit enter:
wine DivXWebPlayerInstaller.exe

When asked, don't install Firefox.
An error message will appear. Just ignore it.

After this go to your Windows® box (in my case, I'm using Windows XP®, so I don't know if it will work with other versions) and copy these files:
regedt32.exe
msvcp60.dll
urlmon.dll
iertutil.dll

Back to Linux, open a text editor (gedit for example) and copy and paste:
REGEDIT4

[HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins]

[HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins\@divx.c om/DivX Browser Plugin,version=1.0.0]
"Path"="C:\\Program files\\DivX\\DivX Web Player\\npdivx32.dll"
"XPTPath"="C:\\Program files\\DivX\\DivX Web Player\\npdivx32.xpt"
"GeckoVersion"="1.00"
"Version"="1.0.0"
"Vendor"="DivX,Inc."
"Description"="DivX® Web Player"
"ProductName"="DivX® Web Player"

[HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins\@divx.c om/DivX Browser Plugin,version=1.0.0\MimeTypes]

[HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins\@divx.c om/DivX Browser Plugin,version=1.0.0\MimeTypes\video/divx]
"Description"="DivX Video Files"
"Suffixes"="divx,div"

[HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins\@divx.c om/DivX Content Upload Plugin,version=1.0.0]
"Path"="C:\\Program files\\DivX\\DivX Content Uploader\\npUpload.dll"
"XPTPath"="C:\\Program files\\DivX\\DivX Content Uploader\\npUpload.xpt"
"GeckoVersion"="1.00"
"Version"="1.0.0"
"Vendor"="DivX,Inc."
"Description"="DivX® Content Upload Plugin"
"ProductName"="DivX® Content Upload Plugin"

[HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins\@divx.c om/DivX Content Upload Plugin,version=1.0.0\MimeTypes]


[HKEY_LOCAL_MACHINE\SOFTWARE\MozillaPlugins\@divx.c om/DivX Content Upload Plugin,version=1.0.0\MimeTypes\application/x-divxcontentupload]
"Description"=""
"Suffixes"=""

Save it as "mozillaplugins.reg"

On terminal, type and hit enter:
wine regedt32

Import "mozillaplugins.reg" you just created.

On terminal, type and hit enter:
winecfg

And travell to:
Libraries > New override for library

Select from the drop-drown menu:
urlmon

Hit Add and then OK.

Move the DLL files:
msvcp60.dll
urlmon.dll
iertutil.dll

To:
~/.wine/drive_c/windows/system32

And you are done!


So, you'll only use Firefox® Portable to upload videos to Stage6.
To execute Firefox® Portable, type the following on terminal and hit enter:
wine ~/FirefoxPortable/FirefoxPortable.exe

Probably you'll wish to create a shortcut for it.


Please note that, as stated on the begining of this howto, the upload progress bar does not work, at least for now.


External Links

Stage6
Stage6 - Think Linux

Squid on Windows

Squid is a full-featured Web proxy cache. It's free, open-source software.

This tutorial is also available for Linux.

Download

Download the last stable release at this link:
http://squid.acmeconsulting.it/download/dl-squid.html

Install

This will suppose that your local Ethernet cards are set with IP: 192.168.0.xxx and your server card with IP: 192.168.0.1.

Extract the binary archive in the desired directory (default c:\squid)
Copy and rename the following files:

squid.conf.default to squid.conf
mime.conf.default to mime.conf
cachemgr.conf.default to cachemgr.conf

Now let's edit the squid.conf. Open this file on notepad and go to line 2454 and add:
acl LAN src 192.168.0.0/24

Go to line 2566 and add:
http_access allow LAN

Go to line 2893 and add:
visible_hostname squid

Go to line 2987 and add:
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on

Close saving it.

Go to START and click RUN. Type and hit enter:
cmd

This will open the command line. Type and hit enter:
cd c:/squid/sbin

Type and hir enter:
squid -i

This will install the Squid service using the config file. The default config file is c:/squid/etc/squid.conf and default service name is Squid.
Type and hit enter:
squid -z

This will create the cache directory.
Start squid service:
net start Squid

It's all done. Next time Windows starts the squid service will be started by default.

Now go to others machines and configure, for example, Firefox to use Proxy 192.168.0.1 and Port 3128.

Uninstall

Go to START and click RUN. Type and hit enter:
cmd

This will open the command line. Type and hit enter:
cd c:/squid/sbin

Type and hir enter:
squid -r

This will remove the Squid service. You may remove the c:/squiq directory if you do not intent to use squid anymore.

For further details, check External Links.


External links

Squid Web Proxy Cache
Acme Consulting
Squid 2.6 for Windows
Configurando um Squid Ninja
Linux Home Server HOWTO - Squid Web Proxy
Linux Resources at KrnlPanic.com
FedoraForum.org - squid and dansguardian - problems!
FedoraForum.org - Internet Connection Sharing?
FedoraForum.org - Firewall