Install WebHTB on Ubuntu 10.04

Sunday, December 5, 2010
Assume here your Ubuntu LAMP, PHP5, have been running well.

1. Download webhtb "wget http://www.webhtb.ro/downloads/WebHTB_V2.9.bz2"

2. Extract to directory /var/www/ "sudo tar -jxvf WebHTB_V2.9.bz2 /var/www/"

3. Change directory ownership "sudo chown -R www-data:www-data /var/www/webhtb"

4. Activate SSL module on Apache2 "sudo a2enmod ssl"

5. Generate SSL key for apache2
"sudo apt-get install openssl ssl-cert"
"sudo mkdir -p /etc/apache2/ssl"
"sudo make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/apache.pem"

6. Create Virtual Host for Webhtb "sudo vim /etc/apache2/sites-available/webhtb"
NameVirtualHost *:443

SSLEngine On
SSLCertificateFile /etc/apache2/ssl/apache.pem

ServerAdmin webmaster@localhost
DocumentRoot /var/www/webhtb/

Options FollowSymLinks
AllowOverride All


Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all


ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all


ErrorLog /var/log/apache2/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /var/log/apache2/access.log combined
ServerSignature On

7. Activate Virtual Host WebHTB "sudo a2ensite webhtb"

8. Reload your apache2 "sudo /etc/init.d/apache2 force-reload"

9. Install sysvconfig php5-cli php5-snmp "sudo apt-get install php5-cli php5-snmp"

10. Create startup script for WebHTB "sudo cp -r /var/www/webhtb/docs/webhtb /etc/init.d/"

11. Edit startup script "sudo vim /etc/init.d/webhtb" #search this line dir="/var/www/html/webhtb" and change into dir="/var/www/webhtb"

12. Make it executeable "sudo chmod u+x /etc/init.d/webhtb" "chown -R www-data:www-data /var/www/webhtb"

13. Set your root password "sudo passwd root"

14. Browse from another computer to https://your-server-local-ip/setup/index.php
Insert:
* MySQL admin user: root
* MySQL admin password: yourrootpassword
* MySQL WebHTB user: "leave it blank"
* MySQL WebHTB password: "leave it blank"
* MySQL WebHTB password again: "leave it blank"
* MySQL WebHTB databasename: webhtb
* Default interface: eth1 ---> ## Your LAN interface

Now you can manage your internet bandwidth :
1. Add interface --- add your LAN interface
2. Create some class (This is a must!!)
>Class Name : Squid-DNS
>Bandwidth : 10240 (10Mbps)
>Limit : 10240
>Prio :0
>Que : SFQ (Stochastic Fairness Queeing)
3. Add client
>Choose class Squid-DNS
CLIENT : DNS-request
BANDWITDH : 128
LIMIT :128
SRC IP : DNS Server Local IP / Provider (to add more than one IP click Add new src)
4. Add your next client to your CLIENT Class and there you go!!! Read More...

Install Canon iP1980 on Ubuntu 10.04

Tuesday, November 23, 2010
Back to another tips again today....
Yes... like the title, here's the step :
1. Download the Canon iP1980 driver from here and here
2. And now repackage it using "dpkg -i cnijfilter-common_3.00-1_i386.deb" and yes... it's said that the package needed libcupsys2... and Hey Canon!!!! That package is obsolete and have been changed by libcups2!!!! What a shame for a big company like Canon that didn't have time for updating their driver.
3. But it doesn't meant we giving up right!!! What we need now is just changing the dependency from Canon OLD DRIVER!!! we just have to remove the libcupsys2 and change it to libcups2
4. First of all you will need to extract the .deb to a temporary directory (tmpdir) "dpkg-deb -x cnijfilter-common_3.00-1_i386.deb tmpdir"
5. Then we are going to pull the control file that is located in the tmp/DEBIAN/ folder. This is where you will make your dependency changes "dpkg-deb --control cnijfilter-common_3.00-1_i386.deb"
6. Edit the control file using your favorite text editor "vim tmpdir/DEBIAN/control"
7. Just remove the "libcupsys2" and change it to "libcups2"
8. After edit the control file, now you can repackage it using "dpkg -b tmpdir new-name-of-package.deb"
9. Just do "dpkg -i new-name-of-package.deb"
10. Do the same thing with the cnijfilter-ip1900series_3.00-1_i386.deb.

