首次开通机器如果没网先进入VNC安装sudo
如果开通后ipv6 ping不通,进VNC先安装sudo
顺带debian/ubuntu/centos系统一起复习一遍
Debian/Ubuntu系统执行:
apt-get install sudo
Centos系统执行:
yum install sudo
Alpine系统执行:
apk add sudo
Alpine 系统首次使用进入服务器VNC控制台需要手动安装SSH
分别依次执行:
apk update && apk add openssh-server && rc-update add sshd
echo "PermitRootLogin yes">>/etc/ssh/sshd_config
service sshd start
如果你买到的LXC小鸡内存支持安装debian/ubuntu/centos的话虚拟化镜像但是模板不支持SSH登录的解决方法
进入VNC服务控制台登录成功后执行:
Debian/Ubuntu系统执行:
sudo bash -c 'echo "PermitRootLogin yes" >> /etc/ssh/sshd_config'
Centos系统执行:
echo "PermitRootLogin yes" >>/etc/ssh/sshd_config
改写过配置文件后,重启sshd服务
systemctl restart sshd
由于纯ipv6小机没有ipv4,所以warp就相当于给小机搭建一个桥梁访问v4
以下是主机商提供的脚本
纯ipv6云服务器添加warp双栈脚本推荐,同样适合于debian/ubuntu/centos顺带一起学习了(项目地址:https://github.com/fscarmen/warp)
先安装基本环境
Debian/Ubuntu 系统安装方法:
apt-get update -y && apt-get install curl -y
Centos 系统安装方法:
yum update -y && yum install curl -y
Alpine 系统安装方法:
apk add wget
apk add bash
apk add sudo
运行脚本
wget -N https://raw.githubusercontent.com/fscarmen/warp/main/menu.sh && bash menu.sh [option] [lisence]
下次要再次运行执行下面代码
warp [option] [lisence]
alpine系统升级教程
检查当前安装的 Alpine Linux 版本:
cat /etc/alpine-release
更新可用软件包列表并将已安装的软件包升级到最新的可用版本 Apk 命令 逐个:
sudo apk update
sudo apk upgrade
或者,您可以将两个命令合并为一个,如下所示:
sudo apk -U upgrade
给alpine安装一些我自己常用的组件
apk add nano screen
来源:主机测评网









Comments 19 条评论
Greetings! Very useful advice in this particular article! It’s the little changes that produce the most significant changes. Many thanks for sharing!
Ahaa, its fastidious conversation regarding this post at this place at this webpage, I have read all that, so now me also commenting at this place.
I am sure this post has touched all the internet people, its really really pleasant article on building up new blog.
Amazing! This blog looks just like my old one! It’s on a totally different topic but it has pretty much the same layout and design. Outstanding choice of colors!
This iss a topic that is close too mmy heart… Thznk you! Exactky whjere aree yor contgact details though?
There’s a secret about your post. ICHBTTIYTKY
Ahaa, its nice conversation about this article at this place at this web site, I have read all that, so at this time me also commenting here.
阅读你的博客, 我感受到, 世界很美。万分感谢 美好的心情。 [url=https://iqvel.com/zh-Hans/a/%E5%A4%A7%E4%B8%8D%E5%88%97%E9%A2%A0/%E8%8D%B7%E9%87%8C%E8%B7%AF%E5%BE%B7%E5%AE%AE]聖十字修道院遺跡[/url] 很难找到, 如此温暖又有信息量的博客。非常酷。
I visited multiple web sites except the audio feature for audio songs present at this web site is truly wonderful.
You got a very great website, Gladiolus I noticed it through yahoo.
I needed to thank you for this great read!! I certainly enjoyed every bit of it. I have got you book marked to look at new things you
Hola! I’ve been following your site for a while now and finally got the courage to go ahead and give you a shout out from New Caney Tx! Just wanted to say keep up the good work!
I will immediately grab your rss as I can’t to find your email subscription link or newsletter service. Do you have any? Please let me realize so that I may subscribe. Thanks.
I really like it when people get together and share opinions. Great site, continue the good work!
Greetings! Very useful advice within this post! It’s the little changes which will make the most significant changes. Thanks for sharing!
I am sure this article has touched all the internet people, its really really nice piece of writing on building up new weblog.
I visitted many weeb sites exept tthe audioo fwature ffor audsio sonmgs present aat thi webb site iss genuinely fabulous.
Ahaa, iits pleasant converfsation abot this article aat this plae at thbis website, I hawve read alll that, sso noow mme alsso commenting here.
I enjoy what you guys tend to be up too. This type of clever work and coverage! Keep up the superb works guys I’ve added you guys to my personal blogroll.