linux system Download:
linux image file downloads: Log https://wiki.centos.org/Download official website to download or access the link: https://pan.baidu.com/s/19j5hrW2U754SPH9p2H6E0Q
extraction code: krzl Baidu network disk download
installation steps
Open the VMware virtual machine, click Create a virtual machine
Click Customize, and then click Next
Hardware Compatibility default, just click Next
Click Browse, find their download linux system in the directory of the image file, select and click Next
Full name, user name, according to their needs to fill, to fill in the password that you can remember, fill and click Next
Location is best to choose a larger hard drive, do not install to the C drive, the virtual machine name to fill according to their needs, fill and click Next
Select the number of processors and the number of cores can not exceed the number of processors in their computers, virtual machines generally choose one or two is enough to use, select and click Next
L Select the virtual machine memory, PC 4G Memory select 512M ~ 1G, 8G memory options 1G ~ 2G, with over 70 percent of the computer's own memory and virtual machine windows system memory swap memory is likely to occur, please choose carefully after selection, click Next
Network connections are typically choose the second, the other two can separately choose according to their needs, select and click Next
IO controller type selection system default, select and click Next
Disk type also select the default type, select and click Next
Select Create a new virtual disk, create a new virtual disk is saved to the path just selected, select and click Next
磁盘大小一般20G足够,如有需求可以添加,但不要超过自己所选磁盘大小,下面选择拆分成多个文件夹,选择后单击下一步
直接单击下一步
勾选创建后开启此虚拟机,最后单击完成,等待启动,中间不要做任何操作
经过几十秒会出现此进度条,等待进度条读取完成
出现这个界面后等待几分钟
之后就会显示登录页面,将刚才注册的用户名密码输入就可以正常使用啦
更改时间小方法:
date 显示时间
date +%Y-%m-%d 格式化显示时间
date -d “1 month ago” 1个月之前
date -d “20180101 1 day ago” 1天之前
date -s 时间 (修改时间)
举例:[root@hadoop /]# date -s “2017-4-26 11:06:00”
</div>
<link href="https://csdnimg.cn/release/phoenix/mdeditor/markdown_views-095d4a0b23.css" rel="stylesheet">
</div>
</article>
linux系统下载地址:
linux镜像文件下载地址:登录 https://wiki.centos.org/Download 官网下载或进入链接:https://pan.baidu.com/s/19j5hrW2U754SPH9p2H6E0Q
提取码:krzl 百度网盘进行下载
安装步骤
打开VMware虚拟机点击创建虚拟机
点击自定义,再点击下一步
硬件兼容性默认,直接单击下一步
点击浏览,在目录下找到自己下载的linux系统的镜像文件,选择后单击下一步
全名,用户名按自己需求填写,密码要填写自己可以记住的,填写后单击下一步
位置最好选择一个比较大的硬盘,不要装到C盘,虚拟机名称按自己需求进行填写,填写后单击下一步
选择的处理器数量与内核数量不能超过自己电脑的处理器数量,虚拟机一般选择1~2个就够用了,选择后单击下一步
选择l虚拟机内存,电脑4G内存就选择512M~1G,8G内存选择1G ~2G,选择超过电脑自身内存的百分之70很可能会发生虚拟机内存与windows系统内存的互换,请谨慎选择,选择后单击下一步
网络连接一般选择第二种,其他两种可以根据自己的需要另行选择,选择后单击下一步
I O控制器类型选择系统默认的,选择后单击下一步
磁盘类型也选择系统默认类型,选择后单击下一步
选择创建新的虚拟磁盘,创建的新虚拟磁盘会保存到刚才选择的路径中,选择后单击下一步
磁盘大小一般20G足够,如有需求可以添加,但不要超过自己所选磁盘大小,下面选择拆分成多个文件夹,选择后单击下一步
直接单击下一步
勾选创建后开启此虚拟机,最后单击完成,等待启动,中间不要做任何操作
经过几十秒会出现此进度条,等待进度条读取完成
出现这个界面后等待几分钟
之后就会显示登录页面,将刚才注册的用户名密码输入就可以正常使用啦
Small Change Time method:
DATE display time
date +% Y-% m-% d display time format
before date -d "1 month ago" 1 month
date -d "20180101 1 day ago" 1 days before
date -s time (modified)
example: [root @ hadoop /] # date -s "2017-4-26 11:06:00"
</div>
<link href="https://csdnimg.cn/release/phoenix/mdeditor/markdown_views-095d4a0b23.css" rel="stylesheet">
</div>
</article>