You can have problems updating Kloxo to version 6.1.10 (especially from 6.1.7) with using 'auto update' or 'update home' on kloxo.
short solution:
Run /script/cleanup
if this don't work try this:
# update your linux distribution
yum update
# shell command version for update kloxo
sh /script/upcp
# cleanup process kloxo settings
sh /script/cleanup
# restart some services
service xinetd restart
# Better reboot after that
reboot
Wednesday, December 7, 2011
Sunday, November 27, 2011
Startup Script Red5 working with ubuntu 11.x
You may wish have red5 started at boot.
This script should help you.
It is assumed that your red5 script is located at /usr/share/red5:
This script should help you.
It is assumed that your red5 script is located at /usr/share/red5:
cd /etc/init.d/
touch red5
chmod 755 red5
vi red5
Paste below code
#! /bin/sh
# /etc/init.d/red5
#
# Check for missing file
RED5_DIR=/usr/share/red5
test -x $RED5_DIR/red5.sh || exit 5
case "$1" in
start)
echo -n "Starting Red5 Service"
echo -n " "
cd $RED5_DIR
su -s /bin/bash -c "$RED5_DIR/red5.sh &" red5
sleep 2
;;
stop)
echo -n "Shutting down red5"
echo -n " "
su -s /bin/bash -c "killall -q -u red5 java" red5
sleep 2
;;
restart)
## Stop the service and regardless of whether it was
## running or not, start it again.
$0 stop
$0 start
;;
esac
then you maybe need
useradd red5
and use like
service red5 start
service red5 stop
service red5 restart
Tuesday, November 22, 2011
Drupal - smtp with gmail
To use Gmail App with Drupal, use the SMTP Authentication Support module. Install a version of this module that is compatible with your version of Drupal.
Open your modules page, find the SMTP module, and configure it with the following settings:
- SMTP Server – smtp.gmail.com
- SMTP Port – 465
- Use Encrypted Protocal - Yes, Use-ssl
- Username – gmail Email-address
- Password – gmail Password
Don't forget to turn the module on and send your first test-mail.
Wednesday, November 9, 2011
Creating a Virtual Host with Webmin
These instructions apply to Webmin version 1.570 and Ubuntu 10.04
- Create a folder where you wish to store your sites files.
- You can do this in the Others > File Manager section.
- In this example we use: /var/www/vhosts/domainname.com/http/
- Setup the vhost.
- Click on Servers > Apache Web Server in the left hand menu.
- Click the “create virtual host” tab.
- You can leave most settings as their default values, but you should fill out the following:
- Port: Generally, you’ll want to use port 80.
- Document Root: This is folder where you site’s files will be stored. Pick the folder you created in step 1.
- Server name: This is just your site’s domain name, e.g. domainname.com (leave out the www.)
- Click “Create Now”
- Add a server alias for www.domainname.com
- Click on the “Existing Virtual Hosts” tab in Servers > Apache Web Server.
- Click the virtual server you just created.
- Click on “Networking and Addresses”
- In the “Alternate Virtual Server Names” box, add any additional server aliases you want to use for this site, such as www.domainname.com
- Press “Save”.
- Click “Apply Changes” to get Webmin to restart Apache.
- vi /etc/apache2/sites-enabled/000-default and add: NameVirtualHost *
Monday, November 7, 2011
Stream your video files via CDN and play them with JW Player
Using AWS CloudFront as CDN
A Content Delivery Network (CDN) offers several advantages over a plain webserver for streaming video. For example, a CDN will be able to speedily deliver your videos across the country and globe, it will be able to stream your videos instead of a download and it will be able to scale to large numbers of videos and viewers.This 4 steps are required:
- Get an Amazon Web Services (AWS) Account
- Upload Your Content to S3
- Create a CloudFront Distribution
- Configure Your JW Player:
Tuesday, November 1, 2011
Add Google Analytics to your Kaltura Player
- enter the KMC
- click on the Studio tab.
- in the Studio, edit the player of your choice.
- enter the Features tab and reveal the Additional parameters and plugins section.
- copy and paste the following line into the "Paste your plug-in line here" text box and click the "go" button:
googleAnalytics.plugin=true&googleAnalytics.urchinCode=UA-yourgoogleanalyticscode&googleAnalytics.debugMode=false&googleAnalytics.path=http://cdnexchange.kaltura.com/sites/exchange.kaltura.com/files/applications/releases/Kalturian/16/googleAnalytics.swf&googleAnalytics.relativeTo=PlayerHolder&googleAnalytics.position=lastChild - change the googleAnalytics.debugMode parameter to true in order to get visual debugging information window over the player.
Sunday, October 23, 2011
How to generate an SSH key with Linux?
You can generate a SSH key in Linux using the ssh-keygen command. You should run it in the command line. You will be asked for a file in which the key should be saved to and for a passphrase (password) for the key:
user@localhost: ssh-keygen -t dsa
Generating public/private dsa key pair.
Enter file in which to save the key (/home/user/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in id_dsa.
Your public key has been saved in id_dsa.pub.
The key fingerprint is:
16:8e:e8:f2:1d:c9:b9:cf:43:9a:b3:3c:c1:1f:95:93 user@localhost
Generating public/private dsa key pair.
Enter file in which to save the key (/home/user/.ssh/id_dsa):
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
Your identification has been saved in id_dsa.
Your public key has been saved in id_dsa.pub.
The key fingerprint is:
16:8e:e8:f2:1d:c9:b9:cf:43:9a:b3:3c:c1:1f:95:93 user@localhost
This will create a private key written to /home/user/.ssh/id_dsa and a public key written to/home/user/.ssh/id_dsa.pub. The passphrase is used to protect your key. You will be asked for it when you connect via SSH.
Subscribe to:
Posts (Atom)