首页
Search
1
Sublime Text 4 正式版发布了,自己动手注册激活以及汉化
536 阅读
2
Lark飞书国际版,免费邮局支持50用户,200GB容量,可SMTP发信
262 阅读
3
Windows激活之路:通过HWIDGen申请永久数字许可证
204 阅读
4
甲骨文云(Oracle Cloud)免费开通ARM云服务器
202 阅读
5
Windows激活之路:将Windows 10 LTSC转成Win10专业版激活
178 阅读
网络资讯
技术教程
活动线报
VPS主机
实用工具
随手小记
登录
Search
标签搜索
VPS
服务器
腾讯云
免费
域名
阿里云
数据库
优惠券
Cloudflare
Github
中国联通
代金券
Docker
中国移动
chrome
JetBrains
Linux
Xshell
百度网盘
联通
小 萌
累计撰写
266
篇文章
累计收到
0
条评论
首页
栏目
网络资讯
技术教程
活动线报
VPS主机
实用工具
随手小记
页面
搜索到
5
篇与
的结果
2021-12-11
Windows,Linux,Mac,Android,iPhone 如何修改hosts
手动方式修改hostshosts 文件在每个系统的位置不一,详情如下:Windows 系统:C:\Windows\System32\drivers\etc\hosts (注意:如果遇到无法保存,请右键文件hosts并找到“属性” -> “安全”,然后选择你登陆的用户名,最后点击编辑,勾选“写入”即可)Linux 系统:/etc/hostsMac(苹果电脑)系统:/etc/hostsAndroid(安卓)系统:/system/etc/hostsiPhone(iOS)系统:/etc/hosts修改方法,把需要添加的内容添加到文本末尾。Windows 使用记事本。Linux、Mac 使用 Root 权限:sudo vi /etc/hosts。iPhone、iPad 须越狱、Android 必须要 root。激活生效大部分情况下是直接生效,如未生效可尝试下面的办法,刷新 DNS:Windows:在 CMD 窗口输入:ipconfig /flushdnsLinux 命令:sudo nscd restart,如报错则须安装:sudo apt install nscd 或 sudo /etc/init.d/nscd restartMac 命令:sudo killall -HUP mDNSResponderTips : 上述方法无效可以尝试重启机器。自动方式SwitchHostsTip :推荐 SwitchHosts 工具管理 hosts以 SwitchHosts 为例,看一下怎么使用的,配置参考下面:Title:随意Type: RemoteURL: https://raw.hellogithub.com/hostsAuto Refresh: 最好选 1 hour如图:这样每次 hosts 有更新都能及时进行更新,免去手动更新。AdGuard HomeAdGuard Home 用户(自动方式) 在 过滤器>DNS 封锁清单>添加阻止列表>添加一个自定义列表 ,配置如下:名称: 随意URL: https://raw.hellogithub.com/hosts(和上面 SwitchHosts 使用的一样)如图:更新间隔在 设置>常规设置>过滤器更新间隔(设置一小时一次即可) ,记得勾选上 使用过滤器和 Hosts 文件以拦截指定域名 Tip :不要添加在 DNS 允许清单 内,只能添加在 DNS 封锁清单 才管用。另外,AdGuard for Mac、AdGuard for Windows、AdGuard for Android、AdGuard for IOS 等等 AdGuard 家族软件 添加方法均类似。Chrome 插件方式FasterHosts 是个 Chrome 插件,主要原理是拦截浏览器的某些请求,将 domain 替换成访问速度较快的那个,每 1 小时更新一次。下载 FasterHosts 然后解压,找到 extension 子目录打开 Chrome,输入: chrome://extensions/打开「开发者模式」选择「加载已解压的扩展程序」,然后定位到刚才解压的文件夹里面的 extension 目录,确定这就安装好了,关闭「开发者模式」
2021年12月11日
11 阅读
0 评论
0 点赞
2018-11-01
服务器Windows一键重装为Linux (netboot,网络安装)
文章核心内容来自@萌咖大佬!特别提醒:一键重装有一定的风险,请做好数据备份,准备好抢救方案!有些厂商的机器因策略问题,不支持Windows重装为Linux. 例如: 腾讯云非大陆区域,有些厂商Windows系统盘会比Linux系统盘大,例如: AZURE,有些厂商不支持VNC,对于转换系统不方便,而这篇文章就可以解决以上问题!使用前,请耐心看完文章,如果造成损失,小萌&萌咖大佬不负任何责任!使用方法下载 win32loader.bat (分流下载:https://pan.baidu.com/s/1UyEn7B4OPa7jmqANzPYHdQ).双击打开此文件.自行选择选项.按回车重启,并等待安装完成.注意事项默认提供的是Debian8(Jessie),添加了firmware包,提供了更多的驱动支持,DHCP模式一键. 非DHCP模式,如果要一键,则需要自己定制镜像. 定制Debian系镜像应该没问题,其他未作测试. 默认root账户密码 Vicer .如果厂商不支持VNC,则需要自己定制镜像.定制方法参考:https://51.ruyo.net/5561.html 主要在镜像中添加机器的网络参数,以便支持一键安装. 命令示例:bash InstallNET.sh -d 8 -v 64 -a --ip-addr <IP> --ip-mask <NetMask> --ip-gate <GATE> --loader完成后将 initrd.img 和 vmlinuz 存放到能直链下载的位置.如果厂商支持VNC,则可以直选全部选1 .安装的时候,自己填 IP地址,子网掩码, 网关, DNS服务器. DNS服务器推荐填: 8.8.8.8区分是否为DHCP模式非DHCP模式: 如上图,显示了详细的IP地址.(选项为:使用下面的IP地址)DHCP模式: 参考上图.(选项为:自动获得IP地址)源码备份@ECHO OFF&PUSHD %~DP0 &TITLE Win32Loader setlocal enabledelayedexpansion ::Author MoeClub.org color 87 cd.>%windir%\GetAdmin if exist %windir%\GetAdmin (del /f /q "%windir%\GetAdmin") else ( echo CreateObject^("Shell.Application"^).ShellExecute "%~s0", "%*", "", "runas", 1 >> "%temp%\Admin.vbs" "%temp%\Admin.vbs" del /s /q "%temp%\Admin.vbs" exit /b 2) cls echo * Init Win32Loader. set URL=https://moeclub.org/attachment/WindowsSoftware set download=0 set try_download=1 :Init mkdir "%SystemDrive%\win32-loader" >NUL 2>NUL if exist "%SystemDrive%\Windows\System32\WindowsPowerShell" ( set use_ps=1 ) else ( set use_ps=0 ) if %use_ps% equ 1 ( goto InitIt ) else ( goto InitFail ) :InitIt set try_download=0 powershell.exe -command "& {$client = new-object System.Net.WebClient; $client.DownloadFile('!URL!/g2ldr/g2ldr','%SystemDrive%\g2ldr')}" >NUL 2>NUL powershell.exe -command "& {$client = new-object System.Net.WebClient; $client.DownloadFile('!URL!/g2ldr/g2ldr.mbr','%SystemDrive%\g2ldr.mbr')}" >NUL 2>NUL powershell.exe -command "& {$client = new-object System.Net.WebClient; $client.DownloadFile('!URL!/g2ldr/grub.cfg','%SystemDrive%\win32-loader\grub.cfg')}" >NUL 2>NUL goto InitDone :InitFail echo Not found powershell, please download them by yourself. echo '%SystemDrive%\g2ldr' echo '%SystemDrive%\g2ldr.mbr' echo '%SystemDrive%\win32-loader\grub.cfg' echo Press [ENTER] when you finished. pause >NUL 2>NUL goto InitDone :InitDone if !try_download! equ 0 ( set InitOption=InitFail ) else ( set InitOption=Init ) if not exist "%SystemDrive%\g2ldr" goto !InitOption! if not exist "%SystemDrive%\g2ldr.mbr" goto !InitOption! if not exist "%SystemDrive%\win32-loader\grub.cfg" goto !InitOption! :Image echo. echo * Please select initrd mode. echo [1] Online download echo [2] Local file choice /n /c 12 /m Select: if errorlevel 2 goto LocalMode if errorlevel 1 goto OnlineMode goto Image :OnlineMode echo. echo * Please select source. echo [1] by MoeClub (DHCP or VNC Support) echo [2] by yourself choice /n /c 12 /m Select: if errorlevel 2 goto Yourself if errorlevel 1 goto MoeClub goto OnlineMode :Yourself echo. echo if 'initrd.img' URL is 'https://moeclub.org/onedrive/IMAGE/Loader/DebianJessie/initrd.img', Please input 'https://moeclub.org/onedrive/IMAGE/Loader/DebianJessie'. set /p IMG_URL=URL : if defined IMG_URL ( goto Download ) else ( goto MoeClub ) :MoeClub set IMG_URL=https://moeclub.org/onedrive/IMAGE/Loader/DebianJessie goto Download :Download if %use_ps% equ 1 ( echo. echo Downloading 'initrd.img'... powershell.exe -command "& {$client = new-object System.Net.WebClient; $client.DownloadFile('!IMG_URL!/initrd.img','%SystemDrive%\win32-loader\initrd.img')}" >NUL 2>NUL echo Downloading 'vmlinuz'... powershell.exe -command "& {$client = new-object System.Net.WebClient; $client.DownloadFile('!IMG_URL!/vmlinuz','%SystemDrive%\win32-loader\vmlinuz')}" >NUL 2>NUL set download=1 ) else ( echo Not support online download, auto change Local initrd. goto LocalMode ) :LocalMode if !download! equ 0 ( echo. echo Please put 'initrd.img' and 'vmlinuz' to '%SystemDrive%\win32-loader' . echo Press [ENTER] when you finished. pause >NUL 2>NUL ) :Done0 set download=0 if exist "%SystemDrive%\win32-loader\initrd.img" ( goto Done1 ) else ( echo Not found '%SystemDrive%\win32-loader\initrd.img' . goto LocalMode ) :Done1 set download=0 if exist "%SystemDrive%\win32-loader\vmlinuz" ( goto Done ) else ( echo Not found '%SystemDrive%\win32-loader\vmlinuz' . goto LocalMode ) :Done echo. echo Press [ENTER] to reboot... pause >NUL 2>NUL if not exist "%SystemDrive%\g2ldr" echo Not found '%SystemDrive%\g2ldr' . && exit 1 if not exist "%SystemDrive%\g2ldr.mbr" echo Not found '%SystemDrive%\g2ldr.mbr' . && exit 1 if not exist "%SystemDrive%\win32-loader\grub.cfg" echo Not found '%SystemDrive%\win32-loader\grub.cfg' . && exit 1 if not exist "%SystemDrive%\win32-loader\initrd.img" echo Not found '%SystemDrive%\win32-loader\initrd.img' . && exit 1 if not exist "%SystemDrive%\win32-loader\vmlinuz" echo Not found '%SystemDrive%\win32-loader\vmlinuz' . && exit 1 set id={01234567-89ab-cdef-0123-456789abcdef} bcdedit /create %id% /d "Debian GUN/Linux" /application bootsector >NUL 2>NUL bcdedit /set %id% device partition=%SystemDrive% >NUL 2>NUL bcdedit /set %id% path \g2ldr.mbr >NUL 2>NUL bcdedit /displayorder %id% /addlast >NUL 2>NUL bcdedit /bootsequence %id% /addfirst >NUL 2>NUL shutdown -r -t 0
2018年11月01日
5 阅读
0 评论
0 点赞
2018-10-15
从微软官方直接下载Windows 10的ISO镜像
现在Windows 10 系统的普及率越来越高了。一般买的新笔记本都自带一个Windows 家庭版,但是家庭版有种被阉割好多功能的感觉!所以很多人都会换成专业版。那么家庭版怎么升级专业版?从网上找个Windows 10 专业版的激活码,切换成专业版。然后使用Windows激活工具激活即可!对于有强迫症的网友,特别想重新安装一下系统,那么从那下载安全的Windows 10镜像呢?本文就介绍一种直接从微软官方下载IOS镜像的方法!下载地址https://www.microsoft.com/zh-cn/software-download/windows10/操作步骤1)将浏览器切换成手机浏览模式。刷新网页,可见下载镜像内容!2)选择版本。 推荐选择Windows 10Windows 10 —- 即专业版Windows 10 家庭专业版3)选择产品语言, 选择简体中文4)然后 选择 32位 或者 64位系统,点击即可下载啦!5)下面是我刚才测试下载的地址。有效期 24小时!下载速度还是不错的。https://software-download.microsoft.com/pr/Win10_1803_Chinese(Simplified)_x64.iso?t=3c12d39f-7167-42dc-b115-d593a5de9eff&e=1539747679&h=a84182ac8474c924aae13a9e69d7c4d7说明从官网下载镜像图的就是安全放心!不过下载更多的镜像推荐大家试一试:https://msdn.itellyou.cn/
2018年10月15日
2 阅读
0 评论
0 点赞
2018-07-06
服务器如何进行连接及管理
以前我们站长为了节省成本,做网站都是使用的空间,但如今的VPS价格已经降到大多数人可以接受的程度了,所以一些站长们便开始使用VPS了,当我们使用VPS来进行建设网站的时候,首先我们需要连接VPS,今天小萌就给大家介绍一下连接VPS的方法。首先,我们需要确定你购买的VPS所安装的系统(Windows or Linux)Linux系统首先打开SSH连接工具(小萌使用的是FinalShell)然后按照图片填写服务器连接信息最后我们双击你新建的连接,即可连接至你的服务器连接成功后截图Windows系统首先点击电脑开始 - 运行,并输入 mstsc ,系统会自动弹出远程桌面对话框然后在远程桌面连接对话框中,输入服务器IP,点击连接点击连接后,会出现输入用户名和密码的界面,在对应的框中输入服务器的用户名和密码,然后点击确定。成功连接到服务器
2018年07月06日
8 阅读
0 评论
0 点赞
2018-06-05
Windows激活之路:通过HWIDGen申请永久数字许可证
HWIDGen是一款由国外Nsane论坛会员s1ave77制作的Windows 10数字权利激活工具,这款Win10数字权利获取工具,可以自动获取Windows 10 数字许可证激活,无需产品密钥,以最简单的方式永久激活。原帖地址:http://www.nsaneforums.com/topic/312871-windows-10-digital-license-hwid-generation-without-kms-or-predecessor-installupgrade/数字权利激活什么是“数字权利激活”?数字许可证激活是 Windows 10 中新加入的激活方式,是一种授权方法的分类。数字许可证会记录您的硬件设备信息,只要在CPU和主板设备没有更换的情况下就可以连接微软服务器自动永久性的激活系统,重新安装系统时无需再次输入产品密钥,安装后会自动永久激活。“数字权利激活”在不更换电脑硬件的情况下一直有效,无论您安装的系统是正式版还是预览版,不影响永久激活效果。支持的系统目前基本上支持大部分Win 10系统!Windows 10 CloudWindows 10 Cloud(N)Windows 10 Core(N)Windows 10 CoreCountrySpecificWindows 10 oreSingleLanguageWindows 10 CoreWindows 10 EducationWindows 10 Education(N)Windows 10 EnterpriseWindows 10 Enterprise(S)Windows 10 EnterpriseS(N)Windows 10 ProfessionalWindows 10 Professional(N)Windows 10 ProfessionalEducationWindows 10 ProfessionalEducation(N)Windows 10 ProfessionalWorkstationWindows 10 ProfessionalWorkstation(N)Windows 10 LTSB 2015Windows 10 LTSB 2016手动激活操作比较复杂!不建议小白入手!1、Get GatherOsState.exe from Windows 10 17134 ISO2、Get latest version of slshim from https://github.com/vyvojar/slshim/releases3、Extract slshim32.dll (for gatherosstate from x86 ISO) or slshim64.dll (for gatherosstate from x64 ISO)4、Place gatherosstate and extracted slshim dll in the same directory5、Rename slshim dll to slc.dll6、Import this to registry:6.1、Set the real value for %sku% from beneath list.edition=Cloud sku=178 edition=CloudN sku=179 edition=Core sku=101 edition=CoreCountrySpecific sku=99 edition=CoreN sku=98 edition=CoreSingleLanguage sku=100 edition=Education sku=121 edition=EducationN sku=122 edition=Enterprise sku=4 edition=EnterpriseN sku=27 edition=EnterpriseS sku=125 edition=EnterpriseSN sku=126 edition=Professional sku=48 edition=ProfessionalEducation sku=164 edition=ProfessionalEducationN sku=165 edition=ProfessionalN sku=49 edition=ProfessionalWorkstation sku=161 edition=ProfessionalWorkstationN sku=162Replace the ‘XXX’ with the needed sku value. If using REG make sure the string is 7 digits long, the CMD will take the value from above.CMD:reg add "HKLM\SYSTEM\Tokens" /v "Channel" /t REG_SZ /d "Retail" /f reg add "HKLM\SYSTEM\Tokens\Kernel" /v "Kernel-ProductInfo" /t REG_DWORD /d XXX /f reg add "HKLM\SYSTEM\Tokens\Kernel" /v "Security-SPP-GenuineLocalStatus" /t REG_DWORD /d 1 /f reg add "HKCU\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "C:\gatherosstate.exe" /d Make shure the XXX are peplaced by shown ID from above SKUID list.Adapt the above path to gatherosstate.exe to the actual path.7、Enter default Retail/OEM key from products iniKey list from 17134.1 products.ini:Site: https://pastebin.comShareCode: /rYakstDcif you have Enterprise N or LTSB 2016 N use this in elevated Powershell:::EnterpriseN ((Get-Content '.\gatherosstate.exe') -replace "`0" | Select-String -Pattern "(.....-){4}C372T" -AllMatches).Matches | Select-Object -ExpandProperty Value ::EnterpriseSN ((Get-Content '.\gatherosstate.exe') -replace "`0" | Select-String -Pattern "(.....-){4}VMJWR" -AllMatches).Matchethis will gather the key from within gatherosstate.exe8、Run gatherosstate. After a few seconds you should get GenuineTicket.xml9、(optional) Remove HKEY_LOCAL_MACHINE\SYSTEM\Tokens from registry.CMD:reg delete "HKLM\SYSTEM\Tokens" /f reg delete "HKCU\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers" /v "C:\gatherosstate.exe"10、Place the created genuineticket at the root of c:\ and in admin CMD:clipup -v -o -altto c:\11、then force activation with:cscript /nologo %windir%\system32\slmgr.vbs -ato自动激活该版本是作者s1ave77提供的!全E英文操作!大家可以尝试其他几种!软件下载:链接: https://pan.baidu.com/s/1TT_seyt-faLyImdcPZ3AHw 密码: w96g解压密码:3Fs44Rv#tZ4u3UOij656NgF____批处理激活版这个也不错,可以直接看源码,放心安逸~~软件下载地址:链接: https://pan.baidu.com/s/1ZoeMrcypco7n-4EJFkudoQ 密码: 8jf1萌咖大佬优化:链接: https://pan.baidu.com/s/1ML5_tgI7OQrWLRny98BZ9A 密码: xfdnC#激活版本比较推荐这个版本也不错!比较直观!软件下载地址:链接: https://pan.baidu.com/s/1qlx03xURI5yGyLT7sQ_RSQ 密码: thcvC#代码编写~ 可以利用反编译工具看代码内容。推荐大家试一试这个!!该版本来自:https://www.52pojie.cn/thread-742884-1-1.html特别提醒激活过程中,保持电脑联网,且开启Windows Update!避免使用V_P_N!有些杀毒软件会提示软件有病毒。大家可以参考下:http://bbs.pcbeta.com/forum.php?mod=viewthread&tid=1786693
2018年06月05日
204 阅读
0 评论
0 点赞