Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Important and commonly used commands under linux

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

1. Installation tools

(1) install apache, decompression tool, nginx, download tool, command line tool (ifconfig, route, arp, netstat, etc.) vim editor

# yum install httpd

# yum install unzip

# yum install nginx

# yum install wget

# yum install net-tools

# yum install vim*

(2) install mysql database and php database

# yum install mariadb mariadb-server

# yum install php php-mysql

(3) install java service

# yum install Java-1.6.0-openjdk-devel

2. Start (close, view) the process (service, status)

Systemctl start mariadb

Systemctl start httpd

Systemctl start nginx.service

Systemctl status firewalld.service

3. View error apache and nginx error logs

Tail / var/log/httpd/error_log

Tail / var/log/nginx/error.log

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report