阅读更多关于Linux下解决访问github慢的问题 默认类别 Linux下解决访问github慢的问题 解决方案: 修改本地host文件,增加配置内容,绕过域名解析,达到加速的目的。 输入以下命令修改host文件: sudo vim /etc/hosts 在127.0.0.1 localhost下面添加: 199.232.69.194 github.global.ssl.fastly.net 140.82.113.3 github.com 185.199.108.154 github.githubassets.com 重启 systemd-resolved 服务,刷新DNS: sudo systemctl restart systemd-resolved 命令执行报错,请搜索自己版本的系统相应的刷新DNS命令。 特别说明(一定要看!!!): Github的IP地址是不断变化的,如果发现网站打不开了,可以获取新的IP地址修改hosts里面的内容,方式如下: 在网站https://ip.tool.chinaz.com/ 0 篇意见 240 次查看 剑弗在 默认类别 2023年10月27日1年前
阅读更多关于Discourse Nginx反代配置文件示例(cxcblog.com) 默认类别 Discourse Nginx反代配置文件示例(cxcblog.com) Nginx配置文件 server { listen 80; listen [::]:80; server_name www.cxcblog.com ; index index.html index.htm index.php default.html default.htm default.php; root /home/wwwroot/www.cxcblog.com; location ^~ / { proxy_pass http://0.0.0.0:1080; proxy_set_header Host $host; } include rewrite/none.conf; #error_page 404 /404.html; # Deny access to PHP files in specific directory 0 篇意见 240 次查看 剑弗在 默认类别 2023年10月17日1年前
阅读更多关于Docker镜像源站最新 默认类别 Docker镜像源站最新 DockerHub 镜像仓库 镜像加地址 bestcfipas镜像服务 https://docker.registry.cyou https://docker-cf.registry.cyou zero_free镜像服务 https://docker.jsdelivr.fyi https://dockercf.jsdelivr.fyi https://dockertest.jsdelivr.fyi docker proxy https://dockerpull.com (已测试OK) 1 篇意见 197 次查看 剑弗在 默认类别 2024年7月10日1年前
阅读更多关于Discourse安装的时候报错: Gem::RemoteFetcher::FetchError... Discourse Discourse安装的时候报错: Gem::RemoteFetcher::FetchError... 报错如图显示: 问题解决: 修改app.yml文件,新增一条配置代码引入国内镜像源配置文件 - "templates/web.china.template.yml" 如果出现github.com报错的话需要设置一下代理 vim /etc/profile # 添加自己实际情况,添加以下内容 export https_proxy=http://user:passwd@IP:58963 export all_proxy=socks5://IP:38476 # 执行生效 source /etc/profile 配置socks5代理 git config --global http.proxy socks5 127.0.0.1:7890 git config --global https.proxy socks5 127.0.0.1:7890 配置http代理 git config --global http.proxy 127.0.0.1:7890 git config --glob 1 篇意见 195 次查看 剑弗在 Discourse 2024年7月11日1年前
阅读更多关于IPS5.0修改头衔报错EX1054(IC5.0/invisioncommunity5.0) 默认类别 IPS5.0修改头衔报错EX1054(IC5.0/invisioncommunity5.0) 只需要在core_member_ranks 数据表中添加缺失的字段即可 ALTER TABLE core_member_ranks ADD rank_icon VARCHAR(255) DEFAULT NULL; ALTER TABLE core_member_ranks ADD rank_shape VARCHAR(255) DEFAULT 'circle', ALTER TABLE core_member_ranks ADD rank_sides INT DEFAULT 5, ALTER TABLE core_member_ranks ADD rank_rotation INT DEFAULT 0; ALTER TABLE core_member_ranks ADD COLUMN rank_background VARCHAR(7) DEFAULT NULL; ALTER TABLE core_member_ranks ADD COLUMN rank_border VARCHAR(7) DEFAULT NULL; ALTER TABLE core_member_rank 0 篇意见 149 次查看 剑弗在 默认类别 2024年10月23日10月23日
阅读更多关于Git bash Unknown SSL protocol error in connection to github.com:443 默认类别 Git bash Unknown SSL protocol error in connection to github.com:443 git config --global http.sslVerify false git config --global --unset http.https://github.com.proxy 0 篇意见 132 次查看 剑弗在 默认类别 2023年10月24日1年前
阅读更多关于Docker镜像源站 默认类别 Docker镜像源站 网易:http://hub-mirror.c.163.com 中科大镜像地址:http://mirrors.ustc.edu.cn/ 中科大github地址:https://github.com/ustclug/mirrorrequest Azure中国镜像地址:http://mirror.azure.cn/ Azure中国github地址:https://github.com/Azure/container-service-for-azure-china DockerHub镜像仓库: https://hub.docker.com/ 阿里云镜像仓库: https://cr.console.aliyun.com google镜像仓库: https://console.cloud.google.com/gcr/images/google-containers/GLOBAL (如果你本地可以翻墙的话是可以连上去的 ) coreos镜像仓库: https://quay.io/repository/ RedHat镜像仓库: https://access.redhat.com/contain 0 篇意见 122 次查看 剑弗在 默认类别 2023年10月23日1年前
阅读更多关于IPS 如何去掉域名后缀的index.php 默认类别 IPS 如何去掉域名后缀的index.php 在 Invision Community (以前称为 IP.Board) 中,你可以通过修改 伪静态文件或者是进入后台修改SEO设置。以下是具体步骤: 确保 mod_rewrite 已启用: 确保你的服务器启用了 Apache 的 mod_rewrite 模块。这通常可以通过服务器的配置文件或通过联系你的托管提供商来完成。 找到并编辑 .htaccess 文件: 在你的 Invision Community 安装目录中,应该有一个 .htaccess 文件。如果没有,可以创建一个。 添加或修改规则: 在 .htaccess 文件中,添加以下规则: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^index\.php/(.*)$ /$1 [L,R 0 篇意见 115 次查看 剑弗在 默认类别 2024年8月4日1年前
阅读更多关于Linux解压/压缩命令集合 默认类别 Linux解压/压缩命令集合 linux常用的解压和压缩命令如下: 1、.tar 解包: tar xvf FileName.tar 打包:tar cvf FileName.tar DirName (注:tar是打包,不是压缩!) 2、.gz 解压1: gunzip FileName.gz 解压2:gzip -d FileName.gz 压缩: gzip FileName 3、.tar.gz 和 .tgz 解压: tar zxvf FileName.tar.gz 压缩:tar zcvf FileName.tar.gz DirName 4、.bz2 解压1: bzip2 -d FileName.bz2 解压2: bunzip2 FileName.bz2 压缩: bzip2 -z FileName 5、.tar.bz2 解压: tar jxvf FileName.tar.bz2 压缩: tar jcvf FileName.tar.bz2 DirName 0 篇意见 107 次查看 剑弗在 默认类别 2023年10月18日1年前
阅读更多关于乾坤堂二级路径重定向 默认类别 乾坤堂二级路径重定向 在Nginx配置文件中增加一条: rewrite ^/bbs(.*) $1 permanent; 0 篇意见 98 次查看 剑弗在 默认类别 2024年8月27日1年前