Posts tagged install

Install CSF ConfigServer Security & Firewall

0

Install
wget http://www.configserver.com/free/csf.tgz
tar -xzf csf.tgz
cd csf
./install.sh

Edit configuration from WHM> ConfigServer Security & Firewall > Plugins or manually from /etc/csf/csf.conf .

Enable incoming connections on ports 1935 and 5080 for Red5 support.

Related Posts:

Install Red5 on Debian

0

At least Debian 5 (Lenny) required.

Checkout release:
cat /proc/version
uname -a
cat /etc/issue
cat /etc/debian_version

 

If system is not in English, enable that:
dpkg-reconfigure locales
export LANG=en_US.UTF-8

Update /etc/enviroment

You may need to reboot.

 

Update:
apt-get update

Install Subversion:
apt-get -y install subversion

Install tools to build your own Debian packages:
apt-get -y install dpkg-dev debhelper dh-make devscripts fakeroot

Install Java (accept sun license if applies):
apt-get -y install java-package
apt-get -y install sun-java6-jre
apt-get -y install sun-java6-jdk
java -version

Install Apache Ant:
wget http://www.apache.org/dist/ant/binaries/apache-ant-1.8.2-bin.tar.gz
tar zxvf apache-ant-1.8.2-bin.tar.gz
mv apache-ant-1.8.2 /usr/local/ant
export ANT_HOME=/usr/local/ant
/usr/local/ant/bin/ant -version

Download the latest development version of Red5:
svn co http://red5.googlecode.com/svn/java/server/trunk red5-trunk

Run ant to build red5:
cd red5-trunk
/usr/local/ant/bin/ant

