linux :
1.概述
1.为什么要使用linux ?
java、前端、大数据、算法 =》 app 服务器 =》 linux
2.
2.linux 概述:
1.文件操作系统:
层级式的文件操作系统
linux 最顶层目录:/
3.linux版本:
广义 :
ubuntu、小红帽、centos、debian、等 基于linux 内核进行开发
狭义:centos
6.x =》
7.x =》 7.5
4.学习linux ?
1.环境准备:
1.vmware (vbox) 虚拟化的软件
2.关联 linux7.x镜像 即可
5.linux 内核 谁发明?
linux 林纳斯 =》 git
2.部署linux
1.磁盘划分: 60G
/ => 根目录 划分多少磁盘
/boot =》linux启动的时候 系统自身的资源 1g
swap =》 内存不足 可以使用 磁盘充当内存 2g 4g
2.远程连接:
1.ip =》 192.168.10.134
ifconfig =》 网卡 对应的ip
2.port =》 22 1-65535
3.username =》 root
4.passwd =》 123456
xshell
3.linux 基本操作:
[root@sygy10 ~]#
root 登录机器的用户名
root 最高权限用户
sygy10 登录机器的机器名 hostname
~ 登录机器的用户 家目录 【就是一个目录】