Skip navigation


Windows sucks, we all know that. But I play games and like windows when it works. Therefor I’m going to post what keeps my machine clean, secure, and virus free.

1. Secunia PSI – http://secunia.com/vulnerability_scanning/personal/
This sweet baby checks and even auto updates some stuff when software becomes out of date. For example, the company I work for had thousands of customers become hacked and it was through FTP. We called it Gumblar. This was a vulnerability with Out of Date Flash Player and FTP programs. Secunia noticed FTP and Flash player were out of date and updated for me. Boom – Secure.

2. AVG – http://free.avg.com/us-en/homepage
Everyone needs a good anti-virus. Preferably one which doesn’t HOG RESOURCES *cough* Mcafee *cough* Norton *cough*. AVG is free, lightweight, and just works. Never had a complaint with it.

3. MalwareBytes Anti-Malware (well gee, I never would have guessed by the name) – http://www.malwarebytes.org/
It works just fine with the free version. It will find trojans and even malware (ha).

4. Hitman Pro – http://www.surfright.nl/en/hitmanpro
This was the only thing which was able to un-rootkit a client’s computer. Thing was crazy dug in, but it did the job. Always good to keep on hand.

That’s really it. You don’t need anything crazy. Just make sure you’re up to date with windows update too and you’ll be golden.

Or you could just use Linux.

So I couldn’t find a GOOD acoustic copy for Silverchair’s Emotion Sickness song. So I re-tabbed it based on a crappy one I found online.

Download Silverchair – Emotion Sickness guitar pro tab

This was an installation for a customer and I figured I’d post my problems to help anyone else. I use Apache 2

Make sure to delete any yum’d version of SVN:

  1. yum remove subversion
  2. cd /usr/src
  3. wget http://www.webdav.org/neon/neon-0.2X.0.tar.gz
  4. tar -xzvf neon-0.2X.0.tar.gz
  5. make && make install

Then, I did a normal install but specified neon’s install path:

  1. cd /usr/src
  2. wget http://apache.xmundo.com.ar/subversion/subversion-1.7.2.tar.gz
  3. tar -xzvf subversion-1.7.2.tar.gz
  4. cd subversion-1.7.2
  5. ./configure --with-apxs=/usr/local/apache/bin/apxs --with-apr=/usr/local/apache --with-apr-util=/usr/local/apache --with-ssl --with-neon=/usr/local/
  6. make && make install

You may now need to install the SVN Apache modules. These will be in /usr/src/subversion-/subversion, and should already be installed into Apache. If not, go back into the subversion source dir and re-run the configure line adding –enable-dso and then make but to NOT make install.

Add the following lines to httpd.conf:

  1. LoadModule dav_svn_module modules/mod_dav_svn.so
  2. LoadModule authz_svn_module modules/mod_authz_svn.so

Zen Roon:

  1. /usr/local/cpanel/bin/apache_conf_distiller --update

If apache throws an error like the one below (it’s not the entire error) -

“subversion/libsvn_subr/.libs/libsvn_subr-1.so.0: undefined symbol: sqlite3_clear_bindings”

- you need to upgrade sqlite manually (not from yum, since the readme for subversion says you need 3.4.0 or higher and 3.3.6 is what my yum is forcing me to install)

I did the following to update sqlite:

  1. wget http://www6.atomicorp.com/channels/atomic/centos/5/x86_64/RPMS/sqlite-3.7.0.1-1.el5.art.x86_64.rpm
  2. rpm -Uvh sqlite-3.7.0.1-1.el5.art.x86_64.rpm (or rpm -i)

You may have to create a symbolic link to the /usr/bin/ folder for svn: ln -s /usr/local/bin/svn /usr/bin/svn

Otherwise, both svn –version and whereis svn show correct info.

*Updated 02/02/12* I just found you can just yum everything after installing RPM forge. ffmpeg-php may not be included so you’ll want to skip to the very bottom afterwords and compile it manually.

GUIDE IS FOR VPS AND HIGHER PLANS (with root – I haven’t tried without but it may be possible). Shared class does not come with the ability to do this.

Also, a lot of my help came from http://wiki.jvideodirect.com/w/Converter_Setup, which I was installing on a VPS. You can review their installation instructions, but they don’t exactly fit our Centos 5 VPS servers. This guide is my logs from installing it on a 1024M VPS.

Necessary before installation

  1. yum install libXv-devel-1.0.1-4.1.i386
  2. yum install libXv-devel-1.0.1-4.1.x86_64

 
You can use the below command to install RPMForge in one command.

  1. cd /usr/src/ && wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el`cat /etc/redhat-release | cut -d' ' -f3|cut -d. -f1`.rf.`uname -i`.rpm && rpm -Uhv rpmforge-release-0.5.2-2.el`cat /etc/redhat-release | cut -d' ' -f3|cut -d. -f1`.rf.`uname -i`.rpm

http://adityo.blog.binusian.org/?tag=add-rpmforge-and-dag-repository-on-centos

Quick Installation Guide -

  1. yum update
  2. yum install ffmpeg ffmpeg-devel ffmpeg-php mplayer mencoder libogg libvorbis

Manual Installation Guide -

Make sure you cd /opt – We will be wget’ng everything into the /opt folder.

== Step 0.5 SVN

Easy Method

  1. yum update
  2. yum install subversion

 

Advanced Method

  1. cd /usr/src
  2. wget http://subversion.tigris.org/downloads/subversion-1.6.13.tar.gz
  3. wget http://subversion.tigris.org/downloads/subversion-deps-1.6.13.tar.gz
  4. tar xvzf subversion-1.6.13.tar.gz
  5. tar xvzf subversion-deps-1.6.13.tar.gz
  6. cd subversion-1.6.13
  7. ./configure --with-apxs=/usr/local/apache/bin/apxs --with-apr=/usr/local/apache --with-apr-util=/usr/local/apache --with-ssl
  8. make && make install

for apache module support, add this to httpd.conf or appropriate template

  1. LoadModule dav_svn_module modules/mod_dav_svn.so
  2. LoadModule authz_svn_module modules/mod_authz_svn.so

== Step One – FAAD2

Grab the newest (tar.gz) version from http://sourceforge.net/projects/faac/files/faad2-src/

  1. wget http://PATH TO FAAD2 VERSION.com/file.tar.gz
  2. tar zxf faad2-2.6.1.tar.gz
  3. cd faad2
  4. autoreconf -vif
  5. ./configure --disable-drm --disable-mpeg4ip --with-mp4v2 --prefix=/usr
  6. make && make install
  7. cd ..

 

== Step Two – FAAC

Grab the newest (tar.gz) version from http://sourceforge.net/projects/faac/files/faac-src/

  1. wget http://PATH TO FAAC VERSION.com/file.tar.gz
  2. tar zxfv faac-1.26.tar.gz
  3. cd faac
  4. ./bootstrap
  5. ./configure --prefix=/usr
  6. make && make install
  7. cd ..

== Step Three – Lame

Grab the newest (tar.gz) version from http://sourceforge.net/projects/lame/files/lame/

  1. wget http://PATH TO LAME VERSION.com/file.tar.gz
  2. tar zxfv lame-3.98b8.tar.gz
  3. cd lame-3.98b8
  4. tar xzvf lame-398-2.tar.gz
  5. cd lame-398-2
  6. ./configure --prefix=/usr
  7. make clean
  8. make && make install
  9. cd ..

== Step Four – Yasm

  1. wget http://www.tortall.net/projects/yasm/releases/yasm-1.1.0.tar.gz
  2. tar zfvx yasm-1.1.0.tar.gz
  3. cd yasm-1.1.0
  4. ./configure --prefix=/usr
  5. make && make install
  6. cd ..

== Step Five – MP4Box/GPAC

  1. wget http://sourceforge.net/projects/gpac/files/GPAC/GPAC%200.4.5/gpac-0.4.5.tar.gz
  2. wget http://sourceforge.net/projects/gpac/files/GPAC%20extra%20libs/GPAC%20extra%20libs%200.4.5 /gpac_extra_libs-0.4.5.tar.gz
  3. tar -xzf gpac-0.4.5.tar.gz
  4. tar -xzf gpac_extra_libs-0.4.5.tar.gz
  5. cd gpac_extra_libs
  6. cp -rf * ../gpac/extra_lib/
  7. cd ../gpac
  8. chmod +x configure
  9. ./configure
  10. make lib
  11. make apps
  12. make install lib
  13. make install
  14. cp bin/gcc/libgpac.so /usr/lib/

== Step Six – x264 (LIBX264)

