Here is the steps to install the Cisco VPN client application on linux based servers. We have found several customers use their cisco router to manage their VPN Network, therefore by following this simple steps you should be able to install and configure your linux server as a VPN client.

- Download vpnclient-linux-4.8.00.0490-k9.tar.gz from ServerBuddies file server:

  1. cd /usr/local/src
  2. wget http://www.serverbuddies.com/files/vpnclient-linux-4.8.00.0490-k9.tar.gz

- Uncompress the application:

  1. tar xzf vpnclient-linux-4.8.00.0490-k9.tar.gz

You will see a new folder created called “vpnclient” ‘cd’ into it and run the installation script

  1. cd vpnclient
  2. ./vpn_install

Answer the following questions:

Directory where binaries will be installed?
[/usr/local/bin]

Automatically start the VPN service at boot time?
[yes]

Directory containing linux kernel source code?
You will need to search where your kernel source code is, 90% of the cases will be on /lib/modules/`uname -r`
For this example we will use:

/lib/modules/2.6.9-67.0.22.EL/source

####
If you cant find your kernel source files, it’s probably you dont have it, you will need to download the kernel-devel package:

  1. yum install kernel-devel

Note: Double check you are downloading the right kernel version that you currently use by typing:

  1. uname -r

####

To Start you vpnclient type:

  1. /etc/init.d/vpnclient_init start

Keep in mind that Cisco VPN profiles are both compatible in Linux or Windows so if you have already a Windows myprofile.pcf cisco vpn client profile you can move it to /etc/opt/cisco-vpnclient/Profiles/myprofile.cf for use it on your linux server later.

To start the VPN connection using your current profile just type:

  1. vpnclient connect myprofile

This cisco vpnclient version should be able to run on latest kernel version, but if you run into problems installing your Cisco VPN Client feel free to contact our Tech Support Staff.

* ServerBuddies Team.

Getting Started

1.

 First, install OpenSSH on two UNIX machines, hurly and burly. This works best using DSA keys and SSH2 by default as far as I can tell. All the other HOWTOs I’ve seen seem to deal with RSA keys and SSH1, and the instructions not surprisingly fail to work with SSH2.

2.

On each machine type ssh somemachine.example.com and make a connection with your regular password. This will create a .ssh dir in your home directory with the proper perms.

3.

On your primary machine where you want your secret keys to live (let’s say hurly), type

  1. ssh-keygen -t dsa

This will prompt you for a secret passphrase. If this is your primary identity key, make sure to use a good passphrase. If this works right you will get two files called id_dsa and id_dsa.pub in your .ssh dir. Note: it is possible to just press the enter key when prompted for a passphrase, which will make a key with no passphrase. This is a Bad Idea ™ for an identity key, so don’t do it! See below for uses of keys without passphrases.

4.

  1. scp ~/.ssh/id_dsa.pub burly:.ssh/authorized_keys2

Copy the id_dsa.pub file to the other host’s .ssh dir with the name authorized_keys2.

5.

Now burly is ready to accept your ssh key. How to tell it which keys to use? The ssh-add command will do it. For a test, type

  1. ssh-agent sh -c ’ssh-add < /dev/null &amp;&amp; bash’

This will start the ssh-agent, add your default identity(prompting you for your passphrase), and spawn a bash shell. From this new shell you should be able to:

6.

  1. ssh burly

This should let you in without typing a password or passphrase. Hooray! You can ssh and scp all you want from this bash shell and not have to type any password or passphrase.

The release of Parallels Plesk Control Panel 8.6 continues Parallels initiative of enabling integration
of all types of web hosting software. This new version of the software further integrates the Parallels
Plesk Control Panel with Parallels Virtuozzo Containers, 3rd party, and other web applications as well
as continuing to deliver innovative ease of use, the highest levels of stability and performance, security
and unmatched value. With over 20 new features and capabilities, Parallels Plesk remains the true
leader in multi-platform control panels. 

 

New Features  
 
  • 1. Parallels Plesk Billing Bundle
  • 2. Changing DNS zone SOA serial number format
  • 3. Improved DNS zone update
  • 4. Permission for clients to select a target DB server
  • 5. Categories in Application Vault
  • 6. DomainKeys support
  • 7. 4PSA VoipNow integration
  • 8. Database users prefix
  • 9. Import/Export Database Backup
  • 10. New Plesk events
  • 11. Ability to block domain creation in foreign DNS zone
  • 12. Extended branding options
  • 13. Application Packaging Standard (APS) CGI support
  • 14. ProFTPd 1.3.1 Update
  • 15. Horde 3.1.7 Update
  • 16. SPAW 2.0 Update
  • 17. DotNetNuke 4.8.2 Update 
  • 18. openSuSE 10.3 Support 
  • 19. Fedora 8 Support
  • 20. Parallels Plesk Sitebuilder 4.2 Support
  • 21. Simple DNS Plus 5.0 Support
  • 22. ColdFusion 8 Support
  • 23. SmarterMail 5 Support 
  • 24. CommuniGate Pro 5.2 Support
  • 25. MailEnable 3.14 Support
  • 26. Merak 9.2.1 Support
  • 27. Parallels Plesk Billing (formerly ModernBill) integration

 

 

