Arjun  Goodwin

Arjun Goodwin

1594138500

How To Install Apache Solr 8.5 on CentOS/RHEL 8

Apache Solr is an open-source search platform written on Java. Solr provides full-text search, spell suggestions, custom document ordering and ranking, Snippet generation and highlighting. Solr handles a variety of data types out of the box, including JSON, XML, many Office documents, CSV and more. At the time of writing this tutoria, Solr 8.5.2 is the latest version available for installation.

This tutorial will help you to install Apache Solr 8.5 on CentOS/RHEL 8 systems.

Prerequisites

We assume you already have shell access to your CentOS/RHEL 8 system with sudo privilege account. For remote systems, login with SSH client.

Step 1 – Install Java

The Latest version of Apache Solr required Java 8 or greater version to run. Make sure your system fulfills the Java requirements on your system. If not run the following command to install Java.

sudo dnf install java-11-openjdk 

Then check installed Java version:

java -version

openjdk version "11.0.4" 2019-07-16 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.4+11-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.4+11-LTS, mixed mode, sharing)

Step 2 – Install Apache Solr on CentOS 8

Now download the required Solr version from its official site or mirrors. You may also use the below command to download Apache Solr 8.5.2 from its official website. After that extract the installer script.

cd /tmp
wget http://www-eu.apache.org/dist/lucene/solr/8.5.2/solr-8.5.2.tgz
tar xzf solr-8.5.2.tgz solr-8.5.2/bin/install_solr_service.sh --strip-components=2

Then execute the installer script with bash shell followed with downloaded Archive file. The command will be like below:

sudo bash ./install_solr_service.sh solr-8.5.2.tgz

This will create an account named solr on your system and finish the installation process. After that start the service default Solr port 8983.

#linux tutorials #apache #centos 8 #solr

What is GEEK

Buddha Community

How To Install Apache Solr 8.5 on CentOS/RHEL 8
Arjun  Goodwin

Arjun Goodwin

1594138500

How To Install Apache Solr 8.5 on CentOS/RHEL 8

Apache Solr is an open-source search platform written on Java. Solr provides full-text search, spell suggestions, custom document ordering and ranking, Snippet generation and highlighting. Solr handles a variety of data types out of the box, including JSON, XML, many Office documents, CSV and more. At the time of writing this tutoria, Solr 8.5.2 is the latest version available for installation.

This tutorial will help you to install Apache Solr 8.5 on CentOS/RHEL 8 systems.

Prerequisites

We assume you already have shell access to your CentOS/RHEL 8 system with sudo privilege account. For remote systems, login with SSH client.

Step 1 – Install Java

The Latest version of Apache Solr required Java 8 or greater version to run. Make sure your system fulfills the Java requirements on your system. If not run the following command to install Java.

sudo dnf install java-11-openjdk 

Then check installed Java version:

java -version

openjdk version "11.0.4" 2019-07-16 LTS
OpenJDK Runtime Environment 18.9 (build 11.0.4+11-LTS)
OpenJDK 64-Bit Server VM 18.9 (build 11.0.4+11-LTS, mixed mode, sharing)

Step 2 – Install Apache Solr on CentOS 8

Now download the required Solr version from its official site or mirrors. You may also use the below command to download Apache Solr 8.5.2 from its official website. After that extract the installer script.

cd /tmp
wget http://www-eu.apache.org/dist/lucene/solr/8.5.2/solr-8.5.2.tgz
tar xzf solr-8.5.2.tgz solr-8.5.2/bin/install_solr_service.sh --strip-components=2

Then execute the installer script with bash shell followed with downloaded Archive file. The command will be like below:

sudo bash ./install_solr_service.sh solr-8.5.2.tgz

This will create an account named solr on your system and finish the installation process. After that start the service default Solr port 8983.

#linux tutorials #apache #centos 8 #solr

Chet  Lubowitz

Chet Lubowitz

1595855400

How to install PgAdmin 4 on CentOS 8

pgAdmin is the leading graphical Open Source management, development and administration tool for PostgreSQLpgAdmin4 is a rewrite of the popular pgAdmin3 management tool for the PostgreSQL database.

In this tutorial, we are going to show you how to install pgAdmin4 in Server Mode as a web application using httpd and Wsgi module on CentOS 8.

Install pgAdmin4 on CentOS 8

**01-**To install pgAdmin4 on CentOS 8 we need to add an external repository, so execute the following command:

$ sudo rpm -i https://ftp.postgresql.org/pub/pgadmin/pgadmin4/yum/pgadmin4-redhat-repo-1-1.noarch.rpm

02- After we add the pgAdmin4 repository, let’s use the below command to install pgAdmin4 as server mode:

$ sudo dnf install pgadmin4-web

03- Before proceeding with the configuration of pgAdmin4, we need to install policycoreutils tool:

$ dnf install policycoreutils-python-utils  

04- Once we done installing pgAdmin4, we need to configure the pgAdmin4 by setting up the initial pgAdmin user account

