跳转到帖子
  • 篇帖子

    35
  • 篇意见

    5
  • 次查看

    9541

在此博客的帖子

解决方案: 修改本地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/
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
报错如图显示:   问题解决: 修改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
只需要在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
网易: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
在 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
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