随笔分类 -  linux运维

摘要:1.问题描述:hdfs 的web界面上传文件时报错 :Couldn't upload the file update.log. 1.问题排查 查看浏览器报错 原因 : win10的hosts没有配置ip映射,无法解析域名hadoop 2.解决 : 在win10上配置ip 域名映射 192.168.1 阅读全文
posted @ 2021-08-20 22:40 学而不思则罔! 阅读(3946) 评论(0) 推荐(0) 编辑
摘要:[root@hadoop01 software]# cat myhadoop.sh #!/bin/bash #检查脚本参数个数 if [ $# -lt 1 ] then echo "No Args Input... please input [start|stop]" fi case $1 in " 阅读全文
posted @ 2021-08-20 12:20 学而不思则罔! 阅读(85) 评论(0) 推荐(0) 编辑
摘要:#!/bin/bash #作者:gaocun #脚本说明:将指定文件同步到指定机器中去 #参数说明:指定需要同步的文件(多个文件用空格符分割) #1.检查脚本参数个数 if [ $# -lt 1 ];then echo "脚本参数为0,请重新输入" exit 1 fi #2.指定需要同步的服务器名称 阅读全文
posted @ 2021-08-15 23:45 学而不思则罔! 阅读(65) 评论(0) 推荐(0) 编辑
摘要:1. 下载安装包 下载地址:https://dev.mysql.com/downloads/mysql/5.7.html#downloads 使用wget命令下载 wget http://dev.MySQL.com/get/Downloads/MySQL-5.7/mysql-5.7.11-Linux 阅读全文
posted @ 2020-05-22 16:53 学而不思则罔! 阅读(180) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/sxmny/p/11224842.html 1.Centos7+firewalled 1、开启防火墙 systemctl start firewalld 2、开放指定端口 firewall-cmd --zone=public --add-port=19 阅读全文
posted @ 2020-05-21 17:21 学而不思则罔! 阅读(272) 评论(0) 推荐(0) 编辑
摘要:https://www.jianshu.com/p/0f9b72d691c2 https://www.cnblogs.com/276815076/p/10449354.html https://note.youdao.com/web/#/file/recent/note/7E4D82F672AF43 阅读全文
posted @ 2020-05-21 09:42 学而不思则罔! 阅读(173) 评论(0) 推荐(0) 编辑
摘要:1.安装jdk 1.1上传压缩包(jdk-8u161-linux-x64.tar.gz)并解压 tar -xvf jdk-8u161-linux-x64.tar.gz 2.编辑/etc/profile,添加java环境变量 1.执行: vi /etc/profile 2.在尾部添加 #java en 阅读全文
posted @ 2020-05-21 07:00 学而不思则罔! 阅读(172) 评论(0) 推荐(0) 编辑
摘要:有些人安装的linux的系统默认防火墙不是iptables,而是firewall,那就得使用以下方式关闭防火墙了。1.>>>关闭防火墙systemctl stop firewalld.service #停止firewallsystemctl disable firewalld.service #禁止 阅读全文
posted @ 2020-05-20 16:48 学而不思则罔! 阅读(95) 评论(0) 推荐(0) 编辑
摘要:1.固定ip (centos7) 1.1 修改网络配置文件 vi /etc/sysconfig/network-scripts/ifcfg-ens33 #需要修改下面内容BOOTPROTO="static" #修改ONBOOT="yes" #修改IPADDR="192.168.8.101"GATEW 阅读全文
posted @ 2020-05-20 16:42 学而不思则罔! 阅读(129) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示