/cdrom to unload the mount, then the new directory operation. (6) Using CD/MNT to enter the optical drive, enter the LS command you will see a *.tar.gz format file (for example, my is: vmwaretools-9.6.0-1294478.tat.gz), and then enter the command CP vmwaretools-9.6.0-1294478.tat.gz/tmp/copy it to the/tmp/directory (7) Enter command CD/TMP Enter/tmp directory (8)
is not mounted, you can enter the Umout/dev/cdrom to unload the mount, then the new directory operation.(6) Using CD/MNT to enter the optical drive, enter the LS command you will see a *.tar.gz format file (for example, my is: vmwaretools-9.6.0-1294478.tat.gz), and then enter the command CP vmwaretools-9.6.0-1294478.tat.gz/tmp/copy it to the/tmp/directory(7) Inp
is not mounted, you can enter the Umout/dev/cdrom to unload the mount, then the new directory operation.(6) Using CD/MNT to enter the optical drive, enter the LS command you will see a *.tar.gz format file (for example, my is: vmwaretools-9.6.0-1294478.tat.gz), and then enter the command CP vmwaretools-9.6.0-1294478.tat.gz/tmp/copy it to the/tmp/directory(7) Inp
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:Moun
uncomfortable.
Slot 2:SYSTEMD Initialization Process service can only run on Linux systems and "discards" Unix system users.
Slot 3:SYSTEMD takes over the work of services such as SYSLOGD, Udev, Cgroup, and is no longer willing to do only initialization process services.
Slot 4: After using SYSTEMD to initialize the process service, the RHEL 7 system changes too much, and the relevant reference
The original addressMware Tools is one of the important components for virtual machines (VMS) in order get excellent performance. It is a group of utilities, enhances the overall performance of the virtual machine ' s guest operating system ( OS) and improves management of the VM. Without the VMware Tools, guest OS performance would lacks some of the important functionality. Below steps shows how to install the VMware Tools on RHEL
Add the PXE network startup environment from Ubuntu/Debian to RHEL/CentOS 7
This tutorial will guide you to add the Ubuntu 14.10 Server, Ubuntu 14.04 Server, and Debian 7 Wheezy release to the PXE network startup environment of RHEL/CentOS 7.
Add Ubuntu and Debian to PXE Ne
,RW/Also check again and see if the root assignment is mounted in read-write permission mode.# Mount | grep rootSet permissions on the root partitionNow you can change the root account password, just type the passwd command. But it's not over yet. We need to re-tag the selinux context. If we skip the step of re-tagging the entire selinux context, we can use the using password to log in.# passwd root[Enter new password [re-enter new password]# Touch/.a
30 things to be done after minimal RHEL/CentOS 7 installation (4)
30 things to be done after minimal RHEL/CentOS 7 installation (4)17. Install Webmin
Webmin is a Web-based Linux Configuration tool. Like a central system, it is used to configure various system settings, such as user, disk allocation, service, and HTTP s
RedHat Enterprise Linux 7 starts. The database that comes with the system disk is MARIADB, and the installation process is as follows:1. Mount the installation disk image:mount/dev/cdrom/mnt2. Create a Yum Source:cat >/etc/yum.repos.d/d.repo [d]Baseurl=file:///mntEof3. Import KEY:yum--import/mnt/rpm-gpg-key-redhat-release4. Installation:yum-y install mariadb-serv
root account.
# Mount-o remount, rw/
Check again and again to see if the root allocation is mounted in read/write permission mode.
# Mount | grep root
Set permissions for the root Partition
Now you can change the password of the root account. Just type the passwd command. But this is not complete yet. We need to re-mark The SELinux context. If we skip this step of remarking the entire SELinux context, we
output is enforcing, which means that the SELinux policy is already in effect.If debugging is required, you can temporarily set the SELinux mode to allow. No restart is required.# Setenforce 0After debugging, set the SELinux to mandatory mode again, without restarting.# setenforce 1LCTT: In a production environment, SELinux will certainly improve security, but it does bring a lot of trouble to application deployment and operation. Specific deployment needs to be based on the situation. )24. Ins
RedHat Enterprise Linux 7, the system disk comes with a database of MARIADB, the following steps are installed:1. Mount the installation disk image:mount/dev/cdrom/mnt2. Create a Yum Source:cat >/etc/yum.repos.d/d.repo [d]Baseurl=file:///mntEof3. Import KEY:yum--import/mnt/rpm-gpg-key-redhat-release4. Installation:yum-y install mariadb-server mariadb5. Complete t
access, then execute the following command:
[Root@localhost zones]# firewall-cmd--zone=public--permanent--add-port=80/tcpSuccess[Root@localhost zones]# Firewall-cmd--reloadSuccess
2, the use of the time of the order plus--permanent is the meaning of permanent entry, the Firewall service after the restart is still in force. Otherwise, only valid before restarting the service.
3, we execute the command, the results are actually reflected in the specific configuration file, in fact, we can dire
protected] ~]# swapon-s12. Find the user who owns the file and copy itNeed to create a directory to store files beforehand[[email protected] ~]# Find/-user User (lookup user)-exec (followed by command to be used, alias not supported) Cp-a {} (-A For all properties of the copied file)/copy location (= match all previous files) \; (Terminator)13. Create a logical volume and specify the physical expansion unit (physical extent) size[[email protected] ~]# fdisk/dev/device[Email protected] ~]# Partp
to use)First, make sure that the NetworkManager service is running correctly[Email protected] ~]# systemctl status NetworkManagerIf not, start manually[Email protected] ~]# systemctl restart NetworkManagerModify IP Address[Email protected] ~]# Nmtui-edit eno16777736Activating network Configuration[Email protected] ~]# systemctl Restart NetworkSecond, turn off the firewall and set the power off automatically[Email protected] ~]# Systemctl stop Firewalld[[email protected] ~]# systemctl disable FI
/basic.target.wants/firewalld.service.Third, turn off SELinux and set the power off automatically[Email protected] ~]# Setenforce 0 #临时关闭Power-on auto-shutdown:[Email protected]~]# sed-i ' s/selinux=enforcing/selinux=disabled/'/etc/selinux/configFour, set the CD-ROM automatic mount ( can be ignored, according to the actual situation to deal with )[[email protected] ~]# echo "/dev/sr0/mnt iso9660 defaults 0 0" >>/etc/fstabV. Configuring the network Yum
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.