Changes

From Amahi Wiki
Jump to: navigation, search
191 bytes added ,  13:25, 14 October 2011
no edit summary
wget http://download.fedora.redhat.com/pub/e ... noarch.rpm
wget http://download.fedora.redhat.com/pub/e ... x86_64.rpm
wget http://download.fedora.redhat.com/pub/e ... x86_64.rpm}}
{{Code|yum localinstall perl-Authen-PAM-0.16-1.2.el6.rf.x86_64.rpm
yum localinstall pkcs11-helper-1.08-1.el6.rf.x86_64.rpm
yum localinstall openvpn-2.2.0-3.el6.rf.x86_64.rpm
%build
%configure --with-neon<nowiki>=</nowiki>%{_prefix} LDFLAGS<nowiki>=</nowiki>-pie CFLAGS<nowiki>=</nowiki>"$RPM_OPT_FLAGS -fpie"
make %{?_smp_mflags}
You now need to create the cadaver rpm with:
{{Code|rpmbuild -bb cadaver.spec}}
Next, install the rpm.
{{Code|cd ..
cd RPMS/x86_64 <-- change the x86_64 to i386 if you used the i386 iso install.
yum localinstall cadaver-0.23.3-3.x86_64.rpm <-- again change, if required to match your rpm file.}}
Now you need to create an Amahi repo file:
Note, you might have to recreate this file if overwitten by Amahi.
{{Code|nano /etc/yum.repos.d/amahi.repo}}
{{Text|[amahi]name<nowiki>=</nowiki>Amahi repository for Fedora 14baseurl<nowiki>=</nowiki>http://f14.amahi.org/enabled<nowiki>=</nowiki>1gpgcheck<nowiki>=</nowiki>0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-amahi
exclude=ruby,ruby-rdoc,ruby-irb,ruby-libs,ruby-ri,ruby-devel,rubygem-passenger-native-libs,mod_passenger,perl-Authen-PAM,rubygem-passenger,rubygem-passenger-native,dhcp,rubygem-rack-test,rubygem-sinatra}}
Edit /etc/issue and add 'Fedora' to the end of the top line.
{{Code|nano /etc/issue}}
{{Text|Scientific Linux release 6.1 (Carbon) Fedora <--- Added here!Kernel \r on an \m}}
The Openvpn files are not in the required place, create a link
{{Code|ln -s /usr/share/openvpn /usr/lib64/openvpn}}
Now follow the Amahi install instructions here: http://wiki.amahi.org/index.php/Self-install-existing
12,424

edits