Windows10为了帮助用户可以更好的办公,内设了许多功能,而这些功能会在系统安装后于后台静默安装。对于一些喜欢纯净系统的用户而言,这些软件没有一点作用,本文介绍要如何禁止Windows10系统自动安装捆绑软件。
1、使用快捷按键win R,运行输入“gpedit.msc”命令回车。
2、在界面中依次展开:计算机配置→管理模板→windows组件→windows Installer,随后在右侧双击“禁止用户安装”。
3.直接选择“已启用”,在“用户安装行为”下选择“隐藏用户安装”并点击“确定”即可。
控制面板是Windows10系统图形用户界面中不可获取的一部分,用户可以在控制面板上查看并操作基本的系统设置。那么,Windows 10系统控制面板打开是空白怎么办呢?本文将针对此问题进行详细说明。
1.在Windows10系统中,使用“WIN R”打开运行窗口输入regedit,打开注册表编辑器。
2.定位到这个路径“计算机\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MyComputer”,如下图所示。
3.把“MyComputer”下的子目录全部删除即可。
本文介绍如何解决Windows异常关机重启。
1.使用快捷按键win R,运行输入gpedit.msc
2.在弹出的页面中双击进入“计算机配置”。
3.在计算机配置页面中双击打开右侧的“管理模板”。
4.在管理模板页面下双击打开“系统”选项。
5.在该页面中找到“关机选项”,并双击打开。
6.将右侧页面中的“关闭会阻止或取消关机的应用程序的自动终止功能”双击打开选择“已启用”后应用并确定。
在使用Windows 10电脑的过程中,都曾遇到过系统自带的应用程序无法打开的情况,甚至重启电脑之后依然无法成功启用,本文将针对此问题进行详细说明。
1.使用“win R”快捷键,打开运行窗口,输入services.msc,然后回车。
2.进入服务界面,找到“Windows Update服务”,鼠标右击,选择“停止”。
3.停止“Windows Update服务”之后,进入“C盘”点击“Windows路径”,找到“SoftwareDistribution”文件夹,然后重命名文件夹,重命名为:“SoftwareDistribution”。
4.重命名完后,进入服务界面,找到“Windows Update服务”,鼠标右击,选择“启动”。
5.使用“win R”快捷键,打开运行窗口,输入wsreset,然后回车,清理应用商店缓存。
6.清理完成,重启电脑,Windows10系统自带的应用就可以正常打开了。
centos系统如何查看当前登录用户信息?本教程以centos7系统为例
本配置适用于centos6,7版本
1. 使用w命令查看登录用户正在使用的进程信息
w命令用于显示已经登录系统的用户的名称,以及他们正在做的事。该命令所使用的信息来源于/var/run/utmp文件。w命令输出的信息包括:
用户名称
用户的机器名称或tty号
远程主机地址
用户登录系统的时间
空闲时间(作用不大)
附加到tty(终端)的进程所用的时间(JCPU时间)
当前进程所用时间(PCPU时间)
用户当前正在使用的命令
w命令还可以使用以下选项
-h忽略头文件信息
-u显示结果的加载时间
-s不显示JCPU, PCPU, 登录时间
2.使用who命令查看(登录)用户名称及所启动的进程
who命令用于列举出当前已登录系统的用户名称。其输出为:用户名、tty号、时间日期、主机地址。
Windows10系统文件保护功能是开启的,而且经常会弹出提示,让人感到烦恼。文件保护是自带的机制,如果你想要关闭此功能是可以的,本文将针对此问题进行详细说明。
1.在Windows10系统中,使用“WIN R”打开运行窗口输入gpedit.msc,然后回车。
2.在“本地组策略编辑器”窗口的左侧小窗口中,依次展开“计算机配置”-“管理模版”-“系统”,然后在右侧窗口中找到“Windows 文件保护”。
3.双击“Windows 文件保护”,点击“设置Windows文件保护扫描”,再点击“策略设置”选项命令。
4.在弹出的窗口,将其设置更改为“已禁用”选项,先点击“应用”然后点击“确定”退出即可。
debian8系统如何用uniq命令删除文件中的重复行?本教程以debian8系统为例
本配置适用于debian8,9版本
1.uniq检查及删除文本文件中重复出现的行列
语 法:uniq [-cdu][-f<栏位>][-s<字符位置>][-w<字符位置>][--help][--version][输入文件][输出文件]
补充说明:uniq 可检查文本文件中重复出现的行列。
2.参 数:
-c 或--count 在每列旁边显示该行重复出现的次数。
-d 或--repeated 仅显示重复出现的行列。
-f<栏位>或--skip-fields=<栏位> 忽略比较指定的栏位。
-s<字符位置>或--skip-chars=<字符位置> 忽略比较指定的字符。
-u 或--unique 仅显示出一次的行列。
-w<字符位置>或--check-chars=<字符位置> 指定要比较的字符。
--help 显示帮助。
--version 显示版本信息。
[输入文件] 指定已排序好的文本文件。
[输出文件] 指定输出的文件。
3.例如:查看文件file3中重复行数据的内容
#查看文件file3文件内容
[root@localhost ~]# uniq -d file3
aaa
#file3文件中重复行数据的内容为aaa
查看文件file3中不重复行数据的内容
[root@localhost ~]# uniq -u file3
bbb
显示file3文件每行连续出现的次数
[root@localhost ~]# uniq -c file3
2 aaa
1 bbb
显示file3文件所有重复的行,每个重复的行都显示
[root@localhost ~]# uniq -D file3
aaa
aaa
一般情况下都只有一个网卡和一个ip地址,那么windows系统如何在一个网卡上配置多个IP的问题呢?本文将针对此问题进行详细说明。
1.右击右下角宽带连接标志选择“打开网络和共享中心”。
2.选择“更改配适器设置”。
3.右击本地网络,选择“属性”,然后选择“Internet协议版本4(TCP/IPv4)”。
4.在Internet协议版本4(TCP/IPv4)属性窗口点击“高级”。
5.在弹出的界面点击“添加”按钮。
使用快捷键“win r”打开“运行”窗口输入“cmd”,然后在弹出的窗口里面输入“ipconfig”查看IP跟网关是否有添加进去,然后并进行测试。
——————————END——————————
debian8系统如何编辑文件sources.list更换下载源?本教程以debian8系统为例
本配置适用于debian8,9版本
1.编辑sources.list文本
vi /etc/apt/sources.list
可以把之前的文本源拷贝到其他地方或者前面打#号
这边我打#号处理
2.更换源文本到sources.list文件上
163镜像站
deb http://mirrors.163.com/debian/ stretch main non-free contrib
deb http://mirrors.163.com/debian/ stretch-updates main non-free contrib
deb http://mirrors.163.com/debian/ stretch-backports main non-free contrib
deb-src http://mirrors.163.com/debian/ stretch main non-free contrib
deb-src http://mirrors.163.com/debian/ stretch-updates main non-free contrib
deb-src http://mirrors.163.com/debian/ stretch-backports main non-free contrib
deb http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib
deb-src http://mirrors.163.com/debian-security/ stretch/updates main non-free contrib
中科大镜像站
deb https://mirrors.ustc.edu.cn/debian/ stretch main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian/ stretch main contrib non-free
deb https://mirrors.ustc.edu.cn/debian/ stretch-updates main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian/ stretch-updates main contrib non-free
deb https://mirrors.ustc.edu.cn/debian/ stretch-backports main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian/ stretch-backports main contrib non-free
deb https://mirrors.ustc.edu.cn/debian-security/ stretch/updates main contrib non-free
deb-src https://mirrors.ustc.edu.cn/debian-security/ stretch/updates main contrib non-free
阿里云镜像站
deb http://mirrors.aliyun.com/debian/ stretch main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ stretch main non-free contrib
deb http://mirrors.aliyun.com/debian-security stretch/updates main
deb-src http://mirrors.aliyun.com/debian-security stretch/updates main
deb http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ stretch-updates main non-free contrib
deb http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib
deb-src http://mirrors.aliyun.com/debian/ stretch-backports main non-free contrib
华为镜像站
deb https://mirrors.huaweicloud.com/debian/ stretch main contrib non-free
deb-src https://mirrors.huaweicloud.com/debian/ stretch main contrib non-free
deb https://mirrors.huaweicloud.com/debian/ stretch-updates main contrib non-free
deb-src https://mirrors.huaweicloud.com/debian/ stretch-updates main contrib non-free
deb https://mirrors.huaweicloud.com/debian/ stretch-backports main contrib non-free
deb-src https://mirrors.huaweicloud.com/debian/ stretch-backports main contrib non-free
清华大学镜像站
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch-updates main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch-updates main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch-backports main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian/ stretch-backports main contrib non-free
deb https://mirrors.tuna.tsinghua.edu.cn/debian-security/ stretch/updates main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/debian-security/ stretch/updates main contrib non-free
兰州大学镜像站
deb http://mirror.lzu.edu.cn/debian stable main contrib non-free
deb-src http://mirror.lzu.edu.cn/debian stable main contrib non-free
deb http://mirror.lzu.edu.cn/debian stable-updates main contrib non-free
deb-src http://mirror.lzu.edu.cn/debian stable-updates main contrib non-free
deb http://mirror.lzu.edu.cn/debian/ stretch-backports main contrib non-free
deb-src http://mirror.lzu.edu.cn/debian/ stretch-backports main contrib non-free
deb http://mirror.lzu.edu.cn/debian-security/ stretch/updates main contrib non-free
deb-src http://mirror.lzu.edu.cn/debian-security/ stretch/updates main contrib non-free
上海交大镜像站
deb https://mirror.sjtu.edu.cn/debian/ stretch main contrib non-free
deb-src https://mirror.sjtu.edu.cn/debian/ stretch main contrib non-free
deb https://mirror.sjtu.edu.cn/debian/ stretch-updates main contrib non-free
deb-src https://mirror.sjtu.edu.cn/debian/ stretch-updates main contrib non-free
deb https://mirror.sjtu.edu.cn/debian/ stretch-backports main contrib non-free
deb-src https://mirror.sjtu.edu.cn/debian/ stretch-backports main contrib non-free
deb https://mirror.sjtu.edu.cn/debian-security/ stretch/updates main contrib non-free
deb-src https://mirror.sjtu.edu.cn/debian-security/ stretch/updates main contrib non-free
以上是各类源的文本
1.这边举例为163源替换上去
文件保存退出
2.更新源
apt-get update
即可更换成功