httpd on #设为开机启动
/ETC/INIT.D/HTTPD Start #启动apache
Vi/etc/sysconfig/iptables #配置防火墙, open port 80.
-A input-m state--state new-m tcp-p TCP--dport 80-j ACCEPT #允许80端口通过防火墙
: wq! #保存退出
/etc/init.d/iptables Restart #最后重启防火墙使配置生效
Open http://192.168.0.54/as shown in the following illustration:
Extended reading: Set host name to www
Hostname www #设置主机名为www
Vi/etc/sysconfig/network #编辑配置文件
Hostname=www #修改localhost. Localdomain for www
: wq! #保存退出
Vi/etc/hosts #编辑配置文件
127.0.0.1 www l
Linux Tutorial: How to enable Nux Dextop repository on CentOS or RHEL
Q: I want to install an RPM package in the Nux Dextop repository. How can I set up a Nux Dextop repository on CentOS or RHEL?
Nux Dextop is a third-party RPM repository (such as Ardour and Shutter) for CentOS, RHEL, and ScientificLinux containing man
Basic Linux Tutorial: how to modify the host name on CentOS or RHEL 7
Q: What is the correct method for modifying the host name on CentOS/RHEL 7 (either permanently or temporarily )?
In CentOS or RHEL, there are three defined host names: a, static (static), B, transient (transient), and c, flexible (pretty ). The "stat
Disclaimer: Translation Official documents: http://docs.mongodb.org/master/tutorial/install-mongodb-on-red-hat/?_ga=1.146202678.362433698.1425911361Overview:Learn how to install MongoDB RPM packages under Rhel or CentOS with this tutorial.Packages that need to be installed:MongoDB provides an official support package embedded in its private repository. The warehouse provides the following packages:· mongodb
1. Install VNC Viewer under Windows Client (self-download) This tutorial installs Vnc-5.2.3-windows.exe.2, Linux system download vnc-5.2.3-linux-x64-rpm.tar.gz and in the terminal[Email protected] vnc]#Tar-ZXVF vnc-5.2.3-linux-x64-rpm.Tar. GZ #得到VNC-server-5.2.3-LINUX-X64.RPM and vnc-viewer-5.2.3-linux-X64.rpm[[email protected] VNC #rpm-IVH vnc-viewer-5.2.3-linux-X64.rpm[[email protected] VNC #rpm-IVH vnc-server-5.2.3-linux-X64.rpm[[email protected] V
I had never understood anything when I first came into contact with Linux. I had to install dual systems on my computer (the original system was Win7) and had suffered a lot of hardships. I searched for tutorials on the Internet, and many of them were vague, as a result, the installation process is in war. Recently, I interviewed my friend about O M and the interviewer was familiar with Linux installation. In view of this, we have installed RHEL 6.3
very secure and fast-stable FTP server in Unix/linux, has been adopted by many large sites, VSFTPD is also the Rhel default FTP service, this article mainly describes vsftp related configuration methods.
First, install VSFTP.
RPM-IVH vsftpd-2.0.5-12.el5.rpm
After the installation is complete, the VSFTPD configuration file is/etc/vsftpd/vsftpd.conf, and the following command launches the VSFTPD and sets it to start automat
Not long ago, in the lab, because the internal Lan had the IP address of the network segment 192.168.1.0, if you want to connect to the Internet, you need to change the IP address to the network segment 172.16.20.0, and the network segment 192.168.1.0 can access the instructor's FTP, 172.16.20.0 can access the Internet. I need to use both CIDR blocks. It is very troublesome to set them. Therefore, bind the NIC to multiple IP addresses. In RHEL, there
RHEL 7/CentOS 7 has changed from the previous method of modifying the hostname, for example, CentOS modification/etc/sysconfig/network takes effect after restart. There are two ways to quickly modify the host name.Method 1:Hostnamectl is used to query and modify system settings. For more information about the usage, see online help.[Root @ idoseek ~] # Hostnamectl set-hostname idoseek.com[Root @ idoseek ~] # HostnamectlStatic hostname: www.111cn.netIc
Tags: Disable document rescue size Multi Select width ESS classLinux operating system boot process, that is, starting from the BIOS, then enter the boot Loader, then load the system kernel, and then initialize the kernel, and finally start the initialization process. Initialization process as the first process of Linux system, it needs to complete the relevant initialization work in Linux system, and provide the user with the appropriate working environment. The Red Hat
RHEL account Summary 1: Account type, rhel account summary category
An account is used to record data of a single user or multiple users. Every legal user in RHEL must have an account to use RHEL.
There are two types of accounts on RHEL:
User Account: used to store data of
Booting Process in Linux RHEL 7 | Linux RHEL 7 Boot processIn this post, I'll guide you booting process in Linux RHEL 7, it's very important to know the Linux booting process to Troubleshoot and fix boot issues. Redhat 7 replaced the init process (/sbin/init) with Systemd (/USR/LIB/SYSTEMD/SYSTEMD), SYSTEMD provides considerably mor E control compared to the INIT
Install MariaDB in RHEL 7 and mariadb in rhel 7
Start with RedHat Enterprise Linux 7, and the self-contained database on the system disk is MariaDB. The installation steps are as follows:
1. Mount the installation disk image:Mount/dev/cdrom/mnt
2. Create a yum Source:Cat>/etc/yum. repos. d/d. repo
[D]
Baseurl = file: // mnt
EOF
3. Import key:Yum -- import/mnt/RPM-GPG-KEY-redhat-release
4. installation:Yum
This article briefly describes how to configure a Fence_vmware_soap type of stonith device (test-only learning) in Rhel 7 pacemaker.Stonith is the abbreviation for Shoot-the-other-node-in-the-head, and it protects the data from corruption due to node anomalies or simultaneous access.A node unresponsive does not mean that it does not have access to data, and if it wants to be sure that the data is secure, it needs to use Stonith to isolate the node to
This article will introduce you to a graphic tutorial on RHEL 6.5 installation and configuration in linux, hoping to help you.
Note:
The latest version of RHEL 6.x is RHEL 6.5. The following describes the specific installation and configuration process of RHEL 6.5.
The serve
Getting started with Linux: Enable the port on CentOS or RHEL Firewall
Q: I am running a web page or file server on CentOS and want to remotely access the server. Therefore, I need to change the firewall rules to allow access to a TCP port on the system. So, how can I enable the TCP/UDP port on the firewall of CentOS or RHEL system?
If you want to provide services on servers, such as CentOS or
How to Upgrade MariaDB 5.5 to MariaDB 10.1 on Centos/rhel 7 and Debian Systems
Upgrade MariaDB 5.5 to MariaDB 10.1 on Rhel/centos 7
Reprinted from Https://www.tecmint.com/upgrade-mariadb-5-5-to-10-centos-rhel-debian-ubuntu/What ' s new
Few new features has been added in this version and you can see them below:
galera,a multi-master
Prepare the article:
RHEL 7.0 System installation Configuration Diagram Tutorial I'm not going to introduce you here.
Configuring a local Yum source with a system-mirrored file
1, using WinSCP.exe and other tools upload system image files Rhel-server-7.0-x86_64-dvd.iso to/usr/local/src directory
2. Connect to
To: xx
Note: The local IP address is 118.229.139.68.
1. Install the following package
Bind-libs-9.3.6-4.P1.el5bind-9.3.6-4.P1.el5bind-utils-9.3.6-4.P1.el5bind-chroot-9.3.6-4.P1.el5caching-nameserver-9.3.6-4.P1.el5
Run the rpm-Qa | grep
The first step is to build a 32-bit Linux operating system, because the RPM installation package here supports a 32-bit operating system, and I am using the RHEL6.2 operating system.Here, we start from configuring the nic ip address service in Linux.
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.