自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(11)
  • 收藏
  • 关注

原创 Linux NFS文件同步

1.安装包# 服务端$ yum install -y nfs-utils rpcbind# 客户端$ yum install -y nfs-utils2.配置服务端vim /etc/exports添加:/etc/security/keytabs 192.168.90.87(rw)表示允许87机器挂载如果设置/etc/security/keytabs *(rw)表示运行所有的电脑挂载3.启动服务端接下来,我们先启动 RPC 服务。$ service rp..

2022-02-15 10:58:03 1257

原创 juypter中使用pyspark操作集群与本地数据

集群客户端的安装过程以华为的FusionInsight为列:1.在juypter上安装集群的客户端,这一步可以看之前的文章,里面有华为fusionInsight集群客户端安装_sansan_ge的博客-CSDN博客华为fusionInsight集群客户端安装https://blog.csdn.net/sansan_ge/article/details/122195514?spm=1001.2014.3001.55012.打开juypter的终端,source 集群的环境变量,我安装在/opt/cli

2022-01-18 14:05:44 1658

原创 docker logs xxxx:su: failed to execute /bin/bash: Resource temporarily unavailable

原因:docker宿主机的用户进程数不足1.vi /etc/security/limits.conf* soft nproc 65535root soft nproc unlimited结果无效2.vi /etc/security/limits.d/20-nproc.conf* soft nproc 65535root soft nproc unlimited* hard nofile 65536上面第一行*其实已经把root给加进去了,但是不知道为什么没生效,后面新加了

2022-01-11 10:59:41 966

原创 docker 开启2375端口

$: vi /etc/systemd/system/docker.service新增:ExecStart=/usr/bin/dockerd -H tcp://0.0.0.0:2375 -H unix://var/run/docker.sock或者可以直接使用下列配置:[Unit]Description=Docker Application Container EngineDocumentation=https://docs.docker.comAfter=network-online.ta.

2022-01-11 10:47:48 549

原创 python 使用pymysql包连接mysql数据库

#coding=utf-8import osimport pymysqllogger =Log(logger="Mysql")class MYSQL: # 初始化函数,初始化连接列表 def __init__(self): #配置文件读取mysql配置 self.host = mysql_ip self.user = mysql_username self.pwd = mysql_password .

2022-01-04 15:08:36 130

原创 linux 磁盘挂载

磁盘挂载 fstab

2021-12-29 10:55:56 320

原创 docker ps 报错Got permission denied while trying to connect to the Docker daemon socket at unix:///var

docker Got permission denied while trying to connect to the Docker daemon socket at unix:///var

2021-12-29 10:48:56 610

原创 linux 快速操作技巧

文件快速替换、快速查找内容、批量解压

2021-12-29 10:43:40 571 1

原创 华为fusionInsight集群客户端安装

华为fusionInsight集群客户端安装

2021-12-28 16:07:47 2763

原创 内网linux环境配置yum源

1.根据系统版本下载对应的镜像包系统版本查看类似:$:cat /etc/redhat-release$:CentOS Linux release 7.6.1810 (Core)2.linux挂载系统镜像$:mkdir -p /data/centos$:mount -o loop CentOS-7.6.1810.iso /data/centos3.启动httpd服务,便于其他机器共享yum源$:sudo systemctl starthttpd (如果无法启动,检查vi ...

2021-12-28 15:48:32 1838

原创 python连接带kerberos认证的kafka

python连接带kerberos认证的kafka

2021-12-28 15:29:57 2217

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除