1. Create a new Folder
mkdir file name
Create a new folder named Test under Home
1 mkdir/home/test
2. New text
Create a new test.sh script at home
1 vi/home/test.sh
3. delete files or folders
Delete the test directory in the home directory
1
Part of the use of Yum installation, you need to download the following:Apr,apr-util,pcre,httpd,php5,eaccelerator
First use Yum to install the dependent program:
The code is as follows
Copy Code
Yum Install GD
Native environment: Server is Aliyun ECS; the mirror used is: public mirror CENTOS 7.2
A. Nginx installation
1. Download the Nginx package (package) corresponding to the current system version
wget http://nginx.org/packages/centos/7/noarch/RPMS/
Useradd testuser; Add user testuser to user name passwd testuser; Modify user password prompt two times enter password give root permission to modify the/etc/sudoers file, locate the following line, and add a row below root, as follows: # # allow
Installing and configuring Nginx on Ubuntu/centos SystemFirst, online installation:Ubuntu:sudo Apt-get Install NginxCentos:sudo Yum Install NginxSecond, the location after installation:1. Service Address:/etc/init.d/nginx2, configuration
CentOS Linux Solution device eth0 does not seem to be presentThis morning open Xshell link virtual machine, suddenly link not on. Then go into the virtual machine execution ifconfig or the IP Addr List command to find eth0 missing. Then perform the
ObjectiveSince the use of Linux is not often, whenever the use of the installation software, install the software should choose the installation package platform, is 32-bit or 64-bit. At this time suddenly found do not know how to check, so Baidu.
Reprinted from: https://linux.cn/article-4243-1.htmlIf you want to provide services on the server, Enterprise Linux distributions such as CentOS or Rhel contain built-in powerful firewalls, which are strictly the default firewall rules. Therefore,
In many scenarios, we may need to start multiple RABBITMQ instances on a single machine, and launching multiple instances is actually enabling different ports. RABBITMQ The default port is 5672,15672,25672, the following after the actual operation
NTP Service time synchronizationTurn off firewalls and SELinux or turn on all firewall services[Email protected] ~]# firewall-cmd --set-default-zone=trusted NTP service[[email protected] ~]# yum–y install NTP[email protected] ~]# cat /etc/ntp.
Synchronizing System Current TimeRdate-s time.nist.gov1. View time and dateCommand: "Date"2. Set the time and dateExample: Setting the system date to the November 3, 2009 commandCommand: "Date-s 11/03/2009"command to set the system time to 5:55 P.M.
CentOS modifies host name and host tableFirst, modify the host name1. Open the command client and switch to the root user as shown in:2, enter "Vi/etc/sysconfig/network" Press I key to enter the editing state to modify the hostname as follows.3,
1. See if the SSL component is already installed[Email protected] wwwlogs]# Cd/usr/local/nginx/sbin/[[email protected] sbin]#./nginx-vnginx version:nginx/ 1.0.15built by GCC 4.1.2 20080704 (Red Hat 4.1.2-52) TLS SNI support disabledconfigure
Now NSS is converted to openssl in CentOS.
The 64-bit centos6.5 adopted by the company's server. After installing the php nginx environment in yum, it found that curl was used for some time and the default curl was NSS instead of openssl, now the
During server O & M, we usually use Zabbix for monitoring. Here we install and configure monit. When the process is detected to be stopped, the process can be automatically started.We recommend that you use the rpmforge source to install monit,
1. Unzip the installation package: tar-zxvf httpd-2.2.24.tar.gz2. Enter the unzipped installation package: cd httpd-2.2.243. configure the compilation and installation path and parameters:./configure -- prefix =/opt/httpd/-- enable-so -- enable-ssl -
If your wordpress installation directory is wordpress, the default wizard configuration will show insufficient permissions:Sorry, but I can't write the wp-config.php file.You can create the wp-config.php manually and paste the following text into it.
VPS servers in foreign countries generally have control panels, and many types of systems can be installed on their own. However, some IDCs in China are relatively pitted, not only are there no panels, there is also a bunch of useless software in
Centos time adjustment operationWhen we use the CentOS system, problems may occur frequently in the time zone, and sometimes errors may occur after the change. Next we will learn a way to change this situation.If you are not using CentOS, run the
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