Again, grab the newest release: http://download.videolan.org/pub/videolan/x264/snapshots/

  1. wget http://download.videolan.org/pub/videolan/x264/snapshots/x264-snapshot-20110213-2245.tar.bz2
  2. bzip2 -cd x264-snapshot-20110213-2245.tar.bz2 | tar xvf -
  3. cd x264-snapshot-20110213-2245
  4. ./configure --enable-mp4-output --enable-shared --enable-pthread --prefix=/usr
  5. make && make install
  6. cd ..

 

== Step Seven – xvid

Grab the newest (tar.gz) version from http://www.xvid.org/Downloads.43.0.html

  1. wget http://downloads.xvid.org/downloads/xvidcore-1.2.2.tar.gz
  2. tar zxfv xvidcore-1.2.2.tar.gz
  3. cd xvidcore/build/generic
  4. ./configure --prefix=/usr
  5. make && make install
  6. cd ../../..

 

== Step Eight – FFMPEG

  1. svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
  2. cd ffmpeg
  3. ./configure --enable-gpl --enable-postproc --enable-nonfree --enable-postproc --enable-swscale --enable-
    avfilter --enable-pthreads --enable-libxvid --enable-libmp3lame --enable-libfaac --disable-ffserver
    --disable-ffplay --enable-libx264 --prefix=/usr --enable-shared --enable-mmx
  4. make (check for errors)
  5. make install

*Original with disabled x264 and 1394

  1. ./configure --enable-gpl --enable-postproc --enable-nonfree --enable-postproc --enable-libfaad
    --enable-swscale --enable-avfilter --enable-pthreads --enable-libxvid --enable-libx264 --enable-
    libmp3lame --enable-libdc1394 --enable-liba52 --enable-libfaac --disable-ffserver --disable-ffplay
    --prefix=/usr

 

This may or may not be necessary -

  1. ln -s /usr/local/lib/libavformat.so.50 /usr/lib64/libavformat.so.50
  2. ln -s /usr/local/lib/libavcodec.so.51 /usr/lib64/libavcodec.so.51
  3. ln -s /usr/local/lib/libavutil.so.49 /usr/lib64/libavutil.so.49
  4. ln -s /usr/local/lib/libmp3lame.so.0 /usr/lib64/libmp3lame.so.0
  5. ln -s /usr/local/lib/libavformat.so.51 /usr/lib64/libavformat.so.51

 

== Step NiNE – FFMPEG-PHP

  1. wget http://sourceforge.net/projects/ffmpeg-php/files/ffmpeg-php/0.6.0/ffmpeg-php-0.6.0.tbz2/download
  2. tar jxvf ffmpeg-php-0.6.0.tbz2
  3. cd ffmpeg-php-0.6.0
  4. phpize
  5. ./configure

 

*****IMPORTANT IF YOU GET ERRORS ON CONFIGURE*****
1. Open the file ā€œ/root/ffmpeg-php-0.5.0/ffmpeg_frame.cā€ using vi editor (or nano).
2. Go to the line you are getting this error. [In this example, line #495].
3. Execute the following command.
Press ESC and :%s/PIX_FMT_RGBA32/PIX_FMT_RGB32
4. Save the file and recompile it once again.

  1. make
  2. make install
  3. copy /usr/src/ffmpeg/libavutil/libavutil.so.50 to /usr/lib64

 

== Step Ten – flvtool2

flvtool2 install info http://www.mysql-apache-php.com/ffmpeg-install.htm

Optional — == Install MENCODER + MPLAYER

MENCODER is a free command line video decoding, encoding and filtering tool released under the GNU General Public License. It is a close sibling to MPlayer and can convert all the formats that MPlayer understands into a variety of compressed and uncompressed formats using different codecs. The Installation Process [[ Note: I used /opt and not usr/local/src, but I would suggest following the instructions if you're not familiar with this stuff.]]

  1. mkdir /usr/local/src
  2. cd /usr/local/src
  3. wget http://www3.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2
  4. tar jxvf essential-20061022.tar.bz2
  5. mkdir /usr/local/lib/codecs/
  6. mv /usr/local/src/essential-20061022/* /usr/local/lib/codecs/
  7. chmod -R 755 /usr/local/lib/codecs/
  8. mkdir /usr/local/src/tmp
  9. chmod 777 /usr/local/src/tmp
  10. export TMPDIR=/usr/local/src/tmp
  11. svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
  12. cd /usr/local/src/mplayer
  13. svn update
  14. make distclean
  15. ./configure
  16. make clean
  17. make
  18. make install