For you guys who don't want to bother with the "repackaging issue" you guys can download the driver from here and here
Read More...

Install HP Laserjet 1020 on Ubuntu 10.04 Server

Wow.... after a frustrated day, finally i can install HP LaserJet on Ubuntu 10.04 Lucid Lynx.
Straight to the step!!!

1. Download the HPLip from here
2. Execute the file "sh hplip-3.10.9.run" then just choose automatic for the installation way then follow and answer nicely every question and command :).
3. After the re-plug (or if you fail or choose to restart, you could just run "sudo hp-setup -i" again) and choose usb (for me).
4. If the hp-setup asking for the plugin, just choose to download it and it will be downloaded automatically.
5. After the installation is finished, YOU MUST HAVE SWITCH-OFF AND THEN SWITCH-ON AGAIN your printer!!!! This is what i miss and make the headache all the day, after that just try to print a test page from your CUPS.

Hope to save your days guys, have a nice ministry....:) Read More...

Install Magic Mouse on Apple Bootcamp

Tuesday, November 16, 2010
Hello All,

I received my Magic Mouse and it works great under OSX but I couldn't get it working under Windows at all. Searching here and around the web, I've compiled a guide on how I got it working. Hopefully, Apple will release proper drivers in the future but for now, here is what I did:

1. Remove your Magic Mouse from your OS X bluetooth device (i don't know why Windows connected with my OS X)

2. On Windows Turn mouse off...if you have already tried installing, remove the device and then turn the mouse off. To remove it, open Start, type "Devices" and press enter. Select "remove device"...Now let's get started:

1) Update the Bluetooth Driver.
Open Device Manager.
Start > (Right Click Computer) > Properties. Click Device Manager in upper left of this window. Double click (Bluetooth Radios), Right click on "Generic Bluetooth" and select "Properties". Open the Driver tab and then select "Update Driver". Click "Browse my computer for driver software". On the next screen, towards the bottom, click on "Let me pick from a list of device drivers...". Uncheck "Show compatible hardware". Select "Apple" and then "Apple built in bluetooth". Done
(You don't have to do this step if you already installed Bootcamp 3.1)

2)In the notification area of the task bar, right click on Bluetooth icon and select "Add a device". Turn on your mouse. It will show up on screen. Right click on the mouse icon. Select Properties. Select the "Services" tab and check the "Drivers for keyboard, mice, etc". The mouse may disappear from the screen since it's been added.

3) Disable power management for Bluetooth Radio. Open device manager, open Bluetooth Radios and right click on "Apple Bluetooth". Select the "Power Management". Uncheck "Allow the computer to turn off this device to save power".

4) Mouse should be working in Windows 7/Vista now.

For addition if you want some hack for smoother experience on your magic mouse, UneasySilence have managed to hack the driver to make it run on PCs running any version of Windows from XP to 7, you can get it here for 32bit and 64bit
Next time if you want to connect your Magic mouse to your Windows or OS X, just power up your magic mouse and wait for 3 seconds, then just left click 4 times... and viola!! "It's just works!!!" Read More...

Reverse Proxy on Apache2

Wednesday, October 27, 2010
What is reverse proxy?
According to Apachetutor reverse proxy is a gateway for servers, and enables one web server to provide content from another transparently


In what scenario it can be use?
Company example.com has a website at www.example.com, which has a public IP address and DNS entry, and can be accessed from anywhere on the Internet.

The company also has a couple of application servers which have private IP addresses and unregistered DNS entries, and are inside the firewall. The application servers are visible within the network - including the webserver, as "internal1.example.com" and "internal2.example.com", But because they have no public DNS entries, anyone looking at internal1.example.com from outside the company network will get a "no such host" error.

A decision is taken to enable Web access to the application servers. But they should not be exposed to the Internet directly, instead they should be integrated with the webserver, so that http://www.example.com/app1/any-path-here is mapped internally to http://internal1.example.com/any-path-here and http://www.example.com/app2/other-path-here is mapped internally to http://internal2.example.com/other-path-here. This is a typical reverse-proxy situation.