#databases #linux #ubuntu #install pgadmin4 #install pgadmin4 centos #pgadmin #pgadmin 4 install #pgadmin 4 install centos #pgadmin4 #pgadmin4 install centos

How to install Apache web server on CentOS 8

Introduction

Apache HTTP server is the most used in the world. It offers many powerful features, including dynamically loaded modules, strong media compatibility, and extensive integration with other popular software tools.

Through this guide, you will install an Apache web server with virtual hosts on your CentOS 8 server.

Previous requirements

You will need the following to complete this guide:

Step 1: Install Apache

Apache is available within the default CentOS software repositories, which means you can install it with the package manager dnf.

Since we configured a non-root sudo user in the prerequisites, install the Apache package:

sudo dnf install httpd

Once the installation is confirmed, it will dnfinstall Apache and all the necessary dependencies.

By completing step 4 of the Initial Server Configuration with CentOS 8 guide mentioned in the prerequisites section, you have already installed firewalldon your server to supply requests via HTTP.

If you are also planning to configure Apache to provide content over HTTPS, you may also want to open the port 443by enabling the service https:

sudo firewall-cmd --permanent --add-service=https

Then reload the firewall for these new rules to take effect:

sudo firewall-cmd --reload

Once the firewall is reloaded, you are ready to start the service and check the web server.

Step 2: Check your web server

Once the installation is complete, Apache does not start automatically in CentOS, so you will have to start the Apache process manually:

sudo systemctl start httpd

Verify that the service works with the following command:

sudo systemctl status httpd

You will get a status activewhen the service is running:

Output

● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; disabled; vendor preset: disa>
   Active: active (running) since Thu 2020-04-23 22:25:33 UTC; 11s ago
     Docs: man:httpd.service(8)
 Main PID: 14219 (httpd)
   Status: "Running, listening on: port 80"
    Tasks: 213 (limit: 5059)
   Memory: 24.9M
   CGroup: /system.slice/httpd.service
           ├─14219 /usr/sbin/httpd -DFOREGROUND
           ├─14220 /usr/sbin/httpd -DFOREGROUND
           ├─14221 /usr/sbin/httpd -DFOREGROUND
           ├─14222 /usr/sbin/httpd -DFOREGROUND
           └─14223 /usr/sbin/httpd -DFOREGROUND

...

As this result indicates, the service started successfully. However, the best way to check this is to request an Apache page.

You can access Apache’s default landing page to confirm that the software is working properly using its IP address: If you don’t know your server’s IP address, you can obtain it in several ways from the command line.

Type qto return to the command line, and then type:

hostname -I

This command will display all the network addresses of the host, so you will get some IP addresses separated by spaces. You can test each one in the web browser to determine if they work.

Alternatively, you can use curlto request your IP at icanhazip.com, which will provide you with your public IPv4 address as it appears in another location on the Internet:

curl -4 icanhazip.com

When you have the IP address of your server, enter it in the address bar of your browser:

http://your_server_ip

It will display the default Apache web page in CentOS 8:

Apache default page for CentOS 8

This page indicates that Apache is working properly. It also includes basic information about important Apache files and directory locations.

#centos #apache #centos 8

I am Developer

1602471199

Laravel 8 CKEditor Tutorial Example

Laravel 8 CKEditor tutorial example. In this tutorial, you will learn how to install and use CKEditor in laravel 8.

Basically, there is two way to install and use CKEditor in laravel 8 app. But in this tutorial, we will show you a simple example of how to install CKEditor in laravel 8 app.

How to install CKEditor In Laravel 8 App

  • Step 1: Install Laravel 8 App
  • Step 2: Connecting App to Database
  • Step 3: Create Post Model & Migration
  • Step 4: Add Fillable Property in Model
  • Step 5: Make Route
  • Step 6: Create Controller
  • Step 7: Create Blade Views File
  • Step 8: Start Development Server

https://www.tutsmake.com/how-to-install-ckeditor-in-laravel-8/

#how to install ckeditor in laravel 8 #laravel 8 install and use ckeditor example #how to install and use ckeditor in laravel? #laravel 8 integrate ckeditor with example #how to install & integrate ckeditor (wysiwyg) in laravel 8

How to Install PHP 8 on CentOS/RHEL 8/7

PHP is a popular open-source server-side scripting language that is integral in developing dynamic webpages. PHP 8.0 is finally out and was released on November 26th, 2020. It promises lots of improvements and optimizations which are set to streamline how developers write and interact with PHP code.

In this guide, you will learn how to install PHP 8.0 on CentOS 8/7 and RHEL 8/7.

Step 1: Enable EPEL and Remi Repository on CentOS/RHEL

Right off the bat, you need to enable the EPEL repository on your system. EPEL, short for Extra Packages for Enterprise Linux, is an effort from the Fedora team that provides a set of additional packages that are not present by default on RHEL & CentOS.

Step 2: Install PHP 8 on CentOS/RHEL

Step 3: Verify PHP 8.0 on CentOS/RHEL

Step 3: Install PHP 8.0 Extensions in CentOS/RHEL

#centos #php #redhat #centos tips #php tips #rhel tips