腾讯云服务器重启后文件缺失无法打开

腾讯云服务器重启后文件缺失无法打开,第1张

腾讯服务器重启后文件缺失无法打开解决如下:

1、先从微软下载VisualC++RedistributableforVisualStudio2012Update。

2、卸载没有安装成功的wamp,卸载时可能无法完全卸载安装目录,会遗留下几个文件夹,而且好像无法直接删除,建议是先重启电脑之后把上次wamp安装目录完成。

3、可以打开控制面板的程序和功能,确保vcr安装成功后,再次安装wamp,一般来说没有什么其他问题就可以安装成功了。

ubuntu16.4 gitlab从 12.10.0-ee 一步步升级到14.0.0后无法启动,报错如下

/opt/gitlab/embedded/bin/ruby: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /opt/gitlab/embedded/lib/libruby.so.2.1)

/opt/gitlab/embedded/bin/ruby: /lib64/libc.so.6: version `GLIBC_2.17' not found (required by /opt/gitlab/embedded/lib/libruby.so.2.1)

降版本也无法降.

换成阿里镜像源更新成功ruby后,gitlab能正常启动.

sudo /etc/apt/sources.list

删除里面的内容,更换源

deb http://mirrors.aliyun.com/ubuntu/ xenial main

deb-src http://mirrors.aliyun.com/ubuntu/ xenial main

deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main

deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates main

deb http://mirrors.aliyun.com/ubuntu/ xenial universe

deb-src http://mirrors.aliyun.com/ubuntu/ xenial universe

deb http://mirrors.aliyun.com/ubuntu/ xenial-updates universe

deb-src http://mirrors.aliyun.com/ubuntu/ xenial-updates universe

deb http://mirrors.aliyun.com/ubuntu/ xenial-security main

deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security main

deb http://mirrors.aliyun.com/ubuntu/ xenial-security universe

deb-src http://mirrors.aliyun.com/ubuntu/ xenial-security universe

更新缓存

apt-get clean all

apt-get update

但是gitlib过段时间就不能用,服务器也进不去,腾讯云也不能检测服务器信息

我把gitlab版本降到13.12.15-ee

然后我又把源换回腾讯的

sudo /etc/apt/sources.list

Ubuntu 14.04

deb http://mirrors.cloud.tencent.com/ubuntu trusty main restricted universe multiverse

deb http://mirrors.cloud.tencent.com/ubuntu trusty-updates main restricted universe multiverse

deb http://mirrors.cloud.tencent.com/ubuntu trusty-security main restricted universe multiverse

#deb http://mirrors.cloud.tencent.com/ubuntu trusty-backports main restricted universe multiverse

#deb http://mirrors.cloud.tencent.com/ubuntu trusty-proposed main restricted universe multiverse

deb-src http://mirrors.cloud.tencent.com/ubuntu trusty main restricted universe multiverse

deb-src http://mirrors.cloud.tencent.com/ubuntu trusty-updates main restricted universe multiverse

deb-src http://mirrors.cloud.tencent.com/ubuntu trusty-security main restricted universe multiverse

#deb-src http://mirrors.cloud.tencent.com/ubuntu trusty-backports main restricted universe multiverse

#deb-src http://mirrors.cloud.tencent.com/ubuntu trusty-proposed main restricted universe multiverse

Ubuntu 16.04

deb http://mirrors.cloud.tencent.com/ubuntu/ xenial main restricted universe multiverse

deb http://mirrors.cloud.tencent.com/ubuntu/ xenial-security main restricted universe multiverse

deb http://mirrors.cloud.tencent.com/ubuntu/ xenial-updates main restricted universe multiverse

#deb http://mirrors.cloud.tencent.com/ubuntu/ xenial-proposed main restricted universe multiverse

#deb http://mirrors.cloud.tencent.com/ubuntu/ xenial-backports main restricted universe multiverse

deb-src http://mirrors.cloud.tencent.com/ubuntu/ xenial main restricted universe multiverse

deb-src http://mirrors.cloud.tencent.com/ubuntu/ xenial-security main restricted universe multiverse

deb-src http://mirrors.cloud.tencent.com/ubuntu/ xenial-updates main restricted universe multiverse

#deb-src http://mirrors.cloud.tencent.com/ubuntu/ xenial-proposed main restricted universe multiverse

#deb-src http://mirrors.cloud.tencent.com/ubuntu/ xenial-backports main restricted universe multiverse

若您使用腾讯云服务器,请将源的域名从 mirrors.cloud.tencent.com 改为 mirrors.tencentyun.com,使用内网流量不占用公网流量。

更新缓存

apt-get clean all

apt-get update

后台监控正常,服务器稳定了.


欢迎分享,转载请注明来源:夏雨云

原文地址:https://www.xiayuyun.com/zonghe/49985.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-02-25
下一篇2023-02-25

发表评论

登录后才能评论

评论列表(0条)

    保存