RHCE installs Apache and accesses IP with a browser

RHCE installs Apache and accesses IP with a browser

1. at is configured to write "This is a at task" to the at_test file in the root directory after 5 hours.

After 5 hours, open the file and it will contain "This is a at_task"

2.crontab configuration, every Saturday and Sunday at 9:30 and 14:00 to remind me to go to RHCE class and write it into the cron_test file in the root directory

3. Install Apache server: and create a new index.html file in /var/www/html

index.html file content: "This is my RHCE"

Then enter the 192.168.xxx.xxx ip in the browser to access

First install and make sure the yum source has been installed

If not, install the yum source first

cd /etc/yum.repos.d/

[root@lyzyyds yum.repos.d]#

This is the end of this article about installing Apache on RHCE and accessing IP with a browser. For more information about installing Apache on RHCE, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope you will support 123WORDPRESS.COM in the future!

<<:  CSS cleverly uses gradients to achieve advanced background light animation

>>:  Quickly solve the problem of slow and stuck opening of input[type=file]

Recommend

Summary of 6 skills needed to master web page production

It has to be said that a web designer is a general...

Detailed tutorial on using the Prettier Code plugin in vscode

Why use prettier? In large companies, front-end d...

Basic usage knowledge points of mini programs (very comprehensive, recommended!)

Table of contents What to do when registering an ...

Simple comparison of meta tags in html

The meta tag is used to define file information an...

Linux file system operation implementation

This reading note mainly records the operations r...

JavaScript canvas to achieve mirror image effect

This article shares the specific code for JavaScr...

HTML head tag meta to achieve refresh redirection

Copy code The code is as follows: <html> &l...

The viewport in the meta tag controls the device screen css

Copy code The code is as follows: <meta name=&...

How to use rem adaptation in Vue

1. Development environment vue 2. Computer system...

Analysis of the reasons why MySQL field definitions should not use null

Why is NULL so often used? (1) Java's null Nu...

How to monitor array changes in JavaScript

Preface When introducing defineProperty before, I...

Automatic backup of MySQL database using shell script

Automatic backup of MySQL database using shell sc...

Tips on MySQL query cache

Table of contents Preface Introduction to QueryCa...

Docker image management common operation code examples

Mirroring is also one of the core components of D...

How to detect whether a file is damaged using Apache Tika

Apache Tika is a library for file type detection ...