Deploy red5:
mkdir /usr/local/red5
cp -R dist/* /usr/local/red5/
cd /usr/local/red5
chmod 755 red5.sh

Deploy your custom apps in/usr/local/red5/webapps .
In example VideoWhisper Red5 RTMP application needed to run VideoWhisper solutions.

Start Red5 in background:
cd /usr/local/red5
./red5.sh >> red5.log &

Verify the correct ports are being bound to:
netstat -ant

 

You need to restart red5 each time you add webapps to /usr/local/red5/webapps or change configuration.

Close Red5:
cd /usr/local/red5
./red5-shutdown.sh

Or kill Red5 processes:
ps aux | grep red5
kill $process_id

Then start it again:
cd /usr/local/red5
./red5.sh >> red5.log &

Related Posts:

Setting up VideoWhisper RTMP on Influxis

0

If you have a FMS account with Influxis, use these instructions for setting up a new application:

1. Create application from Tools > New App Builder or My Applications > Add New Application. Use any name i.e. “videowhisper” and save generated rtmp path.

2. From Tools > File Manager / File Admin edit videowhisper/main.asc file and make sure it has the contents of videowhisper/main.asc (open it with notepad or other text editor). If needed select all from text editor (CTRL+A), copy (CTRL+C), move to form, select all from there (CTRL+A), paste from clipboard (CTRL+V).
Get VideoWhisper FMIS rtmp side from Downloads : RTMP VideoWhisper Applications > FMIS .

3. From Account Settings > Domain Permissions, Set Referring Domain(s), Add New Domain – add your domain that hosts the flash (i.e. your-domain.com)

4. Reset the VHost for your Influxis account so it loads new applications or updates.
In your Influxis account go to My Applications > FCS Administration Console: Connect then go to Maintenance : Adaptor / VHost: Restart .

Related Posts:

Install Joomla

Downloading to computer and then uploading unzipped files by ftp is time consuming on ADSL internet.

Get download link from http://www.joomla.org/download.html .

Assuming installing for an account camcomm:

cd /home/camcomm
wget http://joomlacode.org/gf/download/frsrelease/16024/69674/Joomla_1.7.3-Stable-Full_Package.zip
unzip Joomla_1.7* -d public_html
chown -R camcomm:camcomm public_html/*

 

Then open website and follow installation procedure.

Related Posts:

Install latest wget

Find latest wget version on http://ftp.gnu.org/gnu/wget/wget/ and install it as /usr/local/bin/wget .

wget ftp://ftp.gnu.org/gnu/wget/wget-1.13.4.tar.gz
yum remove wget
tar xfz wget-*
cd wget-*
./configure
make
make test
make install
cd ../

Related Posts:

Security Scans for Server and VPS

Here is how to install 2 popular tools for scanning your servers for rootkits, trojans:

 

RKHunter
http://rkhunter.sourceforge.net/

Install

wget http://downloads.sourceforge.net/project/rkhunter/rkhunter/1.3.8/rkhunter-1.3.8.tar.gz
tar -xvzf rkhunter-1.3.8.tar.gz
cd rkhunter-1.3.8
./installer.sh –install
rkhunter –propupd

Scan

rkhunter –check

Also check resulting log in /var/log/rkhunter.log .

 

 

ChkRootkit
http://www.chkrootkit.org/

Install

wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz
tar xvzf chkrootkit.tar.gz
cd chkrootkit*
make sense

Scan

./chkrootkit

Related Posts:

Install YUM Centos 5.5 i386

In case yum is unavailable due to various reasons (broken, uninstalled) here is a shell script that can install it.

Paste this in a yumi.sh file:

for file in \
gmp-4.1.4-10.el5.i386.rpm \
readline-5.1-3.el5.i386.rpm \
python-libs-2.4.3-43.el5.i386.rpm \
python-2.4.3-43.el5.i386.rpm \
libxml2-2.6.26-2.1.2.8.el5_5.1.i386.rpm \
libxml2-python-2.6.26-2.1.2.8.el5_5.1.i386.rpm \
expat-1.95.8-8.3.el5_5.3.i386.rpm \
python-elementtree-1.2.6-5.i386.rpm \
sqlite-3.3.6-5.i386.rpm \
python-sqlite-1.1.7-1.2.1.i386.rpm \
elfutils-libelf-0.137-3.el5.i386.rpm \
elfutils-0.137-3.el5.i386.rpm \
popt-1.10.2.3-22.el5.i386.rpm \
rpm-libs-4.4.2.3-22.el5.i386.rpm \
rpm-4.4.2.3-22.el5.i386.rpm \
rpm-python-4.4.2.3-22.el5.i386.rpm \
m2crypto-0.16-6.el5.8.i386.rpm \
python-urlgrabber-3.1.0-6.el5.noarch.rpm \
python-iniparse-0.2.3-4.el5.noarch.rpm \
yum-fastestmirror-1.1.16-14.el5.centos.1.noarch.rpm \
yum-metadata-parser-1.1.2-3.el5.centos.i386.rpm \
yum-3.2.22-33.el5.centos.noarch.rpm
do rpm -Uvh –nodeps http://mirror.centos.org/centos-5/5/os/i386/CentOS/$file;
done

chmod a+x yumi.sh
./yumi.sh
yum update
Some files may have been updated, so if you get errors update these file names to latest versions from http://mirror.centos.org/centos-5/5/os/i386/CentOS/ or other mirror you may be using.

Related Posts:

Install GhostScript and ImageMagick on Linux

yum install tcl-devel libpng-devel libjpeg-devel ghostscript-devel bzip2-devel freetype-devel libtiff-devel

svn co http://svn.ghostscript.com/ghostscript/trunk/gs
cd gs
./autoconf.sh
./configure && make && make install

wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
cd ImageMagick-6.6.5-4
./configure –prefix=/usr/local –with-bzlib=yes –with-fontconfig=yes –with-freetype=yes –with-gslib=yes –with-gvc=yes –with-jpeg=yes –with-jp2=yes –with-png=yes –with-tiff=yes
make && make install

You should get something like this:

root@host [~]# convert –version
Version: ImageMagick 6.6.5-4 2010-10-28 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2010 ImageMagick Studio LLC
Features: OpenMP
(more…)

Related Posts:

Install get_flash_videos on Linux

yum install ncftp
perl -MCPAN -e ‘install Bundle::CPAN’

perl -MCPAN -e shell

install XML:Simple
install Data:AMF
install Compress:Zlib
install Crypt:Rijndael
install WWW:Mechanize
install Authen::NTLM
install Compress::Zlib
install HTML::Entities
install HTML::Parser
install Net::SSL

exit

wget http://get-flash-videos.googlecode.com/files/get_flash_videos-1.23 -O /usr/local/bin/get_flash_videos
chmod a+x /usr/local/bin/get_flash_videos

/usr/local/bin/get_flash_videos

If this is successful you should see get_flash_videos instructions and no dependency errors.

wget http://get-flash-videos.googlecode.com/files/get_flash_videos-1.23 -O /usr/local/bin/get_flash_videos

chmod a+x /usr/local/bin/get_flash_videos

Related Posts:

Install Red5 on SUSE Linux

First know your system to know what to install.

Use uname -a to see if you need to download 32 or 64 bits versions.

Get SUSE release: cat /etc/SuSE-release

INSTALL JDK

Install latest JDK from http://java.sun.com/javase/downloads/index.jsp .

Use chmod a+x to make downloaded file executable and execute it.

Make sure latest version is used:

ln -s /usr/java/latest /usr/local/jdk
ln -s
/usr/java/latest/jre /usr/local/jre
rm /usr/bin/java

ln -s
/usr/java/latest/bin/java /usr/bin/java
export JAVA_HOME=/usr/java/latest/


INSTALL SVN

Get SVN from: http://software.opensuse.org/search?baseproject=ALL&p=1&q=subversion

Install RPMs with:  rpm -iv package.rpm

Install any dependencies as required. Search from http://software.opensuse.org/search .

INSTALL ANT

wget http://www.apache.org/dist/ant/binaries/apache-ant-1.8.0-bin.tar.gz
tar zxvf apache-ant-1.8.0-bin.tar.gz
mv apache-ant-1.8.0 /usr/local/ant

Configure
export ANT_HOME=/usr/local/ant
ln -s /usr/local/ant/bin/ant /usr/local/bin/ant

Replace old ant
rm /usr/bin/ant
ln -s /usr/local/ant/bin/ant /usr/bin/ant

Check ant version:
ant –version


INSTALL Red5

Get latest Red5 :
svn co http://red5.googlecode.com/svn/java/server/trunk red5

Build Red5 :
cd red5
ant prepare
ant dist

Move Red5:
cd ..
mv red5 /opt/red5

OPERATE RED5

Start Red5 (when need or on server reboot):
cd /opt/red5/dist
./red5.sh > start.log &

Install/update applications in the /opt/red5/dist/webapps folder .  For changes to take effect, Red5 must be restarted:

1. Check if red5 is running:
ps aux | grep red5

2. Go to its folder and shut red5 down:
cd /opt/red5/dist
./red5-shutdown.sh

3. See if it’s still running or not:
ps aux | grep red5

4. Restart it, and also make it output the logs into a file of your choice:
./red5.sh > start.log &

5. Make sure it’s back online:
ps aux | grep red5

Related Posts:

Go to Top