十月飞翔 十月飞翔
1年前
docker 启动nginx,指定映射目录,启动后nginx不退出
1.nginx退出问题:需要把/etc/nginx/nginx.conf里的user由nginx改成当前用户root。3.在/usr/share/nginx/html/index.html里保存了网页,有时候是空的,需要自己创建访问页面root@8afd7f43d8f0:/usr/share/nginx/htmlcat<index.html
Easter79 Easter79
2年前
tinyproxy 安装脚本
tinyproxy.confUsertinyproxyGrouptinyproxyPort3067Listen0.0.0.0Timeout600DefaultErrorFile"/usr/local/tinyproxy/share/tinyproxy/default.html"
Stella981 Stella981
2年前
CDH集群手动导入scm库
一、手动导入scm库背景:正常安装clouderascmserver时,安装scm库是通过脚本 /usr/share/cmf/schema/scm\_prepare\_database.sh来自动建库的。/usr/share/cmf/schema/scm_prepare_database.shmy
Wesley13 Wesley13
2年前
ubuntu 将idea快捷方式加入到启动器中()
进入/usr/share/applications新建文件sudogeditidea.desktop内容为:\DesktopEntry\EncodingUTF8Version1.0NameIntelliJIDEAGenericNameJavaIDECommentIntelliJID
Stella981 Stella981
2年前
Deepin标题栏太高的解决办法
Deepin标题栏太高的解决办法如果你是用的默认的白色主题mkdirp~/.local/share/deepin/themes/deepin/light如果你用的黑色主题mkdirp~/.local/share/deepin/themes/deepin/darkcd~/.loc
Wesley13 Wesley13
2年前
MySQL服务器错误代码和消息
服务器错误信息来自下述源文件:·错误消息信息列在share/errmsg.txt文件中。“%d”和“%s”分别代表编号和字符串,显示时,它们将被消息值取代。·错误值列在share/errmsg.txt文件中,用于生成include/mysqld\_error.h和include/mysqld\_ername.hMySQL源文件中
Stella981 Stella981
2年前
K8s常用命令操作
一、kubernetes常用命令 一、kubectl命令补全  1、master安装命令补全,并临时生效yuminstallybashcompletionsource/usr/share/bashcompletion/bash_completion
Wesley13 Wesley13
2年前
2 linux笔记 文件目录管理
2linux笔记文件目录管理2.1Linux文件与目录管理2.1.1绝对路径:路径的写法,由根目录/写起,例如:/usr/share/doc这个目录。2.1.2相对路径:路径的写法,不是由/写起,例如由/usr/share/doc要到/usr/sh
Stella981 Stella981
2年前
Linux下.desktop桌面程序图标编写
Linux图标文件其实就是.desktop后缀的纯文本文件,Linux程序.desktop文件大都放置在/usr/share/applications/目录(所有用户可见)或~/.local/share/applications/目录(仅当前用户可见)中,我们可以打开这两个文件看一看。几乎所有的程序图标文件都在这里。他们都能在应用菜单看的到。 应用菜单↓
十月飞翔 十月飞翔
1年前
docker 启动nginx,指定映射目录,启动后nginx不退出
1.nginx退出问题:需要把/etc/nginx/nginx.conf里的user由nginx改成当前用户root。3.在/usr/share/nginx/html/index.html里保存了网页,有时候是空的,需要自己创建访问页面root@8afd7f43d8f0:/usr/share/nginx/htmlcat<index.html