Currently browsing category

Linux, Page 29

openafs compile and load libafs

cd /usr/src/openafs-kernel-1.4.4/src/ ./configure make cp /usr/src/openafs-kernel-1.4.4/src/src/libafs/MODLOAD-2.6.9-67.0.4.ELsmp-MP/libafs.ko /lib/modules/2.6.9-67.0.4.ELsmp/kernel/fs/openafs/libafs.ko vi /lib/modules/2.6.9-67.0.4.ELsmp/modules.dep ## add /lib/modules/2.6.9-67.0.4.ELsmp/kernel/fs/openafs/libafs.ko: to modules.dep file modprobe libafs

How to Remove a Stash File

Become superuser on the KDC that contains the stash file. Remove the stash file. # rm stash-file Where stash-file is the path …

[linux notes] CA

mkdir /var/myca cd /var/myca vi /etc/ssl/openssl.cnf /usr/share/ssl/misc/CA -newca openssl req -newkey rsa:1024 -nodes -keyout newreq.pem -out newreq.pem /usr/share/ssl/misc/CA -sign openssl x509 -in …

Changing Yum Channel

edit /etc/sysconfig/rhn/sources yum scientific-base http://ftp.scientificlinux.org/linux/scientific/45/$ARCH/SL/RPMS/ yum scientific-errata http://ftp.scientificlinux.org/linux/scientific/45/$ARCH/errata/SL/RPMS/