Snapshot Linux foundation of cloning, Xshell optimization, Linux history

Today, the main share four basic Linux knowledge, knowledge is the first virtual machine snapshot, the second is the virtual machine cloning, and the third is to optimize Xshell, the fourth is the brief history of Linux.

 

The first to share knowledge - Virtual machine snapshots.

 

1.4) virtual machine snapshot

  Virtual machine snapshots of windows similar to "restore"

1.4.1) to take snapshots

  Steps: In VMware software, select the need to take a snapshot of the virtual machine, and then right-click on the selected virtual machine, the pop-up menu inside select "Snapshot" and then in the pop-up menu inside select "take a snapshot" . Note: take a snapshot of the virtual machine is turned off.

  Shutdown command: shutdown -h now immediately shut off immediately init 0

  Reboot command: reboot reboot reboot init 6

1.4.2) snapshot recovery

  Steps: In VMware software, select the need to restore a snapshot of the virtual machine, and then right-click on the selected virtual machine, the pop-up menu inside select "Snapshot" and then in the pop-up menu inside select "Snapshot Manager "snapshot target selected to be restored, click on the" go "to complete the operation.

 

  

The next second knowledge sharing - Virtual machine cloning.

1.5) VM clone

1.5.1) Cloning state

  1.5.1.1) the current state , the current state of the virtual machine that is

  1.5.1.2) a snapshot of the state , namely the existing snapshot (only off virtual machine)

 

  

1.5.2) the cloning method:

  1.5.2.1) linked clones

    Pros: fewer disk resources, speed

    Disadvantages: If the source file is deleted, the linked files can not be used

  1.5.2.2) complete cloning

    Advantages: not affect the source file

    Disadvantages: take up disk space large, slow

 

Then again share the third knowledge --Xshell optimization.

1.6) Xshell optimization

  打开Xshell软件,“文件”→“属性”,找到相应的模块,进行对应的优化。

1.6.1)“连接”→“用户身份验证”

  保存用户名和密码,设置后以后用xshell连接虚拟机,不用重复输入用户名和密码了。

 

 

1.6.2)“连接”→“终端”

  设置缓冲区大小:65535,设置后在终端上可以回滚看到之前输入的代码。

 

 

 

1.6.3)“连接”→“高级”→“日志记录”
  给xshell设置日志记录功能,在文件路径里按照固定格式输入,日志名:%n%Y-%m-%d%t-xshell.log,保存后,这样就等于新增了一个日志记录功能。

 

 

最后分享第四知识——简述Linux历史。

1.7)Linux历史

1.7.1)Linux和windows的区别:

  windows:收费,不开源,主要用于日常办公、游戏、娱乐多一些。

  Linux:免费,开源,主要用于服务器领域,性能稳定,安全。


1.7.2)Linux的优点

  1、Linux系统兼容Unix系统、几乎具备Unix所有优秀特性。

  2、Linux系统基于GNU许可(GNU is Not Unix)、开放源代码的程序、可自由修改。

  3、Linux系统基于GPL通用许可,免费、开源、随意修改、随意传播、无任何版权限制。

  4、Linux系统兼容x86系列的CPU架构、并且高效稳定、可靠、安全。

  5、Linux系统拥有完善的多用户、多任务、多进程、多CPU的系统。

  6、Linux系统具有大量的第三方免费应用程序、中小型企业完全够用。

 

1.7.3)Linux发展历史

  1)GNU:GNU的全称为GNU is Not Unix,意思是“GNU 不是 Unix”,Linux系统基于GNU许可(GNU is Not Unix)、开放源代码的程序、可自由修改。

  2)copyleft:无版权

  3)opensource file:开放源代码

  4)GPL:全称是General Public License,中文名为通用公共许可,是开源许可协议。任何人可以修改代码,但都必须要将修改后的源代码开放出来。

  5)Linux完整叫法:GNU/Linux

  6)Linux只是一个内核

  7)Linux常见发行版:红帽,CentOS,Ubuntu

 

Redhat 1993年,将Linux的内核进行编译安装相应软件进行发行。该软件采用收费模式,是商业软件。

 


CentOS 社区企业级操作系统,改Redhat,完全开源。

 


Ubuntu 社区维护,现在主要做手机系统和电脑桌面系统。

 

 

 

1.7.4)Linux应用领域
  企业服务器:为中小企业提供开源的WEB、数据库、负载均衡、存储等架构。降低企业的运营成本,也无需考虑系统的稳定性和安全性,且没有商业软件版权以及收费问题。
  桌面系统:日常办公、收发电子邮件、文件编辑、多媒体应用。
  嵌入式开发:智能手机、路由器、点餐系统、自动售货机、等等。

 

转载于:https://www.cnblogs.com/dabai-wang09/p/11018835.html

Guess you like

Origin blog.csdn.net/weixin_33950035/article/details/93275160