How do i enable Apache2 for proxy?
To enable Apache2 for proxy, you need to enable this modules :

  • mod_proxy: The core module deals with proxy infrastructure and configuration and managing a proxy request.
  • mod_proxy_http: This handles fetching documents with HTTP and HTTPS.
  • mod_proxy_ftp: This handles fetching documents with FTP.
  • mod_proxy_connect: This handles the CONNECT method for secure (SSL) tunneling.
  • mod_proxy_ajp: This handles the AJP protocol for Tomcat and similar backend servers.
  • mod_proxy_balancer implements clustering and load-balancing over multiple backends.
  • mod_cache, mod_disk_cache, mod_mem_cache: These deal with managing a document cache. To enable caching requires mod_cache and one or both of disk_cache and mem_cache.
  • mod_proxy_html: This rewrites HTML links into a proxy's address space.
  • mod_xml2enc: This supports internationalisation (i18n) on behalf of mod_proxy_html and other markup-filtering modules. space.
  • mod_headers: This modifies HTTP request and response headers.
  • mod_deflate: Negotiates compression with clients and backends.
After enabling those modules, we need to edit httpd.conf and insert line like these (do not forget to create the folder you specified below!!!) :

ProxyPass /news/ http://news_server.domain.lan/news/
ProxyPassReverse /news/ http://news_server.domain.lan/news/


And the final step is to edit our mods-enabled/proxy.conf :

ProxyRequest Off

Order deny,allow
Allow from all

ProxyVia On


Read More...

How to FSCK - fix error LVM volume

Saturday, June 26, 2010
Boot from a CD
Boot from a CD with Ubuntu Desktop (or another desktop distro) on it, and run it from the CD. Then none of your filesystems are mounted, you can't run fsck on a mounted filesystem.

If you've used the Linux LVM to create your partitions, you'll need to make those accessible before you run fsck:

"lvm pvscan"
"lvm vgscan"
"lvm lvchange -ay 'NameOfYourVolumeGroup' "
"lvm lvscan"

Then you can run fsck:

"fsck -f NameOfYourVolumeGroup"

simply wait for the fsck process and boot into your Linux box again :)
Read More...

Installing Zoneminder on Ubuntu 9.04 32bit & 10.04 32bit - The open source surveillance system

Saturday, May 1, 2010
Yes... you may have heard the Linux is going into CCTV world! On this tutorial we are going to
install zoneminder on Ubuntu 9.04 32bit.
Note that this walkthrough is taken from http://www.zoneminder.com/wiki/index.php/Ubuntu_9.04_server_32bit with some modification due to update to ffmpeg module.
This also a solution to ffmpeg error on compiling zoneminder.We assume here you guys already installed the Ubuntu Server with LAMP and the SSH server if you guys want to do remote SSH,and change the IP of your server to static IP.

- Do the "apt-get update" and then "apt-get upgrade" to update your distribution to the latest
one.

- After that install webmin (optional), install sysvconfig: "apt-get install sysvconfig", enter; now
run it: "sysvconfig", enter , now choose "enable/disable", also
ensure webmin is checked if you want it; back to the main screen, hit "finished" to save; exit it;

- Ensure you had your capture card recognized, in my case i'm using Kodicom 8800 DVR card.
root@myhomeCCTV:/home/myhome# find /dev -name video*
/dev/video1
/dev/video7
/dev/video6
/dev/video5
/dev/video4
/dev/video3
/dev/video2
/dev/video0
/dev/.udev/names/video1
/dev/.udev/names/video7
/dev/.udev/names/video6
/dev/.udev/names/video5
/dev/.udev/names/video4
/dev/.udev/names/video3
/dev/.udev/names/video2
/dev/.udev/names/video0
root@myhomeCCTV:/home/myhome# lspci -v | grep Multimedia
04:08.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
04:08.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
04:09.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
04:09.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
04:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
04:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
04:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
04:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
04:0c.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
04:0c.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
04:0d.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
04:0d.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
04:0e.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
04:0e.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
04:0f.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
04:0f.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)


ZM Installation :
echo "/usr/local/lib" > /etc/ld.so.conf.d/ffmpeg.conf

