VMware To configure the CentOS virtual machine as Host-only network mode
Today suddenly want to host-only mode configuration process record down, also convenient to have the need of friends reference. This blog post is my first blog, poorly written
Linux system is: CentOS 6.4 64-bit
I. Limitation of changes in the number of documents (1) VI /etc/security/limits.conf appended at the end * Soft nofile 10240 * Hard Nofile 10240 (2) VI /etc/pam.d/login Append session
1. View firewalls running status Systemctl status firewall
2. Open Firewall firewall systemctl start FIREWALLD
3. Configure the rules of the firewall, only to configure zone as public rules,
(1), add the accessible port, the permanent parameter
first, look at the running level of the system and whether the desktop environment is installed
1. Use the command runlevel to view the current run level, as shown in the figure
2, use the command Yum grouplist | more to see if you have installed
Objective
For a long time without Linux a sudden review of a face, a lot of things are forgotten, so this blog simple record in the VirtualBox virtual machine, Linux CentOS 7 How to set up to even the extranet. Previously wrote a blog record such a
Recently their Redhat python upgraded Python to 2.7, but found that Yum can not use, found a workable solution, we can refer to, reprinted a Netizen's article, the pro-test effective.
Reproduced from: http://www.cnblogs.com/theitnotes/p/4162882.html
Optimize content:
(1. Set history history
(2. Add ordinary users, set sudo permissions
(3. Prevent root remote user from logging in
(4. Modify Remote port
(5. Streamlined boot server
(6. Close SELinux
(7. Configure Iptables
(8. Modify the maximum
Reprint Address: http://jingyan.baidu.com/article/6b182309b95badba58e159e0.html
1, start CentOS system, into the desktop, the author's system is CentOS 6
2, can display the Chinese prerequisite is: The system has installed the Chinese voice pack.
Experienced hardships in VirtualBox installed Centos7, habitual played a day ifconfig, the results found that the command is invalid, and then after a series of checks found no ifconfig this package,
So to install a ifconfig package with Yum, it
CENTOS6 later version changed the Portmap service for Rpcbind, in the use of NFS this is different from centos5, the following configuration of an NFS system to enable all users within the LAN access to the directory, the directory can be configured
1, download the JDK and Tomcat installation package to the/OPT directory, use the command: Wget installation package in the network address;
2, use the command decompression installation package: TAR-ZXVF package name;
3, to extract the file to be
[Root@localhost ~]# Yum Install Libtool
Loaded Plugins:rhnplugin, security
This system is not registered with RHN.
RHN support would be disabled.
Setting up Install Process
Nothing todo
Solution:
1, into the/etc/yum.repos.d/directory.
Enter at
1. Vi/etc/sysconfig/iptables
Way One
Add the following content
-A input-m state--state new-m tcp-p TCP--dport your port-j ACCEPT
Mode two/sbin/iptables-i input-p TCP--dport your port-j ACCEPT/etc/rc.d/init.d/iptables Save
Reboot the firewall
It's been a long day, and it's finally done.
The following is my installation process:
1, the Nouveau driver into the blacklist, modify the/etc/modprobe.d/blacklist.conf file,
Join blacklist nouveau in the back
2. Re-establish INITRAMFS image file
1. Add a new network adapter in the virtual machine according to the following two pictures
Two. See if the NIC is recognized!Vi/etc/udev/rules.d/70-persistent-net.rules #可以看到有两块网卡!
Copy eth1 Card's MC address, next we want to create ifcfg-eht1
March 6, 2017 11:43:07
1. Operating level of the Chkconfig management program
Such as: Set firewall default does not open
Chkconfig--level iptables off Run Level 3 (command line), 5 (interface) does not open iptables 2. Configure network card
SELinux (security-enhanced Linux) security-enhanced Linux is an implementation of mandatory access control (mandatory access controls). In this kind of control, Linux has a lot of operations that can be banned or unsuccessful. Before the
Reprint please indicate the source: http://blog.csdn.net/l1028386804/article/details/79399463
Assuming that the source host requires a target node with host name Node1, Node2, and node3 to access without password under User name test, you need to
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