* ServerBuddies recommends Plesk!

This is a common error when we issue a “php -v” over command line or when we browse a phpinfo.php on a site.

To quickly fix this problem you will need to recompile your ffmpeg-php again.

How we fix this?

1)

  1. #cd %ffmpeg-php-DIR%
  2. #vi ffmpeg-php.c

remove/comment the call to av_free_static()

save.

2)

rebuild ffmpeg-php and place the new ffmpeg.so on your extension directory.

 

Should be fixed.

 

 

On the last few months, we have seen a lot of customers trying to setup his own Video Sharing site (ex: youtube clone) with no luck, the implementation it’s not that hard to setup your linux server to allow video streaming. There are a lot of youtube sites around that may do this, what you only need is to setup your linux system to work with the requirements. Due this we have made this HOW TO FFMPEG post so customers and non-customers would do this by their end.

Requirements:

FFMPEG
FFMPEG-PHP
Mplayer
Mencoder
flv2tool (RUBY ON RAILS REQUIRED)
LAME MP3 Encoder
Libogg
Libvorbis

—————————–

1) We download all the necessary packages.

  1. cd /usr/local/src
  2. wget http://www.serverbuddies.com/files/ffmpeg/essential-20061022.tar.bz2
  3. wget http://www.serverbuddies.com/files/ffmpeg/ffmpeg-php-0.5.0.tbz2
  4. wget http://www.serverbuddies.com/files/ffmpeg/flvtool2_1.0.5_rc6.tgz
  5. wget http://www.serverbuddies.com/files/ffmpeg/lame-3.97.tar.gz
  6. wget http://www.serverbuddies.com/files/ffmpeg/libogg-1.1.3.tar.gz
  7. wget http://www.serverbuddies.com/files/ffmpeg/libvorbis-1.1.2.tar.gz
  8. svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
  9. svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer

2) in order to install all the packages, we extract all of them.

  1. tar xzvf flvtool2_1.0.5_rc6.tgz
  2. tar xzvf lame-3.97.tar.gz
  3. tar xzvf libogg-1.1.3.tar.gz
  4. tar xzvf libvorbis-1.1.2.tar.gz
  5. tar xzvf flvtool2_1.0.5_rc6.tgz
  6. tar xjvf essential-20061022.tar.bz2
  7. tar xjvf ffmpeg-php-0.5.0.tbz2

3) We create a codecs directory so we can use it as default codec dir later. Then we copy the mplayer codecs to the new directory.

  1. mkdir /usr/local/lib/codecs/
  2. mv /usr/local/src/essential-20061022/* /usr/local/lib/codecs/
  3. chmod -R 755 /usr/local/lib/codecs/

4) We create a temporary TMP dir in order to safe compile everything.

  1. mkdir /usr/local/src/tmp
  2. chmod 777 /usr/local/src/tmp
  3. export TMPDIR=/usr/local/src/tmp

5) We start compiling & installing packages

a) For LAME:

  1. cd /usr/local/src/lame-3.97
  2. ./configure
  3. make
  4. make install

b) For LIBOGG:

  1. cd /usr/local/src/libogg-1.1.3
  2. ./configure
  3. make
  4. make install

c) For LIBVORBIS:

  1. cd /usr/local/src/libvorbis-1.1.2
  2. ./configure
  3. make
  4. make install

d) For FLVTOOL2:

  1. cd /usr/local/src/flvtool2_1.0.5_rc6/
  2. ruby setup.rb config
  3. ruby setup.rb setup
  4. ruby setup.rb install

e) For MPlayer:

  1. cd /usr/local/src/mplayer
  2. ./configure
  3. make
  4. make install

f) For FFMPEG:

  1. cd /usr/local/src/ffmpeg/
  2. ./configure –enable-libmp3lame –enable-shared
  3. make
  4. make install

Some necessary linking,

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

e) For FFMPEG-PHP:

  1. cd /usr/local/src/ffmpeg-php-0.5.0/
  2. phpize
  3. ./configure
  4. make
  5. make install

Finally, we include the ffmpeg-php module to our php.ini

  1. echo ‘extension=/usr/local/lib/php/extensions/no-debug-non-zts-20020429/ffmpeg.so’ >> /usr/local/Zend/etc/php.ini

Restart apache:

  1. service httpd restart

DONE!

Your installation is finish, now you need to check if the video streamin is working correctly on your website.

Keep in mind that most of the sites have different video rate conversion, this does not mean the installation is wrong, you will need to look on the PHP code of your video streaming site to see if its using ffmpeg and mencoder command line properly.

« Prev - Next »