echo "LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH" >> /etc/bash.bashrc

echo "export LD_LIBRARY_PATH" >> /etc/bash.bashrc

ldconfig

aptitude install build-essential linux-headers-`uname -r` automake perl libnetssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl libmysqlclient15-dev libarchive-zip-perl libdate-manip-perl libdevice-serialport-perl libjpeg62 libjpeg62-dev libmime-perl libstdc++6 libwww-perl zlib1g zip unzip patch ntp openssl libpcre3-dev libssl-dev libjpeg-progs libcurl4-gnutls-dev munin munin-node libmime-lite-perl netpbm libbz2-dev subversion yasm


Install Perl Modules
type "perl -MCPAN -e shell", enter
(accept yes when prompted)
type "install CPAN", enter
(accept yes when prompted)
type "exit", enter
type "perl -MCPAN -e shell", enter
type "install YAML PHP::Serialization Module::Load X10::ActiveHome", enter
(accept yes when prompted,and yes again to fix dependencies problems if so)
type "exit", enter

FFmpeg & ZoneMinder from SVN
Install FFmpeg
cd /usr/src

svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg


cd ffmpeg

echo "Checked out external at revision 29318 - Checked out revision 18890" > xxx_SVN_info.txt

./configure --enable-gpl --enable-shared --enable-pthreads

make

make install

make install-libs

cd /lib

ln -s /usr/local/lib/libswscale.so.0
ln -s /usr/local/lib/libavformat.so.52
ln -s /usr/local/lib/libavcodec.so.52
ln -s /usr/local/lib/libavutil.so.50
ln -s /usr/local/lib/libavdevice.so.52

(all commands ran smooth, no broken symbolic links so far)

Install & Config ZoneMinder
cd /usr/src

svn co http://svn.zoneminder.com/svn/zm/trunk zm


cd zm

echo "Checked out revision 2887" > xxx_SVN_info.txt

./configure --with-webdir=/var/www/zm --with-cgidir=/usr/lib/cgi-bin --withffmpeg=/usr/src/ffmpeg CPPFLAGS="-D__STDC_CONSTANT_MACROS" ZM_DB_HOST=localhost ZM_DB_NAME=zm ZM_DB_USER=zmuser ZM_DB_PASS=zmpass --enable-debug=yes --withwebgroup=www-data --with-webuser=www-data


autoconf
(ok, outputs nothing here)

aclocal

automake

(now, the most important step, that takes about 3 minutes compiling)

make

(so far so good, lets now create the initial db; when prompted, use the **root
MySQL** password you created before;)

mysql -u root -p <> db/zm_create.sql

mysql -u root -p


grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'zmpass';

quit

make install


Post Install
Install Cambozola
cd /usr/src

wget http://www.charliemouse.com:8080/code/cambozola/cambozola-latest.tar.gz

tar -xzvf cambozola-latest.tar.gz

cp cambozola-0.70/dist/cambozola.jar /var/www/zm


Make sure ZoneMinder starts automatically
vim /etc/init.d/zm
#!/bin/sh
# description: Control ZoneMinder as a Service
# chkconfig: 2345 99 99
# Source function library.
#. /etc/rc.d/init.d/functions
prog=ZoneMinder
ZM_PATH_BIN="/usr/local/bin"
command="$ZM_PATH_BIN/zmpkg.pl"
start() {
echo -n "Starting $prog: "
$command start
RETVAL=$?
[ $RETVAL = 0 ] && echo success
[ $RETVAL != 0 ] && echo failure
return $RETVAL
}
stop() {
echo -n "Stopping $prog: "
$command stop
RETVAL=$?
[ $RETVAL = 0 ] && echo success
[ $RETVAL != 0 ] && echo failure
}
status() {
result=`$command status`
if [ "$result" = "running" ]; then
echo "ZoneMinder is running"
RETVAL=0
else
echo "ZoneMinder is stopped"
RETVAL=1
fi
}
case "$1" in
'start')
start
;;
'stop')
stop
;;
'restart')
stop
start
;;
'status')
status
;;
*)
echo "Usage: $0 { start | stop | restart | status }"
RETVAL=1
;;
esac
exit $RETVAL


