1.设置CentOS的字符集为AMERICAN_AMERICA.AL32UTF8 查看CentOS中客户端的语言编码设置 配置文件中的配置: cat ~/.bash_profile 注意修改配置信息: export PATHexport ORACLE_HOME=/usr/lib/oracle/11. ...
分类:
数据库 时间:
2019-12-23 00:13:10
阅读次数:
144
一.ITerm2简介 1.安装 iTerm2 是一款完全免费的,专为 Mac OS 用户打造的命令行应用。直接在官网上http://iterm2.com/ 下载并安装即可。 2.配置 设置ITerm为默认终端 二.安装 oh-my-zsh 1.查看系统有几个shell cat /etc/shells ...
分类:
系统相关 时间:
2019-12-23 00:09:35
阅读次数:
157
Shell脚本一键部署MongoDB基本实施思路:安装MongoDB→创建多实例(创建数量可根据需求自定义)→开启所有实例并展示端口#!/bin/bash#自动安装MongoDB##检查MongoDB是否已安装local="/etc/yum.repos.d/MongoDB.repo"rpm-qmongodb-org&>/dev/nullif[$?-ne0];then#配置本地YUM源
分类:
数据库 时间:
2019-12-22 22:50:42
阅读次数:
202
Spark on K8S源码解析sparkk8stime: 2019-12-19Spark on k8s源码解析1. Spark Submitspark-submit.shspark-class.shSparkSubmit第一步,初始化spark应用配置第二步,执行spark应用 Spark on ... ...
分类:
其他好文 时间:
2019-12-22 21:43:57
阅读次数:
113
2.全网备份2.1.全网备份的作用此项目可以将web服务器与存储服务器的数据,以编写脚本的方式将数据文件和目录统一备份到备份服务器,然后以法邮件的方式提醒用户2.2.全网备份部署过程2.2.1.服务端部署#!/bin/bash#01:验证备份数据完整性find/backup/-typef-name"finger.txt"|xargsmd5sum-c>/tmp/check_finger.txt
分类:
其他好文 时间:
2019-12-22 21:40:21
阅读次数:
109
****打开 vim /etc/profile vim /etc/profile 追加配置 # /etc/profile: system-wide .profile file for the Bourne shell (sh(1))# and Bourne compatible shells (ba ...
分类:
系统相关 时间:
2019-12-22 18:48:13
阅读次数:
155
1、部署GitLab [root@ci-node03 ~]# wget https://mirrors.tuna.tsinghua.edu.cn/gitlab-ce/yum/el7/gitlab-ce-12.0.3-ce.0.el7.x86_64.rpm [root@ci-node03 ~]# yu ...
分类:
系统相关 时间:
2019-12-22 18:18:46
阅读次数:
82
设置淘宝镜像 (这一步可以省略) npm config set registry https://registry.npm.taobao.org global npm config set disturl https://npm.taobao.org/dist global1 然后安装完 yarn ...
分类:
其他好文 时间:
2019-12-22 18:10:27
阅读次数:
104
scrapy框架(三) CrawlSpider类 创建CrawlSpider # 创建项目后 $ scrapy genspider -t crawl spider_name website_domain ? url 就是你想要爬取的网址 注意:分析本地文件是一定要带上路径,scrapy shell默 ...
分类:
其他好文 时间:
2019-12-22 18:04:35
阅读次数:
74
今天使用npm安装插件时出现了以下错误: 经查,原因:现用执行策略是 Restricted(默认设置) 解决办法: 1.win+X键,使用管理员身份运行power shell 2.输入命令:set-executionpolicy remotesigned 3.输入”Y“,回车,问题解决。 ...
分类:
Web程序 时间:
2019-12-22 17:58:53
阅读次数:
1600