Category Archives: Linux

Installing BigDFT 1.5.2 with CUDA and OpenMPI support in Fedora 14 x64

BigDFT is DFT electronic structure calculation program that uses GPU acceleration. (http://inac.cea.fr/L_Sim/BigDFT/) Latest version: 1.5.2 Installation tested in Fedoea 14 x64 with NVidia GT470 video card. Installing prerequisites: gcc blas-devel lapack-devel openmpi (tested with 1.4.3) NVidia Driver (tested with) Need to disable Nueveu module, add xxxx to grub.conf CUDA Toolbox (tested with 3.2) Enviroment settings: [...]

CentOS5 Repositories Latest Versions (samba, apache, mysql, php)

Sernet Samba 3.5 repository yum repo file: sernet-samba.repo Jason’s Utter Ramblings Repo (httpd, php, mysql) Import the GPG key: rpm –import http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka Create /etc/yum.repos.d/utterramblings.repo: [utterramblings] name=Jason’s Utter Ramblings Repo baseurl=http://www.jasonlitka.com/media/EL$releasever/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://www.jasonlitka.com/media/RPM-GPG-KEY-jlitka

List Large Files in Linux

find / -type f -size +20000k -exec ls -lh {} \; | awk ‘{ print $9 “: ” $5 }’ or du –max-depth=1 -h /

Joomla 1.0.15

cd /var/www/html/ wget http://joomlacode.org/gf/download/frsrelease/6828/22537/Joomla_1.0.15-Stable-Full_Package.tar.gz tar -zxvf Joomla_1.0.15-Stable-Full_Package.tar.gz from su (assuming that you have ‘apache’ user for httpd): chgrp -R apache administrator/backups/ administrator/components/ administrator/modules/ administrator/templates/ components/ images/ images/banners/ images/stories/ language/ mambots/ mambots/content/ mambots/editors/ mambots/editors-xtd/ mambots/search/ mambots/system/ media/ modules/ templates/ cache/ chmod -R g+w,o-rwx administrator/backups/ administrator/components/ administrator/modules/ administrator/templates/ components/ images/ images/banners/ images/stories/ language/ mambots/ mambots/content/ mambots/editors/ mambots/editors-xtd/ [...]

PhpBB3

Set permissions: chgrp -R apache cache files store images/avatars/upload images/avatars/gallery images/ranks images/smilies config.php chmod -R g+w,o-rwx cache files store images/avatars/upload images/avatars/gallery images/ranks images/smilies config.php

eAccelerator

Latest version at http://www.eaccelerator.net/ Installing: cd ~ wget http://bart.eaccelerator.net/source/0.9.5.3/eaccelerator-0.9.5.3.tar.bz2 tar jxvf eaccelerator-0.9.5.3.tar.bz2 cd eaccelerator-0.9.5.3.tar.bz2 phpize ./configure –enable-eaccelerator=shared –with-eaccelerator-content-caching –with-php-config=/usr/bin/php-config make make install mkdir /tmp/eaccelerator chgrp -R apache /tmp/eaccelerator chmod -R g+w,o-rwx /tmp/eaccelerator cp ~/eaccelerator-0.9.5.3/eaccelerator.ini /etc/php.d #change ini file# Upgrade: Same until – mkdir Check if installed properly: php -v Response: PHP 5.2.6 (cli) (built: May  [...]