随笔分类 -  Linux

摘要:报错/usr/lib/gcc/x86_64-redhat-linux/4.8.5/include/limits.h:168:61: fatal error: No such file or directory 缺少编译的请求头 yum install -y glibc-headers yum ins 阅读全文
posted @ 2024-03-28 16:57 阅读(139) 评论(0) 推荐(0) 编辑
摘要:vi /etc/network/interfaces auto eth0 iface eth0 inet static address 192.168.31.4 netmask 255.255.255.0 gateway 192.168.31.2 dns-nameservers 192.168.31 阅读全文
posted @ 2023-10-10 16:36 阅读(242) 评论(0) 推荐(0) 编辑
摘要:#!/bin/bash #fonts color yellow(){ echo -e "\033[33m\033[01m$1\033[0m" } green(){ echo -e "\033[32m\033[01m$1\033[0m" } red(){ echo -e "\033[31m\033[0 阅读全文
posted @ 2023-07-26 16:46 阅读(955) 评论(0) 推荐(1) 编辑
摘要:#!/bin/bash# 保存备份个数,备份31天数据number=31# 备份根目录backup_root_dir=/home/mysql/backup/data# 日期dd=`date +%Y-%m-%d-%H-%M-%S`# 备份工具tool=mysqldump# 用户名username=ro 阅读全文
posted @ 2022-11-10 09:49 阅读(67) 评论(0) 推荐(0) 编辑
摘要:docker run -d \ --name elasticsearch \ -p 9200:9200 \ -p 9300:9300 \ -e "discovery.type=single-node" \ -e ES_JAVA_OPTS="-Xms64m -Xmx128m" \ -v /home/e 阅读全文
posted @ 2022-02-21 14:25 阅读(724) 评论(0) 推荐(0) 编辑
摘要:https://www.cnblogs.com/yufeng218/p/13688582.html https://blog.csdn.net/xch_yang/article/details/104019552 阅读全文
posted @ 2022-02-18 17:09 阅读(36) 评论(0) 推荐(0) 编辑
摘要:训练模型 nsfw_data_scraper训练 NSFW:不适合在工作场合出现的内容(英语:Not Safe/Suitable For Work,缩写:NSFW)是一个网络用语,多指裸露、暴力、色情或冒犯等不适宜公众场合的内容。在给出含有上述内容的超链接旁标注 NSFW,用于警告观看者。 在 ns 阅读全文
posted @ 2022-02-11 15:20 阅读(3600) 评论(0) 推荐(0) 编辑
摘要:Nginx安装及依赖 pcre wget https://sourceforge.net/projects/pcre/files/pcre/8.44/pcre-8.44.tar.gz tar -zxvf pcre-8.44.tar.gz cd pcre-8.44 ./configure make s 阅读全文
posted @ 2022-01-14 15:23 阅读(2638) 评论(1) 推荐(1) 编辑
摘要:https://www.ghostscript.com/releases/gsdnld.html 源码地址:https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs9550/ghostscript-9.55. 阅读全文
posted @ 2022-01-13 11:48 阅读(73) 评论(0) 推荐(0) 编辑
摘要:依赖 安装centos系统依赖 yum install -y automake autoconf libtool gcc gcc-c++ yum install -y libpng-devel libjpeg-devel libtiff-devel 安装leptonica github: https 阅读全文
posted @ 2022-01-13 10:32 阅读(420) 评论(0) 推荐(0) 编辑
摘要:先决条件 Intel SGX开发环境搭建需要几个先决条件: 至少6th系列CPU,最好是8th系列CPU,以支持Intel增添的安全相关的FLC指令,更好地兼容ECDSA类型的RA服务在BIOS中将SGX服务设为【enabled】如果是8th的CPU,需要在BIOS中启动FLC。注意,有FLC和无F 阅读全文
posted @ 2021-03-04 16:30 阅读(1899) 评论(3) 推荐(1) 编辑
摘要:编译sgx sdk和psw时提示ocamlbuild not found。 遂查,需要安装opam 安装OCaml 先去下载一个opam二进制版本,比如 opam-1.2.2-x86_64-Linux 下载opam 重命名为opam,放到 /usr/bin/目录下,并给予可执行权限 chmod +x 阅读全文
posted @ 2021-03-03 10:50 阅读(578) 评论(0) 推荐(0) 编辑
摘要:Introduction Intel(R) Software Guard Extensions (Intel(R) SGX) is an Intel technology for application developers seeking to protect select code and da 阅读全文
posted @ 2021-03-03 10:06 阅读(1005) 评论(0) 推荐(0) 编辑
摘要:Java接口忽然报错,错误信息是Out of sort memory, consider increasing server sort buffer size。 字面意思就是 sort内存溢出,考虑增加服务器的排序缓冲区(sort_buffer_size)大小。 [root@localhost ~] 阅读全文
posted @ 2020-11-25 09:39 阅读(5589) 评论(0) 推荐(0) 编辑
摘要:wall wall 命令(意为 write all )允许你向所有在系统已登录的用户发送信息。 任何用户都可以使用 wall 命令,但 wall 命令通常是系统管理员用来向用户发送公告通知的(比如服务器将关闭维护)。 一个系统管理员可能会发送如下信息: $ wall The system will 阅读全文
posted @ 2020-09-10 10:18 阅读(212) 评论(0) 推荐(0) 编辑
摘要:vhost down 掉会导致vhost不可用,使得无法通过这个vhost广播消息解决方案:删除该vhost,然后重建 rabbitmqctl delete_vhost next rabbitmqctl add_vhost / rabbitmqctl set_permissions -p / adm 阅读全文
posted @ 2020-04-22 17:11 阅读(4539) 评论(0) 推荐(0) 编辑
摘要:1、默认官方的centos镜像不支持中文,比如touch一个包含中文名字的文件,文件名会显示???.doc2、libreoffice 安装及测试我的Dockerfile文件内容如下: FROM centos # 镜像源,这里使用的是centos MAINTAINER "shilin@datahori 阅读全文
posted @ 2020-03-13 14:43 阅读(2432) 评论(0) 推荐(0) 编辑
摘要:参考链接:https://qtdebug.com/mac-centos7-libreoffice/ https://blog.csdn.net/diyiday/article/details/79852923 https://www.jianshu.com/p/90dbf66c424a 下载: 访问 阅读全文
posted @ 2020-03-09 13:02 阅读(3154) 评论(0) 推荐(0) 编辑
摘要:1.下载Tomee http://tomee.apache.org/downloads.html 下载上传服务器 或者右击复制url 服务器执行 wget https://repo.maven.apache.org/maven2/org/apache/tomee/apache-tomee/7.0.2 阅读全文
posted @ 2020-03-09 11:56 阅读(449) 评论(0) 推荐(0) 编辑
摘要:1.构建--》增加构建步骤--》执行shell 2.编写shell脚本 #进入代码文件夹 #test为jenkins建立任务的名称 cd test #进入moudle1包中 cd moudle1 #maven打包,发布artifactory仓库 mvn clean deploy tomee:run 阅读全文
posted @ 2020-03-09 11:41 阅读(324) 评论(0) 推荐(0) 编辑

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