1592379840
Apache HTTP server is the most widely used web server in the world. It is a free, open-source, and cross-platform HTTP server, including powerful features, and can be extended by a wide variety of modules.
In this article, we’ll explain how to install and manage the Apache webserver on CentOS 8
#apache #centos 8
1595855400
pgAdmin is the leading graphical Open Source management, development and administration tool for PostgreSQL. pgAdmin4 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.
**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
1595855160
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.
You will need the following to complete this guide:
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 dnf
install 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 firewalld
on 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 443
by 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.
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 active
when 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 q
to 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 curl
to 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:
This page indicates that Apache is working properly. It also includes basic information about important Apache files and directory locations.
#centos #apache #centos 8
1602471199
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.
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
1594138500
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.
We assume you already have shell access to your CentOS/RHEL 8 system with sudo privilege account. For remote systems, login with SSH client.
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)
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
1600135200
OpenJDk or Open Java Development Kit is a free, open-source framework of the Java Platform, Standard Edition (or Java SE). It contains the virtual machine, the Java Class Library, and the Java compiler. The difference between the Oracle OpenJDK and Oracle JDK is that OpenJDK is a source code reference point for the open-source model. Simultaneously, the Oracle JDK is a continuation or advanced model of the OpenJDK, which is not open source and requires a license to use.
In this article, we will be installing OpenJDK on Centos 8.
#tutorials #alternatives #centos #centos 8 #configuration #dnf #frameworks #java #java development kit #java ee #java environment variables #java framework #java jdk #java jre #java platform #java sdk #java se #jdk #jre #open java development kit #open source #openjdk #openjdk 11 #openjdk 8 #openjdk runtime environment