Archive

Posts Tagged ‘Redhat’

Debian vs. Red Hat: How to transfer your package list and install them

October 7th, 2011 No comments

Some time ago I came across a problem with Debian I have always solved in a matter of seconds with Red Hat I’ve had to think a little ‘…

In Debian, I often make two identical machines in a cluster for HA, and after I configured the other prepare and pass the list of packages and install them, how?

Here, the first extracts a list of Debian packages with “dpkg” and put on a file:

    root@debian1:~# dpkg –get-selections > debian1-pkgs

then you have to copy the list on the secondary machine, usually use scp:

    root@debian1:~# scp debian1-pkgs root@debian2:/root/.

now that we have the list on the secondary, the load always using “dpkg

    root@debian2:~# dpkg –set-selections < debian1-pkgs

Now we just have him install the packages using "apt":

    root@debian2:~# apt-get dselect-upgrade

And voila! You're done!

And Red Hat?!?

first retrieve all packages installed on a file, using "yum" (the Red Hat package manager and so on), and copy it to the other node:

[root@redhat1 ~]# yum list installed > redhat1-pkg
[root@redhat1 ~]# scp redhat1-pkg root@redhat2:/root/.

now we should say "yum" to install the list, but unfortunately it has more of the entries that do not serve us, this is the example that follows shows how the file:

Loaded plugins: rhnplugin, security
Installed Packages
Deployment_Guide-en-US.noarch             5.2-11                       installed
GConf2.i386                               2.14.0-9.el5                 installed
GConf2.x86_64                             2.14.0-9.el5                 installed
GConf2-devel.x86_64                       2.14.0-9.el5                 installed
MAKEDEV.x86_64                            3.23-1.2                     installed
NetworkManager.i386                       1:0.7.0-10.el5_5.2           installed
NetworkManager.x86_64                     1:0.7.0-10.el5_5.2           installed
NetworkManager-glib.i386                  1:0.7.0-10.el5_5.2           installed
NetworkManager-glib.x86_64                1:0.7.0-10.el5_5.2           installed
NetworkManager-gnome.x86_64               1:0.7.0-10.el5_5.2           installed

we clean everything with the command "cut" and take the first part of each line, so the only name of the package, and we feed it to "yum" directly

    [root@phbe2pr ~]# yum -y install $(cut -f 1 -d” ” < redhat1-pkg)

Now start the download and installation of all.
I hope that was helpfu.

Howto Install RED5 Flash Media Server in Fedora 11, Centos 5.4, Redhat

August 15th, 2008 No comments

Howto Install RED5 Flash Media Server in Fedora 11, Centos 5.4, Redhat

Red5 is an Open Source Flash Media Server created in Java that supports:

* Streaming Audio/Video (FLV as well as MP3)
* Recording Client Streams (FLV only)
* Shared Objects
* Live Stream Publishing
* Remoting (AMF)

This is a retreat engineered open source plan that aims to furnish a feature-complete doing created in Java. It os a single of a Full doing RTMP servers alternative than:

Adobe Flash Media Server,
Onlinelib VCS Video Communication Server
Wowza Media Server
WebORB Integration Server
haXeVideo

In this educational we’ll sense howto installRED5 upon Centos 5.4,Fedora, Redhat as well as alternative Linux Distribution, There have been most ways to grasp this though this is how i commissioned RED5 Media Server upon Fedora 11.

Red5 Requires Java Development Kit (JDK) to run so we have to implement Java onto a system,You can acheive this in 2 ways
1. Either Use Yellow DOG Updater

# yum -y implement java-1.6.0-openjdk java-1.6.0-openjdk-devel

OR

Download JDK as well as Compile

cd /usr/java
IF /usr/java cannot be found
mkdir /usr/java
Go to a Link as well as Download http://java.sun.com/javase/downloads/widget/jdk6.jsp as well as Download jdk-6u19-linux-i586.bin
mv /home/ashwin/Download/jdk-6u19-linux-i586.bin /usr/java/

chmod +x jdk-6u19-linux-i586.bin
./jdk-6u19-linux-i586.bin

You will see
JAVA_HOME=”/usr/java/jdk1.6″
export JAVA_HOME
echo $JAVA_HOME

Great Now we have commissioned JAVA right away proceed.

In a subsequent couple of stairs a starting to be simpler to begin your initial FLASH MEDIA SERVER UP as well as Running with a little default programs / apps to run.

To Read a Complete Tutorial Please Visit a next Link as well as Other Linux Tutorials

Howto Install Red5 Flash Media Server