2024年大数据最全点进来看看什么是真小白------hadoop的第一天

文章详细展示了在Linux终端中进行一系列基本的命令操作,如文件管理(ls,cd,mkdir,rm,chmod,chown),用户管理(useradd,passwd,su),系统服务控制(systemctl),以及环境变量设置。同时提及了一个包含大数据学习资料的系统化课程链接。
摘要由CSDN通过智能技术生成

#### ls



[root@hmm opt]# ls
containerd hadoop.txt


#### cd



[root@hmm ~]# cd …
[root@hmm /]# cd ~
[root@hmm ~]# cd -
/


#### mkdir



[root@hmm /]# mkdir 0503
[root@hmm /]# ls
0503 boot etc lib media opt root sbin sys usr
bin dev home lib64 mnt proc run srv tmp var


#### rm



[root@hmm /]# ls
0503 boot etc lib media opt root sbin sys usr
bin dev home lib64 mnt proc run srv tmp var
[root@hmm /]# rm -rf 0503/
[root@hmm /]# ls |grep 0503
···

cp

[root@hmm /]# cd /opt/
[root@hmm opt]# ls
containerd  hadoop.txt
[root@hmm opt]# cp hadoop.txt /root/hmmmmm
[root@hmm opt]# ls /root/hmmmmm 
/root/hmmmmm

cat
[root@hmm opt]# cat hadoop.txt 
yun3 hmm

tar
[root@hmm opt]# tar -cvf hmm.tar hadoop.txt 
hadoop.txt
[root@hmm opt]# ls
containerd  f  g  hadoop.txt  hmm.tar
[root@hmm opt]# ls
containerd  hadoop.txt  hmm.tar

useradd
[root@hmm opt]# useradd hmm

passwd
[root@hmm opt]# passwd hmm
Changing password for user hmm.
New password: 
BAD PASSWORD: The password is shorter than 8 characters
Retype new password: 
passwd: all authentication tokens updated successfully.

chown
[root@hmm opt]# chown hmm:root hadoop.txt 
[root@hmm opt]# ll hadoop.txt 
-rwxrwxrwx 1 hmm root 9 Mar  8 17:34 hadoop.txt

chmod
[root@hmm opt]# ls
containerd  hadoop.txt  hmm.tar
[root@hmm opt]# chmod 777 hadoop.txt 
[root@hmm opt]# ll
total 16
drwx--x--x. 4 root root    28 Mar  5 16:57 containerd
-rwxrwxrwx  1 root root     9 Mar  8 17:34 hadoop.txt
-rw-r--r--  1 root root 10240 Mar  8 17:37 hmm.tar

su
[root@hmm opt]# su hmm
[hmm@hmm opt]$ who
root     tty1         2024-03-08 17:25
root     pts/0        2024-03-08 17:27 (192.168.130.1)

vim
[root@hmm opt]# vim hadoop.txt 

yun3 hmm

clear

[root@hmm opt]# clear

hostname
[root@hmm opt]# hostname
hmm

hostnamectl
[root@hmm opt]# hostname
hmm
[root@hmm opt]# hostnamectl set-hostname hmmm
[root@hmm opt]# bash
[root@hmmm opt]# 

ip
[root@hmmm opt]# ip a show ens33
2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 00:0c:29:3d:66:01 brd ff:ff:ff:ff:ff:ff
    inet 192.168.130.101/24 brd 192.168.130.255 scope global noprefixroute ens33
       valid_lft forever preferred_lft forever
    inet6 fe80::51a2:e08c:264f:1c70/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
[root@hmmm opt]# 

systemctl
[root@hmmm opt]# systemctl stop firewalld
[root@hmmm opt]# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
   Active: inactive (dead)
     Docs: man:firewalld(1)
[root@hmmm opt]# systemctl start firewalld
[root@hmmm opt]# systemctl status firewalld
● firewalld.service - firewalld - dynamic firewall daemon
   Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
   Active: active (running) since Fri 2024-03-08 17:50:40 CST; 1s ago
     Docs: man:firewalld(1)
 Main PID: 1585 (firewalld)
    Tasks: 2
   Memory: 24.7M
   CGroup: /system.slice/firewalld.service
           └─1585 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid

Mar 08 17:50:39 hmmm systemd[1]: Starting firewalld - dynamic firewall daemon...
Mar 08 17:50:40 hmmm systemd[1]: Started firewalld - dynamic firewall daemon.
[root@hmmm opt]# systemctl enable firewalld
Created symlink from /etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service to /usr/lib/systemd/system/firewalld.service.
Created symlink from /etc/systemd/system/multi-user.target.wants/firewalld.service to /usr/lib/systemd/system/firewalld.service.

export
[root@hmmm opt]# export -p
declare -x HISTCONTROL="ignoredups"
declare -x HISTSIZE="1000"


![img](https://img-blog.csdnimg.cn/img_convert/3968d93f32b9c464d753c79bd5adefd3.png)
![img](https://img-blog.csdnimg.cn/img_convert/0808915c61416a9d0c70c7d5d1410d36.png)
![img](https://img-blog.csdnimg.cn/img_convert/643cb04a8d17a9a4be7c334df8171665.png)

**既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上大数据知识点,真正体系化!**

**由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新**

**[需要这份系统化资料的朋友,可以戳这里获取](https://bbs.csdn.net/topics/618545628)**

[外链图片转存中...(img-IiFpPvkI-1714651519221)]

**既有适合小白学习的零基础资料,也有适合3年以上经验的小伙伴深入学习提升的进阶课程,涵盖了95%以上大数据知识点,真正体系化!**

**由于文件比较多,这里只是将部分目录截图出来,全套包含大厂面经、学习笔记、源码讲义、实战项目、大纲路线、讲解视频,并且后续会持续更新**

**[需要这份系统化资料的朋友,可以戳这里获取](https://bbs.csdn.net/topics/618545628)**

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值