install EFA

Questions and answers about how to do stuff
Post Reply
angelo
Posts: 19
Joined: 04 Dec 2014 14:45

install EFA

Post by angelo »

Hello,

if i have a pre-build minimal VPS install of centos-6, is it then possible to install EFA ?
and how do i start ?

thank you,

regards
Angelo
User avatar
darky83
Site Admin
Posts: 540
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: install EFA

Post by darky83 »

It is possible I created an prepare script.. but not tested in detail so if things go wrong you will need to have some knowledge your self to fix the issues :)

https://github.com/E-F-A/v3/blob/master ... ut-ks.bash
Version eFa 4.x now available!
angelo
Posts: 19
Joined: 04 Dec 2014 14:45

Re: install EFA

Post by angelo »

ok, thx.

if i run in to problem's and i find a fix i'll post them so you can update your script.

Angelo
User avatar
darky83
Site Admin
Posts: 540
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: install EFA

Post by darky83 »

Oh note that the script now still points to the development version of efa:

Code: Select all

/usr/bin/wget -q -O /usr/src/EFA/build.bash -o /var/log/EFA/wget.log https://raw.githubusercontent.com/E-F-A/v3/master/build/build.bash --no-check-certificate
You might want to use the final version, so change the line in the script to:

Code: Select all

/usr/bin/wget -q -O /usr/src/EFA/build.bash -o /var/log/EFA/wget.log https://raw.githubusercontent.com/E-F-A/v3/3.0.0.6/build/build.bash --no-check-certificate
I just changed it so if you grabbed it earlier it is best to grab the new one or change the line.
Version eFa 4.x now available!
angelo
Posts: 19
Joined: 04 Dec 2014 14:45

Re: install EFA

Post by angelo »

worked like a charm :D
thx :clap:

Here are some minor issues i ran in to :

FYI :
System data :
Kernel Linux 2.6.32-042stab094.7
Virtuozzo version Virtuozzo release 4.6.0

After build script :

ssh root access was disabled, this is a problem because i'm running a VPS. (edited sshd_conf via recovery to allow access)
keyboard layout, not able to change to Belgian. left as US layout, fine by me :-)

During boot up and EFA script run :

Starting dnsmasq:
dnsmasq: setting capabilities failed: Operation not permitted

DNS not working -- no updates on clamav (start script pauzed for about 5min)

after reboot :

dnsmasq won't start in a VPS system (googled it, named is fine by me)
changed to named
chkconfig dnsmasq off
chkconfig named on

keyboard layout seams to be changed to Belgian. The menu was not reflecting the change.

sshd_config : changed back to not permit root login

mail seams to flow now. :lol:
mitgib
Posts: 9
Joined: 27 Mar 2015 14:28
Location: Rock Hill SC
Contact:

Re: install EFA

Post by mitgib »

angelo wrote: FYI :
System data :
Kernel Linux 2.6.32-042stab094.7
Virtuozzo version Virtuozzo release 4.6.0

mail seams to flow now. :lol:
I built last night with 3.0.0.7 install script, but ran into the problem of /etc/fstab mounting things, I did this in OpenVZ (2.6.32-042stab104.1) which uses simfs, not sure if Virtuozzo is the same, I thought it was, you just have to pay for Parelles horid support.

I am trying to get it in a state I will be happy with as a template so customers can deploy, ssh in as root, do the initial config, then the init script edits root login and restarts sshd
angelo
Posts: 19
Joined: 04 Dec 2014 14:45

Re: install EFA

Post by angelo »

Hello,

is it possible to update EFA without the kernel check because i'm running within a VPS ?

thank you.

Angelo
User avatar
darky83
Site Admin
Posts: 540
Joined: 30 Sep 2012 11:03
Location: eFa
Contact:

Re: install EFA

Post by darky83 »

from 3.0.0.7 to 3.0.0.8 you can try an manual update.

* not I never tested this just from the top of my head :)

Code: Select all

STAGING="/tmp/EFA-Staging"
cd $STAGING
wget http://dl.efa-project.org/update/EFA-Update-3.0.0.7-3.0.0.8.tar.gz
tar xzvf http://dl.efa-project.org/update/EFA-Update-3.0.0.7-3.0.0.8.tar.gz
rm -f /var/EFA/update/EFA-Version-Upgrade
cp $STAGING/EFA-Version-Upgrade /var/EFA/update/EFA-Version-Upgrade
chmod 700 /var/EFA/update/EFA-Version-Upgrade
/var/EFA/update/EFA-Version-Upgrade
Version eFa 4.x now available!
angelo
Posts: 19
Joined: 04 Dec 2014 14:45

Re: install EFA

Post by angelo »

Worked like a charm. Thx :D :clap:
Post Reply