Make /etc/init.d/zm executable:
chmod 755 /etc/init.d/zm

Make zm "automatic start on boot" -- Webmin -> System -> Bootup and Shutdown

Notes :
- There are some fix to also include support for Safari users or people surfing with the iPhone's built in Safari browser.Also, there is no need to do anything for Google chrome because its being detected as Mozilla\firefox.If you are using the JPEG streaming mode (Motion JPEG) with the browser Opera or Safari, or even using your iPhone, there is no reason to use cambozola because all those browsers support MJPEG natively.The problem: with ZM's CAN_STREAM setting set to "auto", ZM's auto detection believes those browsers don't support MJPEG, although they do.This is because ZM's auto detection is slightly outdated and this fix will update it.
You can do the changes manually or use the patch below.EDIT: If after this fix you experience flickering in Opera, here is how you fix it:
http://www.zoneminder.com/forums/viewtopic.php?p=61493
(or if you want the easiest way, you can download the
functions.php file from HERE, and overwrite the file function.php on /var/www/zm/includes/function.php)
- In file include/functions.php, change the following which is at around line 823 (May vary from installation to installation):
elseif (ereg( 'Opera ([0-9].[0-9]{1,2})',$_SERVER['HTTP_USER_AGENT'],$logVersion))
to
elseif (ereg( 'Opera/([0-9].[0-9]{1,2})',$_SERVER['HTTP_USER_AGENT'],$logVersion))
- In around line 876 (May vary from installation to installation),change:
function canStreamNative()
{
return( ZM_CAN_STREAM == "yes" || ( ZM_CAN_STREAM == "auto"
&& (isNetscape() || isKonqueror()) ) );
}

to
function canStreamNative()
{
return( ZM_CAN_STREAM == "yes" || ( ZM_CAN_STREAM == "auto" && (isNetscape
() || isKonqueror() || isOpera() || isSafari()) )
);
}

- In around line 840 (May vary from installation to installation),find this:
function isNetscape()
{
getBrowser( $browser, $version );
return( $browser == "mozilla" );
}

to
function isOpera() {
getBrowser( $browser, $version );
return( $browser == "opera" );
}
function isSafari() {
getBrowser( $browser, $version );
return( $browser == "safari" );
}


- For Kodicom KMC-8800 there's a fix, make a new file on /etc/modprobe.d/bttv.conf and place the option, for

for 1 card :
options i2c-algo-bit bit_test=1
options bttv gbuffers=16 card=102,102,102,102,102,102,102,102 radio=0,0,0,0,0,0,0,0 tuner=4,4,4,4,4,4,4,4 chroma_agc=1 combfilter=2 full_luma_range=1 coring=1 autoload=0

for 2 card :
options i2c-algo-bit bit_test=1
options bttv gbuffers=16 card=102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102 radio=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 tuner=4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4 chroma_agc=1 combfilter=2 full_luma_range=1 coring=1 autoload=0


- There's a issue with shared memory with my installation - i don't know if you guys got the same issue too, if so... just insert below line to /etc/sysctl.conf
vim /etc/sysctl.conf
then insert :
kernel.shmall = 134217728
kernel.shmmax = 134217728
to load this setting immediately
sysctl -p

- If you want to use another partition as storage just create a symlink from /var/www/zm/events to zoneminder default folder :
ln -s /path/to/your/partition /var/www/zm/events Read More...

Digital Surveilance with Zoneminder 1.23

Friday, April 16, 2010
After several time our church congregation got stolen, we decide to upgrade our CCTV - yes we've been using the CCTV, but the quality is very poor (we seen the theft but the picture quality is very poor and the way to retrieve the recording isn't very comfortable - we've to search every single frame and there's no other way to skip it). Then we decide to upgrade the CCTV using computerize system which we find out will be doing more good for us.

My choice drop to Zoneminder, the fact of it being open source and it ran on LINUX also!!! has been always makes me believe we're not going wrong direction. As you guys know, we are non-profit organization and our budget come from the congregation, thats why we've to consider well every penny we spent and mostly because it ran on Linux which have been famous because of it's stability and robustness.

The hardware we choose this time is a set of computer (motherboard with onboard graphic card should be enough as we're going to install a server) and a DVR card - we choose Kodicom KMC-8800 8 channel DVR card.
Here is the list of supported hardware by Zoneminder

This time i choose Ubuntu 9.04 LAMP 32bit - Jaunty Jackalope as our base system. I'm not going to tell you guys about how to install it because the installation is pretty straight forward and well documented on internet. After the installation - make sure you guys give your server a static address, and change the repository to the local one (choose the closest one to you guys).

Once again!!! make sure you guys choose to install LAMP (Linux, Apache, mysql, PHP)!!!!

After that as usually, do some package update "sudo apt-get update" and the the upgrade "sudo apt-get upgrade" - install webmin to help us configure our system.

Now we're going to the install the zoneminder, installation is pretty straight forward also - we're going to make our life easier by installing it from debian repository "sudo apt-get install zoneminder" and if it asking for dependency fire up some command "sudo apt-get install -f" and try install the zoneminder again with "sudo apt-get install zoneminder".

After the installation progress is finish, try to link Apache with Zoneminder
"sudo ln -s /etc/zm/apache.conf /etc/apache2/conf.d/zoneminder.conf" and the reload apache "/etc/init.d/apache force-reload"

Notes :
  • For Kodicom KMC-8800 we've to make bttv.conf file on /etc/modprobe.d/ and write down
     options i2c-algo-bit bit_test=1
options bttv gbuffers=16 card=102,102,102,102,102,102,102,102 radio=0,0,0,0,0,0,0,0 tuner=4,4,4,4,4,4,4,4 chroma_agc=1 combfilter=2 full_luma_range=1 coring=1 autoload=0

for 1 card - The 8 inputs are from /dev/video0 channel 0 to /dev/video7 channel 0, and

options i2c-algo-bit bit_test=1
options bttv gbuffers=16 card=102,102,102,102,102,102,102,102,102,102,102,102,102,102,102,102 radio=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 tuner=4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4 chroma_agc=1 combfilter=2 full_luma_range=1 coring=1 autoload=0

for 2 card - The 16 inputs are from /dev/video0 channel 0 to /dev/video15
channel 0.
At this time it appears its not possible to install more than 2 cards of this card in the same computer, the computer will detect no more than 16 BT878 chips.



Read More...

Install Final Cut Pro/Studio on Macbook

Monday, April 12, 2010
Some of you may have facing some problem when installing Final Cut Pro on older Macbook white, yes the Final Cut Pro require us to have 128 MB of VRAM - As many of you know already, in many cases Apple's 'requirements' (and installer checks) for OS's, Apps, etc. are steeper than what the software will actualy run on (although not all features may work, or performance may be poor on some hardware).

The FCS 3 Install requirements lists "ATI or NVIDIA graphics processor (integrated Intel graphics processors not supported)" and "128MB of VRAM". They also list a higher minimum res (1280x800) display recommendation than FCS2 did (1024x768 min). And there's higher "requirements" listed for some apps like Color.

I copied the entire installation disk to my hard drive and deleted the installation check file from the FinalCutPro.mpkg file. (right click/"show package contents", etc.), and then go to "Content" - "Resources" and rename "Requirement Checker" file. Then the installer ran normally. After it was installed, I had to open up the applications' packages and change the "MRCheckPro.bundle" from the respective Contents/Resources folders (this is slightly different from older versions) with the one from here.

I should note that many newer Macbooks have more than 64MB shared VRAM, so people may not have to jump through these hoops on those models.

By the way, my experience with FCS 2 on this Macbook was that "almost" everything ran perfectly -- there were one or two filters (like "Bloom") that wouldn't render, but other than that, it was virtually indistinguishable from a Macbook Pro (and I should mention I have seen Mac Pros that couldn't render the Bloom filter either). I suspect this version will be similar...

Ok, have a great ministry with your Macbook.

Read More...

Panasonic AG-MX70 DSK (Down Stream Keyer)

Friday, April 9, 2010
Yes it's a bit confusing for the first time we using the DSK function on AG-MX70, me either need about one week to figure out how to set the DSK on AG-MX70.

