智能运维
-
shells/hive.sh
1 #!/bin/bash 2 function hive_stop(){ 3 pid=$(ps ax | grep "hive") 4 kill $pid || echo "hive服务关闭" 5 } 6 case $1 in 7 "start"){ 8 echo "__________启动hive__________" 9 /opt/module/hive/bin/hive …
-
shells/kafka.sh
1 #!/bin/sh 2 comm=/opt/module/kafka/bin/kafka-server-start.sh 3 commd=/opt/module/kafka/bin/kafka-server-stop.sh 4 topic=/opt/module/kafka/bin/kafka-topics.sh 5 producer=/opt/module/kafka/bin/ka…
-
shells/hiveserver2.sh
1 #!/bin/bash 2 function hiveserver2_stop(){ 3 pid=$(ps ax | grep "hiveserver2") 4 kill $pid || echo "hiveserver2服务已关闭" 5 } 6 case $1 in 7 "start"){ 8 echo "________________hiveServer2 服务 开…
-
Windows emacs搭建lisp slime 报错error
解决方法: 在c 盘下创建一个 tmp 文件夹. 在 .emasc文件中添加一行: (setq temporary-file-directory "C:/tmp") 保存文件. 重新打开 Emacs 快捷键 alt + x 键入 slime …
-
Ubuntu设置截图快捷键
1.进入设置-设备-键盘-键盘快捷键,然后拉到底,可以看到一个+号,如下图: 2. 点击+号,在相应位置输入如下指令: 3. 这个就可以使用Ctrl + Alt + A键进行选区截取图片。
-
Ubuntu安装RabbitMQ及部署集群
由于为了学习RabbitMQ的使用,我在我服务器上安装了RabbitMQ.目前服务器配置如下: { vCPU: 2核, RAM : 3GB, ROM : 50G, 磁盘节点: 192.168.2.25 内存节点: 192.168.2.26,192.168.2.28 HAProxy: 192.168.2.27 } 更多…
-
Centos7.6 安装 .NET6.0
开始安装 安装MySQL https://blog.csdn.net/qq_37525851/article/details/122332850 1.使用wget指令下载YUM Repositry并安装以找到合适的YUM Server wget -i -c http://dev.mysql.com/get/mysql57-community-…
-
csapp - shell lab记录
不得不说,CMU的15213课程比SEU的计组和操作系统课强太多了(不过SEU的课也给我打下了一些基础,还是有用的)。布置的所有实验都有详细友好的指导手册,会提供程序的框架,不需要从零构建程序,让学生更专注于课程…
-
java: 特定路径的jar文件自动添加到环境变量CLASSPATH中(linuxos-shell脚本)
java: 特定路径的jar文件自动添加到环境变量CLASSPATH中(linuxos-shell脚本) #!/usr/bin/bash # 脚本名称: load-java-jar # # # 脚本功能: 将特定路径下的所有的xx.jar包,添加到环境变量"CLASSP…
-
-- 2linux基础命令学习
2.1.1linux概述linux和unix的最大区别就是,linux开放源代码的自由软件,unix则是对源代码实行知识产权保护的传统商业软件unix系统大多数和硬件配套,而且本身是收费的商业软件linux可以在多种硬件平台上运行,并且…