标签 玩客云 下的文章

给玩客云挂载硬盘后续

不知道为什么永久挂载不行。我的意思是我照着教程改了没有用

★永久挂载
vim /etc/fstab #用vim打开文件
在最后填入
/dev/sda1(你的硬盘目录) /mydisk(要挂载的目录) ext4 defaulta 0 0
*这一步不要填错了要仔细

所以我直接写了一个文件guaz.sh只有一行就是

mount /dev/sda1 /mnt/sda1

给个权限:

chmod -R 777 /opt/guaz.sh

然后写入/etc/rc.local ,这才可以

armbian系统,开机自启动 - Hekyのblog

给玩客云挂载有文件的硬盘

就是为什么我会小丑就是不知道有文件的硬盘要怎么挂载然后就瞎搞,这次事情充分的说明了Google的重要性

https://askubuntu.com/questions/910078/structure-needs-cleaning-error-cannot-mount-partition

这个是谷歌上查到的解决方法,其实概况一下一共就两个命令

sudo fsck.ext4 -y /dev/sdaX  #“X”替换成编号
sudo e2fsck /dev/sdaX   #同理

手贱把玩客云搞死机了重新刷机

太久没有碰这台机器了,这次是因为在给我的资源库也就是保留地添加bt站的时候,觉得bt站的资源如果不开一个迅雷会员根本下不动,所以想到了pt,就想到了以前拿来当小鸡的玩客云,只不过有一个问题,我在设置硬盘的挂载的时候因为挂不上,手贱直接改了fstab ,然后就杯具了,ssh连不上了,就有了这篇博客

重新刷机

本来想直接刷系统就好,尝试过但是不行,应该要先刷一下旧系统

image-20230728131206633

balenaEtcher

image-20230728150746688

上次给电脑刷ubuntu也是用的他

balenaEtcher_q7qVEG1oUN

image-20230728132813968

现在是刷进去了,然后u盘一插就可以了

请输入图片描述

image-20230728134713220

之前说过的fing用来看ip,然后用finalshell连上就好

image-20230728134242363

给 Armbian换国内源

vi /etc/apt/sources.list
来自Armbian换国内源 - 麦克斯和雪莉的部落阁 (haibara.cn)

清华源官网:https://mirrors.tuna.tsinghua.edu.cn/

中科大源官网:https://mirrors.ustc.edu.cn/

Armbian换国内源

buster版本:

# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-updates main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ buster-backports main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free
# deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates main contrib non-free
修改armbian.list

armbian.list在/etc/apt/sources.list.d/目录

vi /etc/apt/sources.list.d/armbian.list

删掉原有的内容,然后根据自己的Armbian版本(stretch/buster/其他)替换成以下内容:

buster版本:

deb https://mirrors.tuna.tsinghua.edu.cn/armbian buster main buster-utils buster-desktop

如果你是其他版本,请将上面链接中表示版本的stretch/buster等字眼对应替换成你的版本如bullseye等。

改DNS

/etc/resolv.conf 里面改成下面几个中的一个就好

DNSPod(腾讯)DNS: 119.29.29.29
百度DNS: 180.76.76.76
阿里DNS: 223.5.5.5 / 223.6.6.6 
114 DNS: 114.114.114.114
Google DNS: 8.8.8.8

之后就是下软件 transmission、samba、syncthing

在我做完这些操作的时候发现恩山论坛上已经有直刷包了,淦

玩客云-Armbian23.05-直刷包-内核6.1-迅雷玩客云、京东云等各种云设备-恩山无线论坛 - Powered by Discuz! (right.com.cn)

不过我懒得升级,所以就这样吧。

在我准备发的时候,刚好刷完,但是还是出现了问题,我之所以还是勤勤恳恳的先刷旧版就是因为ssh的时候刚连上就断开,我一开始以为是我的问题,后来第二遍刷的时候还是这样,我想到了换一个软件试一试,用了putty,好家伙这个就可以,我现在想明白了,为什么当初那些教程里都是用putty我就在想明明其他的shell软件要比他方便,现在知道了,但是我的时间也无了,哎

image-20230728145215985

很难想象我当时第一次接触玩客云的时候是抱着什么样的热忱才会投入到这么麻烦的工程,这次快是因为我链接什么都保存的好好的,而且还有很多经验,可是当时我并没有,所以以前的我真nb