logo NodeSeekbeta

史上最强,支持 Debian 12 raid 0 Ubuntu 24.04(测试中);512MB 内存安装 AlmaLinux/RockyLinux;CentOS 9 Fedora 39 AlpineLinux Kali Linux Windows 重装程序功能更新、bug反馈贴(长期更新)

  • @leitbogioro #219

    Hope you enjoy a wonderful day!

    I will be going to sleep in an hour or two. There is no rush.

    Have fun! As always, thank you for your work on the script!

  • @Not-Oles #221 Good night.

  • 好帖绑定

  • @Not-Oles #221 Sir, I tried to connect to your server, but it reminded me to input password, I didn't know why, the details had been sent to your email.

  • @leitbogioro #224

    Good afternoon!

    Responded by email to your most recent email.

    it reminded me to input password, I didn't know why

    Since it is the Hetzner default installation, it asks for passwords. From /etc/ssh/sshd_config:

    # To disable tunneled clear text passwords, change to no here!
    #PasswordAuthentication yes
    

    Your key and my key are in /root/.ssh/authorized_keys. I can get in with my key. I hope you can get in as root@$SERVER_IP with your key.

    Thanks for your hard work, courtesy, and persistence!

    Best!

  • 给力的。非常不错。方便使用。

  • @Not-Oles #225 Sir, I had connected to your server, fixed some bugs, because the former version got a wrong prefix number, here is the bash command and the print screen of shell:

    bash InstallNET.sh -debian 12 -raid "0" -mirror "http://ftp.de.debian.org/debian/"

    # Disabled SELinux
    
    # Check Dependence
    
    [ok]		awk
    [ok]		basename
    [ok]		cat
    [ok]		cpio
    [ok]		curl
    [ok]		cut
    [ok]		dig
    [ok]		dirname
    [ok]		file
    [ok]		find
    [ok]		grep
    [ok]		gzip
    [ok]		iconv
    [ok]		ip
    [ok]		lsblk
    [ok]		openssl
    [ok]		sed
    [ok]		wget
    [ok]		xz
    
    # Network Details
    
    [Adapter Name]  enp0s31f6
    [Network File]  /etc/sysconfig/network-scripts/ifcfg-enp0s31f6
    [Server Stack]  BiStack
    
    [IPv4  Method]  isStatic
    [IPv4 Address]  138.201.xxx.xxx
    [IPv4  Subnet]  255.255.255.255
    [IPv4 Gateway]  138.201.xxx.xxx
    [IPv4     DNS]  1.0.0.1 8.8.4.4
    
    [IPv6  Method]  isStatic
    [IPv6 Address]  2a01:xxx:xxx:xxx:xxx::2
    [IPv6  Subnet]  64
    [IPv6 Gateway]  fe80::1
    [IPv6     DNS]  2606:4700:4700::1001 2001:4860:4860::8844
    
    # User Timezone
    
    Asia/Tokyo
    
    # SSH or RDP Port, Username and Password
    
    22
    root
    LeitboGi0ro
    
    # Installing Disks
    
    /dev/sda /dev/sdb 
    
    # Motherboard Firmware
    
    BIOS
    
    # Check DIST
    
    Success
    
    # Installation Starting
    
    [Debian] [bookworm] [amd64] Downloading...
    [Mirror] http://ftp.de.debian.org/debian/dists/bookworm/main/installer-amd64/current/images/netboot/debian-installer/amd64/initrd.gz
    	 http://ftp.de.debian.org/debian/dists/bookworm/main/installer-amd64/current/images/netboot/debian-installer/amd64/linux
    266797 blocks
    
    [Finish] Input 'reboot' to continue the subsequential installation.
    
  • @Not-Oles #225 setdisk="all" is an aim for that "clearn all disks' parts and data on the server and use first disk to install the system", the purpose of it has a contradiction with "raid", so you should not assign "setdisk" when attempt to assign "raid", the opposite situation is also the same.

  • 支持。

  • @Just纱世里 #211 是的,大部分情况下,ipv4 24 prefix是一个非常典型且合理的值,此时转换为掩码全写格式,就是255.255.255.0,意思就是你的本地计算机,会把ipv4的最后一位,0-255这一整段当做内网通信,除此之外都当做外网通信处理。如果以家庭、小型企业、办公室、餐厅等为单位,这个数量足够容纳在这个场合下所有人的所有设备,能够拥有一个独立内网ipv4的需求。

    因为ipv4当年设计时考虑的不够长远,理论容量就不够“海量”,且规范中被当做内网网段的ip数量过多,所以造成了较大的浪费,加上人口的增长,接入互联网的用户变多,有需要独立公网ip的服务器等需求越来越多。

    所以一般国内宽带运营商为了节省ipv4地址资源的方法,以前是“动态拨号”,就是有一大批ipv4地址库,谁在拨号使用,谁就获得其中某个ipv4地址,如果拨号设备(电脑或路由器)重启或断开,之前被占用的ipv4就会被释放出来,放回那个库里,然后等待被别人拨号使用。这个ipv4地址是公网,通过动态dns解析,你甚至可以用家里的电脑搭建可直接被外网访问的网站、网盘等服务,相当于绕过了工信部有关“中国大陆境内服务器,对外提供互联网服务的个人或主体,必须要经过备案和审查”的机制。

    不过由于ipv4的紧缺、大部分人现在在家里用路由器拨号(不仅是电脑一台上网设备,由于路由器是长时间工作,这样就会导致很多ipv4短期内始终不会被释放出来,包括夜间)以及上述政策原因,使用这种方式的运营商越来越少,几年前还有不少发达地区拨打投诉工信部电话的方式来让运营商给自己宽带分配公网ipv4的案例,现在已经很难拿到了,毕竟根源问题出在资源不足和政策上,不是仅靠投诉就能解决。

    现在用的最广泛的就是NAT技术,就是把同一小区数百甚至上千用户中间,组一个大型的内网,然后这个内网的出口确实是一个独立的公网ip,内网地址和公网ip的不同端口(理论上有0-65535个可用),做一种网络地址映射转换,这样就实现了你家有可能用“小区主ipv4公网地址:7843端口”,同一小区其他邻居可能用“小区主ipv4公网地址:65372端口”来达到连接公网,且能够通过查ip网站获取到自己公网ipv4的目的。

    接着,还要再考虑到你家里(该小区内X号楼X单元X层X号间)还需要用路由器(你自己买的或者是运营商附赠),连接光猫拨号上网,你家里路由器部分也要组成一个典型的局域网,如:192.168.0.1 - 192.168.0.255 ,所以一般来说从你家里电脑访问家庭路由→小区网关→公网ip出网,中间可能需要经过至少2层不同层级的不同局域网。

    部分云服务商为了实现一些同区域内不同实例之间直接按局域网类型传数据,不消耗出网流量,达到提速省流的目的,也会给机器分配一些内网ipv4网段,经过一些路由的转换才能通过某个公网ipv4访问互联网,不过跟以上小区宽带之间的区别是,这些机器拥有的公网ipv4和路由是固定的,不会因重启网络服务或系统后,公网ipv4会发生变化。

    如果你对网络知识很感兴趣,欢迎继续和我交流,我知无不言,cloudcone这种情况,如果你有疑问,我们可以加一下tg,你把机器提供给我,我看看它具体是怎样的一种情况。

你好啊,陌生人!

我的朋友,看起来你是新来的,如果想参与到讨论中,点击下面的按钮!

📈用户数目📈

目前论坛共有72280位seeker

🎉欢迎新用户🎉