标题:WorldStream这家服务器怎么RAID0
作者:xox #uid30085
原帖:https://hostloc.com/thread-1098535-1-1.html
摘要:WorldStream这家服务器怎么RAID0
作者:xox #uid30085
原帖:https://hostloc.com/thread-1098535-1-1.html
摘要:WorldStream这家服务器怎么RAID0
标题:宝塔流量监控波形图,如何加快频率!
作者:winday #uid20352
原帖:https://hostloc.com/thread-1098536-1-1.html
摘要:貌似官方是2秒更新一次波形图,,,能否更改为1秒或0.5秒。 修改哪个文件呢?
如图
作者:winday #uid20352
原帖:https://hostloc.com/thread-1098536-1-1.html
摘要:貌似官方是2秒更新一次波形图,,,能否更改为1秒或0.5秒。 修改哪个文件呢?
如图
标题:收了个hh10t,,不搞PT,不知道搞什么用,发呆
作者:ecs #uid51855
原帖:https://hostloc.com/thread-1098537-1-1.html
摘要:估计装黑群有点意思
RT
作者:ecs #uid51855
原帖:https://hostloc.com/thread-1098537-1-1.html
摘要:估计装黑群有点意思
RT
标题:debain运行脚本报错,把脚本中的命令单独执行就没有问题
作者:nieyuli #uid54904
原帖:https://hostloc.com/thread-1098539-1-1.html
摘要:今天拿一台机器dd了一个debain11,想要用一键脚本设置秘钥登录,因为国内鸡连不上github,几把脚本内容复制下来粘贴到记事本当中上传到小鸡上,并修改后缀名为*.sh
然后运行该脚本总是报错,但是吧脚本内容单独拿出来执行却又没有问题,请问大佬指教一下是什么原因?用的是这个一键脚本:https://github.com/KiritoMiao/SSHKEY_Installer/
以下是脚本内容: #/bin/sh apt-get update -y apt-get install curl -y yum clean all yum make cache yum install curl -y echo '============================ SSH Key Installer V1.0 Alpha Author:Kirito ============================' cd ~ mkdir .ssh cd .ssh curl https://github.com/$1.keys > authorized_keys chmod 700 authorized_keys cd ../ chmod 600 .ssh cd /etc/ssh/ sed -i "/PasswordAuthentication no/c PasswordAuthentication no" sshd_config sed -i "/RSAAuthentication no/c RSAAuthentication yes" sshd_config sed -i "/PubkeyAuthentication no/c PubkeyAuthentication yes" sshd_config sed -i "/PasswordAuthentication yes/c PasswordAuthentication no" sshd_config sed -i "/RSAAuthentication yes/c RSAAuthentication yes" sshd_config sed -i "/PubkeyAuthentication yes/c PubkeyAuthentication yes" sshd_config service sshd restart service ssh restart systemctl restart sshd systemctl restart ssh cd ~ rm -rf key.sh复制代码
============================
运行报错内容: root@debian:~# bash key.sh E: Command line option ' ' [from -y ] is not understood in combination with the other options. E: Command line option ' ' [from -y ] is not understood in combination with the other options. key.sh: line 4: yum: command not found key.sh: line 5: yum: command not found key.sh: line 6: yum: command not found ============================ SSH Key Installer V1.0 Alpha Author:Kirito ============================ key.sh: line 12: cd: $'~\r': No such file or directory mkdir: cannot create directory ‘.ssh\r’: File exists % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9 100 9 0 0 11 0 --:--:-- --:--:-- --:--:-- 11 key.sh: line 17: cd: $'../\r': No such file or directory chmod: cannot access '.ssh'$'\r': No such file or directory key.sh: line 19: cd: $'/etc/ssh/\r': No such file or directory key.sh: line 20: $'\r': command not found : No such file or directory : No such file or directory : No such file or directory : No such file or directory : No such file or directory : No such file or directory sshd: unrecognized service Usage: /etc/init.d/ssh {start|stop|reload|force-reload|restart|try-restart|status}. Invalid unit name "sshd " escaped as "sshd\x0d" (maybe you should use systemd-escape?). Failed to restart sshd\x0d.service: Unit sshd\x0d.service not found. Invalid unit name "ssh " escaped as "ssh\x0d" (maybe you should use systemd-escape?). Failed to restart ssh\x0d.service: Unit ssh\x0d.service not found. key.sh: line 31: cd: $'~\r': No such file or directory复制代码
虽然自己的目标已经达到,单独复制出脚本内容来执行的,但是运行脚本为什么会报错还不知道原因,请大佬指点一下。感谢。
作者:nieyuli #uid54904
原帖:https://hostloc.com/thread-1098539-1-1.html
摘要:今天拿一台机器dd了一个debain11,想要用一键脚本设置秘钥登录,因为国内鸡连不上github,几把脚本内容复制下来粘贴到记事本当中上传到小鸡上,并修改后缀名为*.sh
然后运行该脚本总是报错,但是吧脚本内容单独拿出来执行却又没有问题,请问大佬指教一下是什么原因?用的是这个一键脚本:https://github.com/KiritoMiao/SSHKEY_Installer/
以下是脚本内容: #/bin/sh apt-get update -y apt-get install curl -y yum clean all yum make cache yum install curl -y echo '============================ SSH Key Installer V1.0 Alpha Author:Kirito ============================' cd ~ mkdir .ssh cd .ssh curl https://github.com/$1.keys > authorized_keys chmod 700 authorized_keys cd ../ chmod 600 .ssh cd /etc/ssh/ sed -i "/PasswordAuthentication no/c PasswordAuthentication no" sshd_config sed -i "/RSAAuthentication no/c RSAAuthentication yes" sshd_config sed -i "/PubkeyAuthentication no/c PubkeyAuthentication yes" sshd_config sed -i "/PasswordAuthentication yes/c PasswordAuthentication no" sshd_config sed -i "/RSAAuthentication yes/c RSAAuthentication yes" sshd_config sed -i "/PubkeyAuthentication yes/c PubkeyAuthentication yes" sshd_config service sshd restart service ssh restart systemctl restart sshd systemctl restart ssh cd ~ rm -rf key.sh复制代码
============================
运行报错内容: root@debian:~# bash key.sh E: Command line option ' ' [from -y ] is not understood in combination with the other options. E: Command line option ' ' [from -y ] is not understood in combination with the other options. key.sh: line 4: yum: command not found key.sh: line 5: yum: command not found key.sh: line 6: yum: command not found ============================ SSH Key Installer V1.0 Alpha Author:Kirito ============================ key.sh: line 12: cd: $'~\r': No such file or directory mkdir: cannot create directory ‘.ssh\r’: File exists % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9 100 9 0 0 11 0 --:--:-- --:--:-- --:--:-- 11 key.sh: line 17: cd: $'../\r': No such file or directory chmod: cannot access '.ssh'$'\r': No such file or directory key.sh: line 19: cd: $'/etc/ssh/\r': No such file or directory key.sh: line 20: $'\r': command not found : No such file or directory : No such file or directory : No such file or directory : No such file or directory : No such file or directory : No such file or directory sshd: unrecognized service Usage: /etc/init.d/ssh {start|stop|reload|force-reload|restart|try-restart|status}. Invalid unit name "sshd " escaped as "sshd\x0d" (maybe you should use systemd-escape?). Failed to restart sshd\x0d.service: Unit sshd\x0d.service not found. Invalid unit name "ssh " escaped as "ssh\x0d" (maybe you should use systemd-escape?). Failed to restart ssh\x0d.service: Unit ssh\x0d.service not found. key.sh: line 31: cd: $'~\r': No such file or directory复制代码
虽然自己的目标已经达到,单独复制出脚本内容来执行的,但是运行脚本为什么会报错还不知道原因,请大佬指点一下。感谢。
标题:之前说我搞美团代运营大家都不信 现在这生意是真的凉了
作者:mubazhe #uid51984
原帖:https://hostloc.com/thread-1098540-1-1.html
摘要:还是八月份发的帖子:https://hostloc.com/thread-1062025-1-1.html
上个月我们被关了起来,因为口罩原因,大家都懂的
我11号有了20条才被大赦出来,在家整整静默了43天
最近几天我去联系了之前的合作商户,发现有三分之一的老板打算关店不干了,问原因就是房租付不起
我们这边有一部分三号就能出门,但是我手里的外卖店因为各种原因没有上线,那些小店的老板也哭诉说是解封之后的客流量没有封控之前的五分之一
每天都在赔钱,12号我把手里一共八十家店整理了一下,能正常上线的只有三十多家,剩下的有二十多家直接说关门不干了,其余的也都在商量着能不能改菜单什么的,真的太难了
目前的话截止到今早九点,八十家店只有25家在正常接单,其他的都有各种各样的问题等着解决
印象最深的是一对小夫妻,卖母鸡汤葱油饼的,家里孩子上一年级,现在孩子上学还需要每天核酸,但是周围的免费核酸点已经撤了,每次核酸7块
他们说这7块是从我这边接5个单子才能挣到
固然我们上线了25家店,但平均单量还是要比封控前低了很多之前平均每家店每天还有三十多单(毕竟是小城市),现在平均只有十来单,店老板压力也大,我现在都不抽水了,老板给什么价我就卖什么价
封控的后遗症还是比较大的,希望这次是真的放开了吧
作者:mubazhe #uid51984
原帖:https://hostloc.com/thread-1098540-1-1.html
摘要:还是八月份发的帖子:https://hostloc.com/thread-1062025-1-1.html
上个月我们被关了起来,因为口罩原因,大家都懂的
我11号有了20条才被大赦出来,在家整整静默了43天
最近几天我去联系了之前的合作商户,发现有三分之一的老板打算关店不干了,问原因就是房租付不起
我们这边有一部分三号就能出门,但是我手里的外卖店因为各种原因没有上线,那些小店的老板也哭诉说是解封之后的客流量没有封控之前的五分之一
每天都在赔钱,12号我把手里一共八十家店整理了一下,能正常上线的只有三十多家,剩下的有二十多家直接说关门不干了,其余的也都在商量着能不能改菜单什么的,真的太难了
目前的话截止到今早九点,八十家店只有25家在正常接单,其他的都有各种各样的问题等着解决
印象最深的是一对小夫妻,卖母鸡汤葱油饼的,家里孩子上一年级,现在孩子上学还需要每天核酸,但是周围的免费核酸点已经撤了,每次核酸7块
他们说这7块是从我这边接5个单子才能挣到
固然我们上线了25家店,但平均单量还是要比封控前低了很多之前平均每家店每天还有三十多单(毕竟是小城市),现在平均只有十来单,店老板压力也大,我现在都不抽水了,老板给什么价我就卖什么价
封控的后遗症还是比较大的,希望这次是真的放开了吧
标题:我也有自己的博客了哈哈哈
作者:hostlocmjj #uid53097
原帖:https://hostloc.com/thread-1098541-1-1.html
摘要:archive.vip
快来ip+1
作者:hostlocmjj #uid53097
原帖:https://hostloc.com/thread-1098541-1-1.html
摘要:archive.vip
快来ip+1
标题:想赚港台地区的钱,用什么收款?PP吗?
作者:笑脸 #uid54729
原帖:https://hostloc.com/thread-1098544-1-1.html
摘要:想做个小站,赚点香港、台湾或者东南亚华人的钱,他们平时用什么什么支付工具多?用pp收款还是用什么收款比较好?求指点。
作者:笑脸 #uid54729
原帖:https://hostloc.com/thread-1098544-1-1.html
摘要:想做个小站,赚点香港、台湾或者东南亚华人的钱,他们平时用什么什么支付工具多?用pp收款还是用什么收款比较好?求指点。
标题:要收费了,咋整???
作者:mjjok #uid52220
原帖:https://hostloc.com/thread-1098543-1-1.html
摘要:现在捅喉咙开始收费了,6元/人。
去医院单独做的更贵。
48小时的,今天又黄码了,赶紧去做了一下。问了一下为什么黄了,核酸员说,这是高风险地区,你几天没做了。。黄了。再过几天你可能变红了。
才48小时就黄了,不算几天吧,他们说不知道为什么。
不过,要开始收费了。我打算呆在家不出去了。
但学校需要家长每天24小时绿码上传,卧槽。。。。
就算一家三口,那也得每天出18元。。。
这咋整?
作者:mjjok #uid52220
原帖:https://hostloc.com/thread-1098543-1-1.html
摘要:现在捅喉咙开始收费了,6元/人。
去医院单独做的更贵。
48小时的,今天又黄码了,赶紧去做了一下。问了一下为什么黄了,核酸员说,这是高风险地区,你几天没做了。。黄了。再过几天你可能变红了。
才48小时就黄了,不算几天吧,他们说不知道为什么。
不过,要开始收费了。我打算呆在家不出去了。
但学校需要家长每天24小时绿码上传,卧槽。。。。
就算一家三口,那也得每天出18元。。。
这咋整?
标题:土区有图比家庭会员提示这个怎么弄?
作者:jd59 #uid44174
原帖:https://hostloc.com/thread-1098542-1-1.html
摘要:无法加入家人群组
您似乎与邀请您的人不在同一个国家/地区
作者:jd59 #uid44174
原帖:https://hostloc.com/thread-1098542-1-1.html
摘要:无法加入家人群组
您似乎与邀请您的人不在同一个国家/地区
标题:国内杜甫 PVE 需要安装 bbr 吗?
作者:meta #uid56396
原帖:https://hostloc.com/thread-1098548-1-1.html
摘要:现在是:TCP CC : cubic
需要安装 bbr 吗?
作者:meta #uid56396
原帖:https://hostloc.com/thread-1098548-1-1.html
摘要:现在是:TCP CC : cubic
需要安装 bbr 吗?
标题:我也有自己的博客了
作者:hostlocmjj #uid53097
原帖:https://hostloc.com/thread-1098550-1-1.html
摘要:archives.vip
刚切到cf,得等会才能访问
怎么有司马的
技术博客一上来就测压
测你祖坟呢测?
作者:hostlocmjj #uid53097
原帖:https://hostloc.com/thread-1098550-1-1.html
摘要:archives.vip
刚切到cf,得等会才能访问
怎么有司马的
技术博客一上来就测压
测你祖坟呢测?
标题:我感觉阿里云盘可能活不了多久
作者:louiejordan #uid51689
原帖:https://hostloc.com/thread-1098549-1-1.html
摘要:网页端和客户端长期不更新,发布都一年多了还是最原始的操作逻辑,加上最近疯狂推会员,我估计上车的人不多的话明年大概要逐渐退出历史舞台了。这非常符合阿里的做事风格!
作者:louiejordan #uid51689
原帖:https://hostloc.com/thread-1098549-1-1.html
摘要:网页端和客户端长期不更新,发布都一年多了还是最原始的操作逻辑,加上最近疯狂推会员,我估计上车的人不多的话明年大概要逐渐退出历史舞台了。这非常符合阿里的做事风格!
标题:出租一台online 4o
作者:天空的圣域 #uid23115
原帖:https://hostloc.com/thread-1098551-1-1.html
摘要:季付110,atom 4g 1t 1g不限流量 刷pt用的。
另外出个乔治永久 4核 4g 200g 百兆不限,洛杉矶三网直连有时候三网9929,有时候普通线路。无需续费,只要商家不反悔就一直用,用了快一年了,命盘1200吧。永不永久的没啥讨论的,你信就pm我,不信就当我啥都没说,下面就别讨论这个问题了哈。
作者:天空的圣域 #uid23115
原帖:https://hostloc.com/thread-1098551-1-1.html
摘要:季付110,atom 4g 1t 1g不限流量 刷pt用的。
另外出个乔治永久 4核 4g 200g 百兆不限,洛杉矶三网直连有时候三网9929,有时候普通线路。无需续费,只要商家不反悔就一直用,用了快一年了,命盘1200吧。永不永久的没啥讨论的,你信就pm我,不信就当我啥都没说,下面就别讨论这个问题了哈。
标题:泰安有持枪抢劫银行的。。
作者:hdwz88 #uid46897
原帖:https://hostloc.com/thread-1098553-1-1.html
摘要:泰安有持枪抢劫银行的。。
一辆黄色运输车 不知道去的是军队还是特警。。。
作者:hdwz88 #uid46897
原帖:https://hostloc.com/thread-1098553-1-1.html
摘要:泰安有持枪抢劫银行的。。
一辆黄色运输车 不知道去的是军队还是特警。。。
标题:再分享一款免费wp主题
作者:gger #uid23765
原帖:https://hostloc.com/thread-1098556-1-1.html
摘要:https://thk.kanzae.net/wp/
作者:gger #uid23765
原帖:https://hostloc.com/thread-1098556-1-1.html
摘要:https://thk.kanzae.net/wp/
标题:我觉得目前电车还是不值得买
作者:mjjok #uid52220
原帖:https://hostloc.com/thread-1098558-1-1.html
摘要:电车各种自燃,刹车失灵的新闻见得最多。
燃油车毕竟及时方面成熟太多,发展了100年也有了吧。
电车是最近几年才热门起来的。有待继续沉淀积累。
最近又见特斯拉刹车失灵,发生严重车祸,
刚刚又看到MJJ发的网友刚买的比亚迪自燃视频新闻。
电池问题,还真是个大问题。
并且充电时间过长,充电桩少等问题。还有跑高速担心没电问题。。。
或许再过10年再买,或许情况会改善许多。
本来打算买辆来代步,但是想想算了,我这本充电桩少,还是先开着燃油车吧。等电车再成熟些,以及周边配置普及些再买。
作者:mjjok #uid52220
原帖:https://hostloc.com/thread-1098558-1-1.html
摘要:电车各种自燃,刹车失灵的新闻见得最多。
燃油车毕竟及时方面成熟太多,发展了100年也有了吧。
电车是最近几年才热门起来的。有待继续沉淀积累。
最近又见特斯拉刹车失灵,发生严重车祸,
刚刚又看到MJJ发的网友刚买的比亚迪自燃视频新闻。
电池问题,还真是个大问题。
并且充电时间过长,充电桩少等问题。还有跑高速担心没电问题。。。
或许再过10年再买,或许情况会改善许多。
本来打算买辆来代步,但是想想算了,我这本充电桩少,还是先开着燃油车吧。等电车再成熟些,以及周边配置普及些再买。
标题:见识到了各位大佬穿cf5s盾和cc攻击
作者:hostlocmjj #uid53097
原帖:https://hostloc.com/thread-1098559-1-1.html
摘要:["45.154.138.65","109.70.100.19","109.70.100.27","109.70.100.81","216.131.73.250","45.229.34.170","69.16.157.132","109.70.100.26","158.69.201.47","103.172.70.49","64.27.17.140","162.210.173.17","216.151.183.172","146.70.129.114","185.147.215.17","198.181.163.41","205.185.222.149","205.185.214.71","2001:41d0:304:200::926","173.245.203.99","81.200.241.67","74.50.211.2","216.151.183.87","199.33.69.18","20.187.85.190","2604:a880:800:a1::1636:d001","210.23.11.35","2001:41d0:a:6be4::1","64.113.32.29","165.22.6.221","173.245.209.33","103.142.255.1"]
都是国外ip
cf有可能防不住
开5秒盾貌似也被绕了
太nb了,各位大佬,
别搞我这小博客了
作者:hostlocmjj #uid53097
原帖:https://hostloc.com/thread-1098559-1-1.html
摘要:["45.154.138.65","109.70.100.19","109.70.100.27","109.70.100.81","216.131.73.250","45.229.34.170","69.16.157.132","109.70.100.26","158.69.201.47","103.172.70.49","64.27.17.140","162.210.173.17","216.151.183.172","146.70.129.114","185.147.215.17","198.181.163.41","205.185.222.149","205.185.214.71","2001:41d0:304:200::926","173.245.203.99","81.200.241.67","74.50.211.2","216.151.183.87","199.33.69.18","20.187.85.190","2604:a880:800:a1::1636:d001","210.23.11.35","2001:41d0:a:6be4::1","64.113.32.29","165.22.6.221","173.245.209.33","103.142.255.1"]
都是国外ip
cf有可能防不住
开5秒盾貌似也被绕了
太nb了,各位大佬,
别搞我这小博客了