The OpenSSL and OpenSSH were upgraded under CentOS 7, and the next Telnet service was installed.# Install Telnet to prevent SSH from logging inYum-y Install xinetd telnet telnet-serverRoot login prompts login Incorrect in the case of TelnetLinux by default, the root user can not log on by using Telnet, you need to modify the/etc/secruetty file# Allow root Account LoginVi/etc/securetty# Add two lines at the
The CentOS 7 mini version of the default installation cannot use the Ifconfig command.
If it's not networked at this time, it's going to be bad.
First look at the Internet configuration of CentOS7Modify File/etc/sysconfig/network-scripts/ifcfg-enp0s3
The contents are as follows:
2014-10-12 00.25.18
OK, so you can surf the Internet.
Then install the ifconfig command to perform
Yum Install Net-tool
CentOS 7 has a built-in Python version of 2.x, and many programs rely on the 2.x version, which will invalidate some of the Python scripts.For example: Yum, Firewall-cmd, Firewall-config, and so on.If you encounter a similar reference error, this is basically the cause:
[Email protected] bin]#
Use systemctl to add custom system services on CentOS 7
CentOS 7 inherits New Features of RHEL 7, such as powerful systemctl. The use of systemctl also makes the/etc/init of system services in the past. d's startup script method has changed, greatly improving the operating e
/phpvirtualbox/config.phpModifying a configuration file vim/var/www/html/phpvirtualbox/config.php [...] var $username = ' VBox '; var $password = ' VBox '; [...]10. Create this configuration file/etc/default/virtualbox Vi/etc/default/virtualboxThe content is as follows, Vboxweb-service need to access when booting Vboxweb_user=vbox11. Start Vboxweb-service Systemctl Restart vboxweb-/etc/init.d/vboxweb-service startCheck if Port 18083 is listening after boot [Email protected] tmp]# netstat -nltp
Install NFS in centos 7, centosnfs
NFS service Introduction: NFS is the abbreviation of Network File System, that is, Network File System. The client mounts the data directory shared by the NFS server to the local directory. --- The main function is to share files.
Why do you want to install the NFS service: when the server access traffic is too high, multiple service areas need to be distributed, and these
This paper uses the latest CentOS 7来 learning to build a variety of Linux servers, sharing today is to build an FTP server (PS: not recommended to use the latest system to learn, because the system has changed, a lot of previous methods to build the server is not, For example, Centos7 Firewall from Iptables for firewall
Introduced
CentOS 7 does not use Iptables by default, so it is not possible to open 80 ports by editing the Iptables configuration file
CentOS 7 uses a FIREWALLD firewall
To query whether to open port 80:
[root@joe-pc ~]# firewal
effective
source. Bash_profile #使设置立刻生效
8. Close SELinux
Vi/etc/selinux/config
#编辑配置文件
#注释掉SELINUX =enforcing
# comment out selinuxtype=targeted
Selinux=disabled #增加
9. Configure the Firewall
Since I installed the system is CentOS 7 live version, so there are a lot of things do not, I added the following code, did not find the iptables restart comma
Iptables service for CentOS 7
By default, CentOS 7 uses firewalld to manage iptables rules. Because firewall rules are rarely changed, it doesn't matter if they are not moved. But it is used to being a devil. Unlike before, it is always a bad habit.
Systemctl disable firew
Tags: des blog HTTP Io ar OS use for file Centos 7 inherits the new features of RHEL 7, such as powerful systemctl. The use of systemctl also makes the/etc/init of system services in the past. d's startup script method has changed, greatly improving the efficiency of System Service Execution. However, the service configuration is significantly different from the
Installation RequirementsInstallation Environment: CENTOS-7Installation method: Source code compiled and installedSoftware Name: mysql-cluster-gpl-7.3.7-linux2.6-x86_64.tar.gz: http://mysql.mirror.kangaroot.net/Downloads/Software Installation Location:/usr/local/mysqlData storage location:/var/mysql/dataLog storage location:/var/mysql/logsCluster designFirst of all, the design of the cluster installation allocation, I need 5 servers, the server alloca
CentOS 7 uninstall home to expand the root Space
Background: Check the gitlab backup server and find that the backup files in the last few days have not been uploaded to this server according to the settings.
Because this server is newer, there are no other files except the received backup files, so inode is not enough to be ruled out first, but the backup file is about 40 Gb +, the server clearly allocates
daemon-reload
Step 4: set a password for VNC
[root@wic ~]# vncpasswd
Step 5: because Centos 7 on my side uses iptable firewall
vim /etc/sysconfig/iptables
Add
-A INPUT -m state --state NEW -m tcp -p tcp --dport 5900:5903 -j ACCEPT
Restart iptable
service iptables restart
If you use the Centos
How to install Subversion in CentOS 7
Apache Subversion (SVN for short) is an open-source version control system. It adopts a branch management system compared with the RFM and CVS systems. Its design goal is to replace CVS. Many version control services on the Internet have been transferred from CVS to Subversion.
The following describes how to install Subversion in Ce
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.