Get the App
SLTechnology News&Howtos  ›  Servers  › 

Important and commonly used commands under linux

Shulou Source: shulou.com Published: 2022-06-03 05:11:07 09月21日 Update

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

Tags: Tools data databases errors services commands download tools logs status editors processes important commonly used Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL Redmi Xiaomi Docker MariaDB