How To Install Openfire On Centos 7 Minimal
Centos 7 Install Options
Add Remi Repository, a third-party repository which offers multiple versions of PHP (7.4 / 7.3 / 7.2) for Red Hat Enterprise Linux.Remi repository requires on your system. Rpm -Uvh enable the Remi repository on your system, install the Remi repository auto-configuration package using the below command. Yum install -y php-fpm Install PHP ExtensionsPHP extensions are compiled libraries which enables specific support for your code.To have MySQL support on your code, you can install php-mysqlnd package. Yum install -y php-mysqlndOnce you have installed MySQL extension, you can use the below command to verify it. Php -m grep -i mysqlOutput: mysqlimysqlndpdomysql PHP Extensions for WordPressThe following extensions are required to install and run WordPress on your RHEL 8 machine. WordPress recommends PHP v7.3 for the installation. Yum install -y php-dom php-simplexml php-ssh2 php-xml php-xmlreader php-curl php-date php-exif php-filter php-ftp php-gd php-hash php-iconv php-json php-libxml php-pecl-imagick php-mbstring php-mysqlnd php-openssl php-pcre php-posix php-sockets php-spl php-tokenizer php-zlib PHP Extensions for JoomlaThe following extensions are required to install and run Joomla on your RHEL 8 machine.
Joomla requires PHP v7.1 and above. Yum install -y php-mysqlnd php-zlib php-xml php-pear php-json php-mcrypt php-pecl-imagick PHP Extensions for DrupalThe following extensions are required to install and run Joomla on your RHEL 8 machine. Drupal requires PHP v7.1 and above. Yum install -y php-mysqlnd php-date php-dom php-filter php-gd php-hash php-json php-pcre php-pdo php-session php-simplexml php-spl php-tokenizer php-xml ConclusionThat’s All.
Openfire Commands
I hope you have learned how to install on /. Please share your feedback in the comments section.
OpenFire is a great open source instant messaging server licensed under the Open Source Apache License that offers great service and also rock-solid performance. This real time collaboration server makes use of the XMPP protocol which is a real-time communication protocol based on XML also known as Jabber.In this tutorial I will teach you how to install OpenFire on Ubuntu 12.04 LTS Precise Pangolin in very easy to follow steps even for linux beginners. Install OpenFire On UbuntuBefore going any further it is very important to have an updated system with the latest packages so open a new terminal ( CTRL+ALT+T) and run the following command. Sudo apt-get updateThen run the following command to upgrade all the installed packages. Sudo apt-get upgradeNow it is time to install a Java runtime engine which is required by OpenFire in order to work.
For the purpose of this tutorial we will go with OpenJDK which is available in the the Ubuntu’s default repository so its installation should be very easy. In short words only one command is needed to install it on your server. Sudo apt-get install openjdk-7-jre. Once the installation is finished it will look like the following.Then run the following command to remove packages which are no longer required. Sudo apt-get autoremoveGreat, but we still have alot of work to do. Now have to download OpenFire. Open a new tab on your terminal and use the wget utility to download the OpenFire server.
Wget the file has finished downloading its name will look very ugly so use the command mv to rename it. Mv downloadServlet?filename=openfire%2Fopenfire393.tar.gz openfire393.tar.gzThen use the tar utility to unpack the.tar.gz file like shown below. Tar -xvzf openfire393.tar.gzWe will use the command mv again but this time to move openfire to the directory /opt. Sudo mv openfire /optNow we have to do a simple configuration. Cd to /opt/openfire/conf. Cd /opt/openfire/confOpen the file openfire.xml with your favorite text editor.
Vim openfire.xmlIt will look similar to the following.
/opt/openfire/bin/openfire startNow open a new tab on your web browser and visit the Since I am doing everything on my localhost I have to visit the following address. Htp://localhost:9090After visiting the above address I was introduced to the Setup of openfire.Choose your language and click on Continue.Then we have to deal with Server Settings.Leave it as default and click on Continue again.
Then we have to configure the Database Settings.For the purpose of this tutorial I will not use an external database, but an embedded one because it is an easy way to get up and run quickly as there are no configurations to be made at all.Click on Continue. Then you will be presented to the following Profile Settings.Leave this one as default and click on Continue.Create an administrator account.Type a password for your admin account.Click on Continue. If everything worked you will get a message that the installation of OpenFire is completed like shown in the following screenshot.Congratulations! Openfire has been installed.