In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Linux is a bit of a big change,centos 6.5 6 red 6 6.5 and so on are slightly different from centos 7 red7, command configuration files are slightly different
Here's a brief description of the difference.
centos7
keroros cross-platform trust mechanism is more compatible with windows active directory
Realmd can automatically discover windows domains without setting up many configuration documents
You can add AD DNS information yourself, which is very convenient.
Graphics are more powerful, and assistance is more powerful
Virtual I/O calls to underlying hardware more efficiently, support USB 3.0, nested virtualization technology, enhanced VMWARE support
Support for the hottest technology Docker!!!!
The difference between installation is that basically all configurations are set up on one page.
vim <$/anaconda-ks. cfg has its own installation details, configuration, etc.
In the new version the init change level has been changed to systemctl~ but... init can still be used ~~~ so it feels like there is nothing to use ah
ln -sf /lib/systemd/system/default.target Default level changed to 3 text multi-user.target
ln -sf /lib/systemd/system/default.target convert graphics mode ~ graphical.target
systemctl set-default multi-user.target This can also be...
Switch operation level during startup
systemctl isolate multi-user.target Text runlevel3.target Text graphical.target Graphics runlevel5.target Graphics
Modify default startup resolution
vim /boot/grub2/grub.cfg
linux16 /vmlinuz-*** ending with vga=0x??
Sign in automatically!!!
vim /etc/gdm/custom.conf
daemon
AutomaticLoginEnable=true
AutomaticLogin=root
Automatic login root
Change Host Name ~~~~
vim /etc/hostname Simple!!!
hostnamectl set-hostname command changed to simple ~
nmtui graphics!!!
The network configuration related changes are relatively large, and the former eth naming method has been modified.
The requested URL/etc/sysconfig/grub/was not found on this server.
grub2-mkconfig -o /boot/grub2/grub.cfg
execute this command
The requested URL/etc/sysconfig/network-scripts/was not found on this server.
reboot After restarting the computer, check the network card and modify it back to the original one
systemctl integrates the two functions of service chkconfig, which is more convenient
changed the init.d service storage location,
/usr/lib/systemd/sysetm or/etc/systemd/system
The new service startup script has also been changed into three blocks, no longer using the original color service shell
[Unit] is mainly a description of this service, including Description and After, Description is used to describe the service, After is used to separate the relationship, after what service to start, etc.
[Service] is the key to the service and the setting of some specific operation parameters of the service. Here Type=forking is the form of background operation, PIDFile is the file path to store PID, ExecStart is the specific operation command of the service, ExecReload is the overloaded command, and ExecStop is the stop command. Note: The start, restart, and stop commands in [Service] all require absolute paths, and errors will be reported if relative paths are used!
The [Install] section is about settings for service installation, which can be set to multi-user.
Note: If services do not have Install paragraphs, this generally means that they should be automatically invoked by other services
When using systemd, dependencies can be resolved by writing the cell configuration file correctly. Typically, service A requires service B to run before service A starts. In this case, add Requires=B and After=B to the [Unit] section of the Service A profile
The new service mechanism enhances the description of service dependencies, increases the speed of parallel service startup, and improves startup efficiency.
systemctl commands are systemctl [actions,start stop restart, etc.] service names
The action can also be enable, disable, disable, etc.
The firewall defaults to firewalld!!!!!!!!!!!!!!!!!!!
this concludes
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.