avatar
文章
90
标签
3
分类
0

yinxianwei
使用docker部署superset
发表于2023-12-13
12345678910git clone https://github.com/apache/superset.gitcd supersetdocker compose updocker compose -f docker-compose-non-dev.yml pulldocker compose -f docker-compose-non-dev.yml upopen http://localhost:8088 如何添加superset_config.py文件https://github.com/apache/superset/tree/master/docker#readme 12docker cp superset_config.py superset_app:/app/pythonpathdocker restart superset_app 多语言1234567# /app/pythonpath/superset_config.py# 多语言LANGUAGES = { 'en': {'flag': & ...
使用docker部署Redash
发表于2023-12-13
12git clone https://github.com/getredash/redash.gitcd redash/ 12345# docker-compose.yml同级目录新建文件 .envREDASH_SECRET_KEY=随机字符串REDASH_COOKIE_SECRET=随机字符串GOOGLE_CLIENT_ID=随机字符串 123456789docker-compose up -dyarn --frozen-lockfiledocker-compose run --rm server create_db# 测试数据docker-compose run --rm postgres psql -h postgres -U postgres -c "create database tests"open http://localhost:5001/setup
docker自定义镜像
发表于2023-11-02
环境12MacOS Ventura 13.5.2Docker v4.24.2 基于ubuntu镜像添加自动服务1docker pull ubuntu:20.04 123456789101112131415161718192021222324252627# 运行镜像docker run -it ubuntu:20.04 /bin/bash# 备份源mv /etc/apt/sources.list /etc/apt/sources.list.back# 修改源echo "# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiverse# deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu/ focal main restricted universe multiversedeb http://mirrors.tuna.tsinghua ...
docker安装jellyfin
发表于2023-10-24
1docker pull jellyfin/jellyfin 12345678docker run -d \ -p 8096:8096 \ --name jellyfin \ --volume /volume2/docker/jellyfin/config:/config \ --volume /volume2/docker/jellyfin/cache:/cache \ --mount type=bind,source=/volume2/video,target=/video \ --restart=unless-stopped \ jellyfin/jellyfin open http://localhost:8096/web/index.html
win10开机自动登录
发表于2023-10-19
win10开机自动登录 开始-运行 输入netplwiz 取消勾选「要使用本计算机,用户必须输入用户名和密码」 不显示「要使用本计算机,用户必须输入用户名和密码」的解决办法 开始-运行 输入regedit 找到 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device 双击将2修改为0 重新打开netplwiz就可以了 设置开机启动软件 开始-运行 输入shell:startup打开文件夹 将软件快捷方式放入文件夹内
Mac使用网线远程Windows
发表于2023-07-12
Mac设置共享:来源WiFi端口以太网 使用网线链接Mac和Windows 查看Windows自动获取的ip地址 使用remote desktop远程链接Windows
frp服务
发表于2023-05-12
服务端配置 查看服务器架构 1dpkg --print-architecture 下载 1234# 下载 https://github.com/fatedier/frp/releaseswget https://github.com/fatedier/frp/releases/download/v0.48.0/frp_0.48.0_linux_amd64.tar.gztar -xf frp_0.48.0_linux_amd64.tar.gzcd frp_0.48.0_linux_amd64 配置 1234567891011121314# frps.ini# 文档地址 https://gofrp.org/docs/reference/server-configures/[common]bind_addr = 0.0.0.0bind_port = 7000dashboard_port = 7500dashboard_user = admindashboard_pwd = adminvhost_http_port = 8080vhost_https_port = 4443to ...
邮件服务
发表于2023-04-19
环境 Ubuntu 22.04 server 64bit nginx+php sqlite3 FQDN 怎样使修改的静态主机名永久生效? 12# 更新apt-get update 1234567echo > /etc/hostname mail.example.com# 注释 - update_hostnamevim /etc/cloud/cloud.cfg# 重启reboot 安装nginx123apt-get -y install nginxsystemctl start nginxsystemctl enable nginx 安装certbot12345678apt-get -y install certbotcertbot certonly --manual -d 'yinxianwei.com,*.yinxianwei.com'# 1. 输入邮箱# 2. Y# 3. N# 4. *.example.com# 5. 配置域名解析,TXT _acme-challenge 提示字符串# 6. 配置后等待几分钟回车 设置证书自动更新12cron ...
Odoo10 macOS开发环境配置
发表于2022-06-02
执行 xcode-select --install ,如果已安装请忽略 下载odoo10,执行 git clone https://www.github.com/odoo/odoo --depth 1 --branch 10.0 --single-branch odoo10 速度慢使用镜像: git clone https://gitee.com/mirrors/odoo.git --depth 1 --branch 10.0 --single-branch odoo10 安装Python2 安装pip curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py python get-pip.py 需要在.bash_profile或.zprofile添加export PATH=~/Library/Python/2.7/bin:${PATH} pip镜像使用,执行pip config set global.index-url https://pypi.tuna.tsinghua.edu. ...
linux一些命令
发表于2022-03-08
linux文件权限-rw——- (600) 只有所有者才有读和写的权限-rw-r–r– (644) 只有所有者才有读和写的权限,组群和其他人只有读的权限-rwx—— (700) 只有所有者才有读,写,执行的权限-rwxr-xr-x (755) 只有所有者才有读,写,执行的权限,组群和其他人只有读和执行的权限-rwx–x–x (711) 只有所有者才有读,写,执行的权限,组群和其他人只有执行的权限-rw-rw-rw- (666) 每个人都有读写的权限-rwxrwxrwx (777) 每个人都有读写和执行的权限 Every possible UNIX/Linux file permission: Listed and explained (All 4,096 of them) 修改文件夹权限 chmod 777 /file 修改文件夹下所有文件夹权限 chmod 777 /file/* 修改文件夹下所有文件权限 chmod 777 /file/*.* 修改文件夹下所有文件和子文件权限 chmod -R 777 /file 修改文件夹下所有.js文件权 ...
12…9
avatar
yinxianwei
文章
90
标签
3
分类
0
Follow Me
最新文章
使用docker部署superset2023-12-13
使用docker部署Redash2023-12-13
docker自定义镜像2023-11-02
docker安装jellyfin2023-10-24
win10开机自动登录2023-10-19
标签
BI docker jellyfin docker
归档
  • 十二月 20232
  • 十一月 20231
  • 十月 20232
  • 七月 20231
  • 五月 20231
  • 四月 20231
  • 六月 20221
  • 三月 20224
网站资讯
文章数目 :
90
本站访客数 :
本站总访问量 :
最后更新时间 :
©2020 - 2024 By yinxianwei
框架 Hexo|主题 Butterfly
豫ICP备16018939号-2