摘要: 1.写出一维数组初始化的两种方式 int[] arr={1,2,3}; String[] str=new String[2]; str[1]="23"; 2.写出二维数组初始化的两种方式 int[][] arr={{1,2},{3,4}}; String[][] str=new String[2][ 阅读全文
posted @ 2021-06-19 21:00 未来的数据大师 阅读(115) 评论(0) 推荐(0) 编辑
摘要: jdk>jre>jvm jdk=jre+java的开发工具(包括java.exe,javac.exe.javadoc.exe) jre=jvm+java核心类库 阅读全文
posted @ 2021-06-16 23:06 未来的数据大师 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 一、站长网址:http://www.msxindl.com/ 1.Unicode与中文互转 16进制Unicode编码转换、还原 :http://www.msxindl.com/tools/unicode16.asp 2.MD5加密 MD5在线加密 MD5校验 : http://www.msxind 阅读全文
posted @ 2021-06-04 08:52 未来的数据大师 阅读(666) 评论(0) 推荐(0) 编辑
摘要: 1.安装 rpm 包: ➢ 基本语法 rpm -ivh RPM 包全路径名称 2.卸载 rpm 包: ➢ 基本语法 rpm -e RPM 包的名称 ➢ 应用案例 删除 firefox 软件包 rpm -e firefox ➢ 细节讨论 1) 如果其它软件包依赖于您要卸载的软件包,卸载时则会产生错误信 阅读全文
posted @ 2021-06-03 00:46 未来的数据大师 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 安装指令:yum -y install iotop 指定查看aubunt 用户的读写状态:iotop -u aubunt -P -k -t 允许在非交互模式下每隔3秒刷新一次,只刷新6次:iotop -b -n 6 -d 3 阅读全文
posted @ 2021-06-03 00:32 未来的数据大师 阅读(544) 评论(0) 推荐(0) 编辑
摘要: 查看系统网络情况 netstat ➢ 基本语法 netstat [选项] ➢ 选项说明 -an 按一定顺序排列输出 -p 显示哪个进程在调用 应用案例 请查看服务名为 sshd 的服务的信息。 ➢ Netstat –anp | grep sshd ➢ 如果我们希望查看当前系统有哪些端口在监听 net 阅读全文
posted @ 2021-06-03 00:16 未来的数据大师 阅读(339) 评论(0) 推荐(0) 编辑
摘要: CentOS 6 使用service 管理指令: service 服务名 [start | stop | restart | reload | status] 但在 CentOS7.0 后 不再使用 service ,而是 systemctl systemctl [start | stop | re 阅读全文
posted @ 2021-06-02 23:54 未来的数据大师 阅读(49) 评论(0) 推荐(0) 编辑
摘要: 命令:ps -aux ps -aux | more USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.2 191160 4228 ? Ss 22:49 0:01 /usr/lib/systemd/systemd - 阅读全文
posted @ 2021-06-02 23:25 未来的数据大师 阅读(279) 评论(0) 推荐(0) 编辑
摘要: 1.修改主机名:命令:vim /etc/hostname 文件输入:HOSTNAME=hadoop100 想永久修改,应该修改配置文件vim /etc/sysconfig/network输入:NETWORKING=yes #使用网络 HOSTNAME=hadoop100 #设置主机名 2.IP映射命 阅读全文
posted @ 2021-06-02 23:04 未来的数据大师 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 1.查询系统整体磁盘使用情况 df -h [root@hadoop100 aubunt]# df -h 文件系统 容量 已用 可用 已用% 挂载点 /dev/mapper/centos-root 17G 4.6G 13G 27% / devtmpfs 975M 0 975M 0% /dev tmpf 阅读全文
posted @ 2021-06-02 22:30 未来的数据大师 阅读(794) 评论(0) 推荐(0) 编辑