How to Install Mesos on Fedora Server Latest
Apache Mesos is a powerful distributed systems kernel that can manage multiple resources. In this tutorial, we will demonstrate how to install Mesos on Fedora Server Latest.
Prerequisites
- Fedora Server Latest
- Root Access
- Internet Connectivity
Step-by-Step Guide
Step 1: Update Package Repository
To begin, update the package repository of your Fedora Server Latest by running the below command.
sudo dnf update -y
Step 2: Install Dependencies
Mesos requires certain dependencies that can be installed through the package manager. Use the below command to install the necessary dependencies.
sudo dnf install -y epel-release
sudo dnf install -y tar wget git curl libcurl-devel libev-devel \
zlib-devel openssl-devel cyrus-sasl-devel apr-devel subversion-devel
Step 3: Download Mesos
To download Mesos, use the below command.
curl -O http://apache.mirrors.pair.com/mesos/1.10.1/mesos-1.10.1.tar.gz
Step 4: Extract and Install Mesos
After downloading the Mesos tarball, extract the contents and enter the directory using the below command.
tar -zxf mesos-1.10.1.tar.gz
cd mesos-1.10.1
Next, configure and install Mesos using the below commands.
./configure
make
sudo make install
Step 5: Verify Installation
To verify that Mesos is installed, run the command below.
mesos-master --version
This should display the version of Mesos you installed.
Step 6: Start Mesos Master and Slave
To start the Mesos Master, use the command below.
mesos-master --ip=<ip_address> --work_dir=<path_to_workdir>
Replace <ip_address> with the IP address of your server and <path_to_workdir> with the path to the Mesos working directory.
To start the Mesos Slave, use the command below.
mesos-slave --master=<ip_address>:5050 --work_dir=<path_to_workdir>
Replace <ip_address> with the IP address of your Master node and <path_to_workdir> with the path to the Mesos working directory.
Congratulations! You have successfully installed Mesos on Fedora Server Latest.