需要先部署jdk环境 这次通过手工部署的方式, 先上传jdk的tar包 解压到指定目录 vim /etc/profile 修改环境变量添加jdk环境 source /etc/profile 使配置生效 查看jdk版本 搭建Zookeeper集群 先创建节点文件夹 设定机器ip 运行节点1 运行节点2 ...
分类:
其他好文 时间:
2020-04-08 18:46:34
阅读次数:
75
gem install bundlerERROR: Loading command: install (LoadError) cannot load such file -- opensslERROR: While executing gem ... (NoMethodError) undefine ...
分类:
系统相关 时间:
2020-04-08 09:27:53
阅读次数:
169
一、要想使用yum先要指定yum源 /etc/yum.com /etc/yum.repos.d/*repo 一、yum的使用 yum [option] command 包名 option -y: command install :安装 reinstall:重新安装 check-update:检测可升 ...
分类:
其他好文 时间:
2020-04-07 13:04:12
阅读次数:
72
DDR SDRAM接口的示意图: CAC总线表示Command,Address,Control Pin,时序相对简单,单向单周期,通过以下命令约束: create_generated_clock -name DDRCLK \-source [get_pins UPLL0/CLKOUT] \-divi ...
分类:
其他好文 时间:
2020-04-07 13:02:09
阅读次数:
88
安装 参考github的说明 添加GOPATH 创建workspace 创建新文件 运行程序 Liteide中运行程序有两种方式: FR(FileRun)是编译并运行单个文件,可以使用Shift + Alt + R快捷键; BR(BuildAndRun)是编译运行整个项目,可以使用Command + ...
分类:
其他好文 时间:
2020-04-07 12:22:53
阅读次数:
87
我们已经了解了 Nginx 的基本命令和架构原理,下面该到最让人头疼也是最不容易理解的部分了,那就是 nginx.conf 这个配置文件,下面从 Nginx 的指令开始,一步步来讲解 Nginx 的配置。 Nginx 指令 先来看一个典型的 Nginx 配置文件示例。 从上面可以看到,这个配置文件中 ...
分类:
其他好文 时间:
2020-04-07 09:32:00
阅读次数:
63
在 windows 下编写 Shell 脚本,在 Linux 上执行时,报错提示: $'\r':command not found。 因为 windows 下的换行符是 \r\n ,而 Linux 的换行符是 \n。因而在 Linux 下运行 windows 编写的 Shell 脚本,会报如上所示的 ...
分类:
系统相关 时间:
2020-04-07 09:16:41
阅读次数:
81
快捷键名称及标识:ctrl = control = ?, option = ?,command = ? 电源按钮 我们都知道它可以开机、唤醒睡眠,也试过按一下按钮并不会关机。这是为了防止误操作的设计。 实际上,按住1.5秒可进入睡眠、继续长按则会强制关机 还可以设置-屏保-触发角进入睡眠 ...
分类:
系统相关 时间:
2020-04-07 00:30:13
阅读次数:
1360
Command-Shift-Control-4 截取所选屏幕区域到剪贴板 截图快捷键:Command + Shift + 4 全屏截图快捷键:Command + Shift + 3 保存到桌面 .png ...
分类:
系统相关 时间:
2020-04-07 00:09:18
阅读次数:
100
参考以下两种解决: 1.zip While using git-bash, you may need the zip command to zip files. Then you will get error like “command not found“. This is because git ...