Edge Server Setup

If installation fails or if you require any other assistance, please drop us a ticket at support.aflexi.net

You might also prefer following through the helpful Edge Server wizard.



 

Server Preparation for 32 bit and 64 bit architecture

Prepare your Edge server with the prerequisites.

Debian 5.0 Lenny or above

  1. Perform a normal install (no dselected tasks)
  2. apt-get install python

Ubuntu 8.0.4.3 Server or above

  1. Perform a normal install

CentOS 5.3 or above

  1. Perform a normal install (no selected tasks)
  2. Disable SELinux: vi /etc/selinux/config and set SELINUX=disabled


Step 1

Add Location navigation

Add the Physical Location of the server by going to Edge Servers > Add Location. This only applies if you have not already done this before. Type the first few letters of a geographical location and a drop down list would appear. You might want to provide a catchy name.

Add Location name selection

Location Adding shown

 

Step 2

After adding the Location, confirm that you can see the locations in Edge Servers > List Locations.

Location List

 

Step 3

Edge Server  navigation

Add the details of your server by going to Edge Servers > Add Edge Server. If the Service IP is different from the Public IP, key in the Service IP address. 
If it is the same, key in the same IP address anyway.

Adding Edge Server

 

Step 4

After creating an Edge Server in the portal, you will be provided with a link to download the installer and steps to install it. At this point, if you prefer not to download and upload via the link, login to your server via the console or Terminal.

  1. wget http://packages.service.aflexi.com/opt/aflexi-edge-setup.tar.gz && tar -zxf aflexi-edge-setup.tar.gz
  2. cd aflexi-edge-setup
  3. As root, run ./aflexi-setup
  4. Read and accept the EULA
  5. Enter your Aflexi login and password
  6. Enter the installation directory (e.g. /home/aflexi)
At this point the setup continues. Here is a sample output of a successful installation:
Matching this server against the list of your edge servers..
* Found match - surrogate ID xx
* Surrogate ID yy did not match
Enter the installation directory: /home/aflexi
Beginning installation. You can tail -f the logfile to monitor progress from this point.
Running debootstrap. This will take awhile..
Mounting /proc in chroot
Running apt-get update
Initializing puppet
warning: peer certificate won't be verified in this SSL session
Installing init script. Ensure that you chkconfig or update-rc.d to configure this service to start at boot.
Starting Aflexi Edge..

Step 5

After installation, you should be able to view the details of the newly added Edge servers as such:

List Edge Servers

 

You can now go ahead and add new customers and add new bandwidth packages.