Differences between Ubuntu and CentOS

Ubuntu

  • No password is set for root after Ubuntu installation
sudo passwd
  • Ubuntu is suitable for the development of python environment and comes with python development environment
vim hello.py
python hello.py
  • Package resource management with apt-
  • Ubuntu.ios does not have sshd service, you need to manually install and open port 22 to log in remotely with Xshell
  • Ubuntuklin is the CH of Ubuntu (personal understanding)
  • The daemon that unbuntu provides system management services is service, not systemd

CentOS

  • The password is already set for root during installation
  • CentOS is suitable for JavaEE, Hadoop
  • Package resource management uses rpm, yum
  • CentOS provides system service management systemd, so use systemctl to open the corresponding service (such as firewall)

with

The same is to install the tree command (the Linux system does not come with it)

centos: yum install tree ( 默认最新版本且自动处理包间的依赖关系 )
ubuntu:  sudo apt-get install tree

 

Both of these methods are online version installation, so you need to do it with the Internet

Guess you like

Origin blog.csdn.net/qq_924485343/article/details/114892899
Recommended