– Make sure to check CentOS, PHP-FPM, memcached and MYSQL posts.
– get a fresh package from Swatch project
- wget "http://downloads.sourceforge.net/project/swatch/swatch/3.2.3/swatch-3.2.3.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fswatch%2F&ts=1330806322&use_mirror=garr"
- tar xfz swatch-3.2.3.tar.gz
- cd swatch-3.2.3
- cpan -i Date::Format File::Tail
- cpan -i Date::Manip Date::Calc
- cpan -i Test::Inter Test::Pod Test::Pod::Coverage Module::Build
- cp /root/.cpan/sources/authors/id/S/SB/SBECK/Date-Manip-* .
- tar xfz Date-Manip-*.tar.gz
- cd Date-Manip-*
- perl Build.PL
- ./Build install
- cd ..
- perl Makefile.PL
- make install
– configure swatch
Check Installing CentOS 6.2 on VMware post.
– make sure SELINUX is disabled and iptables is configured for FTP
– add ftp user
- adduser ftpuser -g ftp -s /sbin/nologin -d /server
- #set password
- passwd ftpuser
– configuration, more info