Here's the step :
1. Connect the source of your DSK by using Composite or Component to "EXT IN" jack at the back of your AG-MX70 ("Key" for "Composite" and "Y Pb Pr" for "Component"
2. Next is the setup of your video mixer section, go to "Setup" setting by pressing the "Set up" button under the LCD and change the "Gen. Lock" -- "Ref In" into "Ext Key"
3. Next go to "DSK Fade" setting by pressing the "DSK Fade" button under the LCD and change the "DSK Source" -- "Key" into "EXT" and "Fill" into "BodMat" (this will make sure your text color match your desired color.
4. To change your text color just go to the "PATTERN" setting ("Mix" ussually for the church) by pressing the "Mix" button under the PATTERN setting , and change "Pattern Edge" -- "Color" into the color you want ("Yellow" for me).
Yes you can change the color into the color you desired.
5. To start using the DSK, send the text to mixer (i'm using Easy Woship from one computer connected to my video mixer by using S-Video to RCA cable custom build). The text must using black background.

I know the result of AG-MX70 is a litle bit crappy, and if your church have budget, just plan to buy one more video switcher with Chroma Key function other than using DSK function on AG-MX70 (There just a plain text with no shadow under it) Read More...

Installing Webmin on ubuntu

Thursday, April 1, 2010

Webmin is a web-based interface for system administration for Unix. Using any browser that support tables and forms (and Java for the File Manager module), you can setup user accounts, Apache, DNS, Squid, file sharing and so on.

Webmin consists of a simple web server, and a number of CGI programs which directly update system files like /etc/inetd.conf and /etc/passwd. The web server and all CGI programs are written in Perl version 5, and use no non-standard Perl modules.


Preparing Your System

You need to install the following packages

sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl

Install Webmin in Ubuntu

You can use the above procedure but if you want to install latest version of .deb package you can download from webmin site under Download Section

Download latest webmin using the following command

wget http://prdownloads.sourceforge.net/webadmin/webmin_1.500_all.deb

Now we have webmin_1.500_all.deb package you need to install using the following command

sudo dpkg -i *.deb

If your server complains that there is some library things does not find. Just run the following command

sudo apt- get install -f

You should now be able to login to Webmin at the URL https://localhost:10000/

Read More...

kTouch E329 Mac OS X Driver

Sunday, March 28, 2010
Yes, some of you may have been looking for ages - driver for kTouch E329 on MAC OS X 10.6 (Snow Leopard). Yes after doing some searching and research, finally i got the driver. The installation is a bit tricky but overall it's not very hard.

Allright let's download the file here (make sure your kTouch E329 isn't connected to your Mac)
after installing the driver, now it's time to configure your phone :
1. Enter the engineering mode by pressing *#3641# (don't mess with anything else or you will break the phone).
2. Go to option no.6 "USB Switch".
3. And choose QSC (this will make sure every time you connect your phone, it automatically switch to "modem" mode.
after that connect your phone and there will be system preference window which asked you to configure your new modem.

choose kTouch E329 modem and use #777 as phone number and smart as username and password.
viola!!! now you have been connected

Notes : everytime you got asked when connecting your phone via USB repeat 1-3 step (configure your phone for QSC mode once again even though it's already QSC - just press "OK" on QSC mode. This is the bugs on this phone - hope the factory will repair it soon)
Read More...

How to Install Webmin in Ubuntu

Friday, February 5, 2010

Webmin is a web-based interface for system administration for Unix. Using any browser that support tables and forms (and Java for the File Manager module), you can setup user accounts, Apache, DNS, Squid, file sharing and so on.

Webmin consists of a simple web server, and a number of CGI programs which directly update system files like /etc/inetd.conf and /etc/passwd. The web server and all CGI programs are written in Perl version 5, and use no non-standard Perl modules.


Preparing Your System

You need to install the following packages

sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl

Install Webmin in Ubuntu

You can use the above procedure but if you want to install latest version of .deb package you can download from webmin site under Download Section

Download latest webmin using the following command

wget http://prdownloads.sourceforge.net/webadmin/webmin_1.500_all.deb

Now we have webmin_1.340_all.deb package you need to install using the following command

sudo dpkg -i *.deb

If your server complains that there is some library things does not find. Just run the following command

sudo apt- get install -f

You should now be able to login to Webmin at the URL https://localhost:10000/

Read More...