Common Linux Command Memo

Source: Internet
Author: User

Memo:

Shut down firewall: # Systemctl Stop Firewalld

View firewall Status: # SYSTEMCTL status Firewalld

Stop firewall: # systemctl Disable FIREWALLD

Disable Firewall: # systemctl Stop Firewalld

View selinux Status: # Sestatus

View a file in that directory: # Whereis Phpize

Install the 5.6 version of php:# yum install php56w-redis.x86_64

PHP is a command that can be used to generate a PHP config file: # phpize

Execute configure command: #./configure

Unzip files: # tar zxvf phpredis-2.2.4.tar.gz

Install plugin: # yum-y Install Php-mysqli

Install PHP Plugin: # yum install php56w.x86_64 php56w-cli.x86_64 php56w-common.x86_64 php56w-gd.x86_64 php56w-ldap.x86_64 php56w-mbstring.x86_64 php56w-mcrypt.x86_64 php56w-mysql.x86_64 php56w-pdo.x86_64

# RPM-UVH https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

View installed PHP files: # Yum list installed |grep PHP

Set boot from: # echo "/usr/local/bin/redis-server/etc/redis.conf" >>/etc/rc.local

Set permissions: # chmod 777 Www/jwt/backend

Delete folder with parameters: # RM-RF WWW/JWT

Reload Domain Name Service: # RNDC Reload

Setting selinux:# Setenforce 0

Start Redis server: # redis-server/etc/redis.conf

Common Linux Command Memo

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.