Prerequisites#
Make sure the target server or VM meets all minimum requirements specified in the VM Preparation Guide.
Ubuntu 18: The Universe repository must be enabled.
To enable universe repository use the following commands
Go To -- Apps icon and then select "Software & Update " -- select "Ubuntu Software " tab and check the option "Community-maintained free and opensource software(universe)" if not checked or selected
(OR)
If you want in one command and not use Software source ticking then in terminal put:
sudo add-apt-repository universe
2. On older versions of Ubuntu, you might have to use a full source line:
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
3. To enable all Ubuntu software (the main universe restricted multiverse) repositories use
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe restricted multiverse"
you can add also partner repository with different link (see the difference is ubuntu to canonical)
sudo add-apt-repository "deb http://archive.canonical.com/ubuntu $(lsb_release -sc) partner"
Then update the package list:
sudo apt-get update
Installation Steps for Gluu-Server
The Gluu Server will create its file system under /root/ and will be installed under /opt. File size and minimum requirements remain the same as the host.
For Ubuntu 18.04.x run the following commands:
Step 1: sudo su
Step 2: echo "deb https://repo.gluu.org/ubuntu/ bionic main" > /etc/apt/sources.list.d/gluu-repo.list
Step 3: curl https://repo.gluu.org/ubuntu/gluu-apt.key | apt-key add -
Step 4: apt-get update
Step 5: apt-get install gluu-server
Start the server and log in#
The Gluu Server is a chroot container, which must be started to proceed.
For Ubuntu 18.04.x run the following commands:
/sbin/gluu-serverd enable
/sbin/gluu-serverd start
/sbin/gluu-serverd login
Run the setup script#
The configuration is completed by running the setup script from inside the chroot container. This generates certificates, salt values, and renders configuration files. Run the script with the following commands:
cd /install/community-edition-setup
Type the ls command to verify the "setup.py" is available or not
Execute the below script "./setup.py" you will see the below confirmation message to install the required packages and press "y" to continue
and then you need to follow the below instructions
verify the status of Gluu-Server
Make sure the target server or VM meets all minimum requirements specified in the VM Preparation Guide.
Ubuntu 18: The Universe repository must be enabled.
To enable universe repository use the following commands
Go To -- Apps icon and then select "Software & Update " -- select "Ubuntu Software " tab and check the option "Community-maintained free and opensource software(universe)" if not checked or selected
(OR)
If you want in one command and not use Software source ticking then in terminal put:
sudo add-apt-repository universe
2. On older versions of Ubuntu, you might have to use a full source line:
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
3. To enable all Ubuntu software (the main universe restricted multiverse) repositories use
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) main universe restricted multiverse"
you can add also partner repository with different link (see the difference is ubuntu to canonical)
sudo add-apt-repository "deb http://archive.canonical.com/ubuntu $(lsb_release -sc) partner"
Then update the package list:
sudo apt-get update
The Gluu Server will create its file system under /root/ and will be installed under /opt. File size and minimum requirements remain the same as the host.
For Ubuntu 18.04.x run the following commands:
Step 1: sudo su
Step 2: echo "deb https://repo.gluu.org/ubuntu/ bionic main" > /etc/apt/sources.list.d/gluu-repo.list
Step 3: curl https://repo.gluu.org/ubuntu/gluu-apt.key | apt-key add -
Step 4: apt-get update
Step 5: apt-get install gluu-server
Start the server and log in#
The Gluu Server is a chroot container, which must be started to proceed.
For Ubuntu 18.04.x run the following commands:
/sbin/gluu-serverd enable
/sbin/gluu-serverd start
/sbin/gluu-serverd login
Run the setup script#
The configuration is completed by running the setup script from inside the chroot container. This generates certificates, salt values, and renders configuration files. Run the script with the following commands:
cd /install/community-edition-setup
Type the ls command to verify the "setup.py" is available or not
Execute the below script "./setup.py" you will see the below confirmation message to install the required packages and press "y" to continue
and then you need to follow the below instructions
verify the status of Gluu-Server
update the localhost IP address to /etc/hosts files
Open the browser and type the "https://local4.gluu.org"
Enter username as "admin" and for password type the below command
cat setup.properties.last | grep -i ldappass
Uninstallation#
For Ubuntu Server 18.04.x, run the following commands:
/sbin/gluu-serverd disable
/sbin/gluu-serverd stop
apt-get remove gluu-server
rm -fr /opt/gluu-server.save
No comments:
Post a Comment