Difference between revisions of "OpenAFS from deb source example"

(Created page with " mkdir /usr/local/src/openafs cd /usr/local/src/openafs Plocka paketen från debian bleeding edge: 430 wget http://ftp.de.debian.org/debian/pool/main/o/openafs/openafs_1.…")
 
 
Line 23: Line 23:
 
Installera de byggda debbar:
 
Installera de byggda debbar:
  
   478  dpkg -i ../openafs-client_1.6.2-1_amd64.deb ../openafs-modules-dkms_1.6.2-1_all.deb
+
   478  dpkg -i ../openafs-fileserver_1.6.2-1_amd64.deb ../openafs-client_1.6.2-1_amd64.deb ../openafs-modules-dkms_1.6.2-1_all.deb
 +
 
 +
Disable client:
 +
 
 +
# ls /etc/rc*.d/S*afs*client*
 +
/etc/rc2.d/S19openafs-client  /etc/rc4.d/S19openafs-client
 +
/etc/rc3.d/S19openafs-client  /etc/rc5.d/S19openafs-client
 +
# rm /etc/rc*.d/S*afs*client*
 +
 
 +
Check server config:

Latest revision as of 13:04, 1 April 2013

 mkdir /usr/local/src/openafs
 cd /usr/local/src/openafs

Plocka paketen från debian bleeding edge:

 430  wget http://ftp.de.debian.org/debian/pool/main/o/openafs/openafs_1.6.2-1.dsc
 432  wget http://ftp.de.debian.org/debian/pool/main/o/openafs/openafs_1.6.2.orig.tar.xz
 433  wget http://ftp.de.debian.org/debian/pool/main/o/openafs/openafs_1.6.2-1.debian.tar.xz

Packa upp med tar xf....

Installera lite requirements:

 446  apt-get install git autoconf automake libtool make gcc flex bison
 447  apt-get install libc6-dev libkrb5-dev libperl-dev libncurses5-dev linux-headers-$(uname -r)
 460  apt-get install build-essential
 462  apt-get install debhelper dblatex docbook-xsl doxygen hardening-wrapper libfuse-dev libpam0g-dev libxml2-utils pkg-config xsltproc

Bygga, osignerat, dyker upp i ..

 471  dpkg-buildpackage -us -uc

Installera de byggda debbar:

 478  dpkg -i ../openafs-fileserver_1.6.2-1_amd64.deb ../openafs-client_1.6.2-1_amd64.deb ../openafs-modules-dkms_1.6.2-1_all.deb

Disable client:

# ls /etc/rc*.d/S*afs*client*
/etc/rc2.d/S19openafs-client  /etc/rc4.d/S19openafs-client
/etc/rc3.d/S19openafs-client  /etc/rc5.d/S19openafs-client
# rm /etc/rc*.d/S*afs*client*

Check server config: