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.
To begin, update the package repository of your Fedora Server Latest by running the below command.
sudo dnf update -y
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
To download Mesos, use the below command.
curl -O http://apache.mirrors.pair.com/mesos/1.10.1/mesos-1.10.1.tar.gz
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
To verify that Mesos is installed, run the command below.
mesos-master --version
This should display the version of Mesos you installed.
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.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!