Archive for the Installations Category

ImageMagick With PHP-imagick Installation On Plesk Server

If you want to install ImageMagick with PHP-imagick module then follow the below simple steps ::

ImageMagick Installation

[[email protected] ~]# yum install ImageMagick
[[email protected] ~]# yum install ImageMagick-devel

PHP-imagick Installation

[[email protected] ~]# yum install gcc
[[email protected] ~]# yum install make automake
[[email protected] ~]# yum install php-pear

[[email protected] ~]# yum install php-devel
[[email protected] ~]# pecl install imagick

Continue reading ImageMagick With PHP-imagick Installation On Plesk Server

Shoutcast Installation and Configuration

SHOUTcast is Nullsoft’s Free Winamp-based distributed streaming audio system for streaming media over the Internet.
Nowadays, Thousands of broadcasters around the world are currently broadcasting their own radio station. With Shoutcast You can start your own radio station and stream music and live shows.

Follow the below steps for installation ::

 

1 > Create User shoutcast

[email protected][#] useradd shoutcast

2 > Setup password for user shoutcast

[email protected][#] passwd shoutcast

Now switch user to shoutcast

[email protected][#] su - shoutcast

3 > Now download the shoutcast package

[email protected][#] wget ftp://ftp.skynet.be/mirror1/tucows.skynet.be/linux/files/shoutcast-1-9-2-linux-glibc6.tar.gz

4 > Now extract the downloaded package

[email protected][#] tar -zxf shoutcast-1-9-2-linux-glibc6.tar.gz

5 > Move shoutcast-1-9-2-linux-glibc6 shoutcast to shoutcast

[email protected][#] mv shoutcast-1-9-2-linux-glibc6 shoutcast

With the above steps you are done with the shoutcast installation

Now, follow the below steps to configure it,

Open the file sc_serv.conf to adjust few parameters

 

 MaxUser

Set this to 32 to begin with, as MaxUser means maximum number of simultaneous listeners allowed.

 Password

Set a strong password as this password is is required to broadcast through the server.

 PortBase

Default PortBase is 8000 and you can leave it as it is.

 AdminPassword

Uncomment AdminPassword and set an admin password as per your requirement.

 LogFile

The default is ./sc_serv.log but you can set it to /var/log/SHOUTcast.log if you want.

ShowLastSongs

ShowLastSongs specifies how many songs to list in the /played.html page.

save and quit.

Now are done with the configuration part and finally we are left with the shoutcast startup steps

you can start shoutcast with the below command

[email protected][#] ./sc_serv sc_serv.conf

Finally, to access GUI for shoutcast make sure that you have opened the port 8000 and 8001 in the server firewall and once you opened those ports on the firewall then you can access the admin URL as :: http://serverip:8000 .

That’s all.

How to install svn on Linux server

Some times SVN(Subversion) is needed to install some applications such as Red5.
Refer the below steps to install SVN (SubVersion) on a Linux Server.

[email protected][#] yum install subversion

It may through below errors :

[email protected][#] yum install subversion
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirror.team-cymru.org
* base: dist1.800hosting.com
* extras: mirror.5ninesolutions.com
* updates: mirror.team-cymru.org
Excluding Packages in global exclude list
Finished
Setting up Install Process
Resolving Dependencies
–> Running transaction check
—> Package subversion.i386 0:1.4.2-4.el5_3.1 set to be updated
–> Processing Dependency: perl(URI) >= 1.17 for package: subversion
–> Processing Dependency: neon >= 0.25.5-6.el5 for package: subversion
–> Processing Dependency: libneon.so.25 for package: subversion
–> Processing Dependency: libapr-1.so.0 for package: subversion
–> Processing Dependency: libaprutil-1.so.0 for package: subversion
–> Running transaction check
—> Package apr.i386 0:1.2.7-11.el5_3.1 set to be updated
—> Package apr-util.i386 0:1.2.7-7.el5_3.2 set to be updated
—> Package neon.i386 0:0.25.5-10.el5_4.1 set to be updated
—> Package subversion.i386 0:1.4.2-4.el5_3.1 set to be updated
–> Processing Dependency: perl(URI) >= 1.17 for package: subversion
–> Finished Dependency Resolution
subversion-1.4.2-4.el5_3.1.i386 from base has depsolving problems
–> Missing Dependency: perl(URI) >= 1.17 is needed by package
subversion-1.4.2-4.el5_3.1.i386 (base)
Error: Missing Dependency: perl(URI) >= 1.17 is needed by package
subversion-1.4.2-4.el5_3.1.i386 (base)
You could try using –skip-broken to work around the problem
You could try running: package-cleanup –problems
package-cleanup –dupes
rpm -Va –nofiles –nodigest
The program package-cleanup is found in the yum-utils package.

Solution :

Just remove perl* from /etc/yum.conf
it may look something like this :

[main]
exclude=apache* bind-chroot courier* dovecot* exim* httpd* mod_ssl* mysql* nsd* perl* php* proftpd* pure-ftpd* ruby* spamassassin* squirrelmail*
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
# Note: yum-RHN-plugin doesn’t honor this.
metadata_expire=1h

installonly_limit = 5

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

Just remove that perl* and then try to run this command

[email protected][#] yum install subversion

That’s all you are done.

Note : Don’t forget to add perl* once you install subversion.