github地址 :https://github.com/tjy-gitnub/win12
体验地址:Windows 12 网页版 (tjy-gitnub.github.io)
本次实践为个人测试环境,操作系统版本为centos7.6。
hostname | IP地址 | 操作系统版本 | 内核版本 |
---|---|---|---|
jeven | 192.168.3.166 | centos 7.6 | 3.10.0-957.el7.x86_64 |
1.本次实践部署环境为个人测试环境;
2.在centos7.6环境下使用体验Windows 12网页版。
如果没有镜像源,可以使用阿里云的镜像源。
curl -o /etc/yum.repos.d/CentOS-Base.repo https://mirrors.aliyun.com/repo/Centos-7.repo
sed -i -e '/mirrors.cloud.aliyuncs.com/d' -e '/mirrors.aliyuncs.com/d' /etc/yum.repos.d/CentOS-Base.repo
检查yum仓库状态,确保各镜像源正常。
[root@jeven ~]# yum repolist enabled
Loaded plugins: fastestmirror, langpacks
Determining fastest mirrors
* epel: mirrors.bestthaihost.com
repo id repo name status
!base/7/x86_64 CentOS-7 - Base - mirrors.aliyun.com 10,072
!epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 13,767
!extras/7/x86_64 CentOS-7 - Extras - mirrors.aliyun.com 518
!mongodb-org MongoDB Repository 342
!mysql-connectors-community/x86_64 MySQL Connectors Community 227
!mysql-tools-community/x86_64 MySQL Tools Community 100
!mysql57-community/x86_64 MySQL 5.7 Community Server 678
!updates/7/x86_64 CentOS-7 - Updates - mirrors.aliyun.com 5,176
repolist: 30,880
直接使用yum安装httpd软件。
yum -y install httpd
启动httpd服务,并使开机自启。
systemctl start httpd
systemctl enable httpd
查看httpd服务,确保httpd服务正常。
[root@jeven ~]# systemctl status httpd
● httpd.service - The Apache HTTP Server
Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
Active: active (running) since Sun 2023-09-24 22:44:38 CST; 1min 33s ago
Docs: man:httpd(8)
man:apachectl(8)
Main PID: 73038 (httpd)
Status: "Total requests: 0; Current requests/sec: 0; Current traffic: 0 B/sec"
CGroup: /system.slice/httpd.service
├─73038 /usr/sbin/httpd -DFOREGROUND
├─73044 /usr/sbin/httpd -DFOREGROUND
├─73045 /usr/sbin/httpd -DFOREGROUND
├─73046 /usr/sbin/httpd -DFOREGROUND
├─73047 /usr/sbin/httpd -DFOREGROUND
└─73048 /usr/sbin/httpd -DFOREGROUND
Sep 24 22:44:33 jeven systemd[1]: Starting The Apache HTTP Server...
Sep 24 22:44:38 jeven systemd[1]: Started The Apache HTTP Server.
sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
setenforce 0
systemctl stop firewalld && systemctl disable firewalld
浏览器打开:http://192.168.3.166,将IP替换为自己服务器IP地址。
在github下载Windows 12网页版源码。
cd /var/www/html/ && git clone https://github.com/tjy-gitnub/win12.git
重启httpd服务
systemctl restart httpd
访问地址:http://服务器IP地址/ win12
可以新建记事本,进行编辑,word等文档当前版本无法使用。
使用Edge浏览器,可以正常浏览及搜索网页。
在开始菜单,打开Python编辑器。
使用Python编辑器,编辑一个简单的python脚本。
在开始菜单,点击 VsCode工具。
我正在参与2023腾讯技术创作特训营第三期有奖征文,组队打卡瓜分大奖!
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。
扫码关注腾讯云开发者
领取腾讯云代金券
Copyright © 2013 - 2025 Tencent Cloud. All Rights Reserved. 腾讯云 版权所有
深圳市腾讯计算机系统有限公司 ICP备案/许可证号:粤B2-20090059 深公网安备号 44030502008569
腾讯云计算(北京)有限责任公司 京ICP证150476号 | 京ICP备11018762号 | 京公网安备号11010802020287
Copyright © 2013 - 2025 Tencent Cloud.
All Rights Reserved. 腾讯云 版权所有