Home » Archive

Articles tagged with: centos

Howto, Informatica, Linux, Sistemistica »

[12 feb 2010 | One Comment | 161 views]

Durante la mia esperienza lavorativa, ho notato che molte distribuzioni (Centos in primis) non hanno nei loro repositories l’ultima versione di subversion (svn).
Per esempio, in Fedora 12, l’ultima release disponibile è la 1.6.6 (ultima) mentre su Centos 5.3 (usata molto sui server per l’hosting e servizi web) c’è la 1.4.2.

cPanel, Linux, Segnalazioni »

[10 gen 2008 | One Comment | 930 views]

Volevo segnalare questo fantastico script, che installa in automatico tutte le versioni più recenti dei sistemi di Firewall, Antiflood e altro ancora.
Dal sito di Server Monkeys :

Install RKHunter
Install RKHunter Cronjob which emails a user-set email address nightly
Install/update APF
Add SM/TP monitoring IPs (view information on these in Orbit)
Install/update BFD
Install CHKROOTKIT
Install CHKROOTKIT Cronjob which emails a user-set email address nightly
Disable Telnet
Force SSH Protocol 2
Secure /tmp
Secure /var/tmp
Secure /dev/shm
Install/update Zend Optimizer
Install/update eAccelerator
MySQL 4.0 and 4.1 Configuration Optimization (cPanel only)
Upgrade MySQL to 4.1 (cPanel only)
Tweak WHM Settings for security and stability
Configure RNDC if not …

cPanel, Howto, Linux »

[6 dic 2007 | No Comment | 904 views]

Mi è capitato per lavoro di installare una vps con cPanel con delle particolari richieste:
Installazione dei seguenti moduli:

Subversion client
Subversion server
Modulo di svn in apache

Per effettuare tale operazione, basta seguire questi passi:
#install perl-URI and subversion client/lib
wget “ftp://rpmfind.net/linux/redhat/9/en/os/i386/RedHat/RPMS/perl-URI-1.21-7.noarch.rpm”
yum -y install subversion
cd /var/
mkdir -p repo/source/
svnadmin create /var/repo/source
#install apache
cd /usr/src/
rm -rf httpd*
wget “ftp://mirror.nohup.it/apache/httpd/httpd-2.2.6.tar.gz”
tar zxvf httpd-2.2.6.tar.gz
cd httpd-2.2.6
./configure –prefix=/usr/local/apache_svn –with-port=2080 –enable-dav –enable-dav-fs –enable-proxy –enable-rewrite –enable-so –with-included-apr
make
make install
#install apr and apr-util
cd /usr/src/
rm -rf apr*
wget “http://apache.panu.it/apr/apr-1.2.12.tar.gz”
tar zxvf apr-1.2.12.tar.gz
cd apr-1.2.12
./configure
make
make install
cd /usr/src/
wget “http://apache.panu.it/apr/apr-util-1.2.12.tar.gz”
tar zxvf apr-util-1.2.12.tar.gz
cd apr-util-1.2.12
./configure –with-apr=/usr/local/apr/
make
make install
#install subversion
yum info subversion | grep “Version:” | cut -d ” …

Howto »

[22 ott 2007 | 26 Comments | 3.553 views]

Per installare ffmpeg su un sistema CentOS utilizzeremo {it:subversion} per scaricare i sorgenti e lo compileremo con le librerie necessario (utilizzando anche {it:ruby} ).
cd /usr/src/
mkdir ffmpeg
cd ffmpeg/
wget http://www3.mplayerhq.hu/MPlayer/releases/codecs/essential-20061022.tar.bz2
wget http://rubyforge.org/frs/download.php/9225/flvtool2_1.0.5_rc6.tgz
wget http://easynews.dl.sourceforge.net/sourceforge/lame/lame-3.97.tar.gz
wget http://superb-west.dl.sourceforge.net/sourceforge/ffmpeg-php/ffmpeg-php-0.5.0.tbz2
wget http://downloads.xiph.org/releases/ogg/libogg-1.1.3.tar.gz
wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.1.2.tar.gz
bunzip2 essential-20061022.tar.bz2
tar xvf essential-20061022.tar
tar zxvf flvtool2_1.0.5_rc6.tgz
tar zxvf lame-3.97.tar.gz
bunzip2 ffmpeg-php-0.5.0.tbz2
tar xvf ffmpeg-php-0.5.0.tar
tar zxvf libogg-1.1.3.tar.gz
tar zxvf libvorbis-1.1.2.tar.gz
mkdir /usr/local/lib/codecs/
mv essential-20061022/* /usr/local/lib/codecs/
chmod -R 755 /usr/local/lib/codecs/
yum install -y subversion
yum install -y ruby
yum install -y ncurses-devel
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
svn checkout svn://svn.mplayerhq.hu/mplayer/trunk mplayer
cd lame-3.97
./configure
make
make install
cd ..
cd libogg-1.1.3
./configure
make
make install
cd ..
cd libvorbis-1.1.2
./configure
make
make install
cd ..
cd flvtool2_1.0.5_rc6
ruby setup.rb config
ruby setup.rb setup
ruby setup.rb install
cd ..
cd mplayer/
./configure
make
make install
cd ..
cd ffmpeg
mkdir …

Howto »

[22 ott 2007 | 5 Comments | 1.701 views]

Risulta molto complicato, per un utente non espertissimo, installare VLC (VideoLan) su un sistema linux, in particolare su CentOS.
In {it:linux} , infatti, abbiamo bisogno di numerose librerie e codecs che sono difficilmente reperibili da un normale repository centos.
In questo howto, spieghiamo come compilare da sorgente VLC in modo pulito e senza errori di dipendenze.
Sfrutteremo un nuovo repository detto DAG per installare alcune dipendenze (in particolare il programma MPlayer e gxine) . Per fare ciò, editiamo il file /etc/yum.conf ed inseriamo queste direttive:
[dag]
name=Dag RPM Repository for Red Hat Enterprise …