如何开启Mountain Lion网络共享功能
时间:2022-03-14 07:13:34
随着MAC的升级更新,Mountain Lion将Web Sharing从偏好设置面板中去除了,这个功能对于一些用户来说是非常实用的,那么该怎么才能将它重新开启呢?
开启方法:
终端输入
sudo apachectl restart
确认服务启动后,新建一个以机器管理员名称命名的.conf文件,如: username.conf,你可以在偏好设置-用户与群组中看到机器的管理员用户名,将以下信息粘入username.conf
《Directory “/Users/你的管理员用户名/Sites/”》 (Sites文件夹不一定会存在,可以手动新建一个)
Options Indexes MultiViews
AllowOverride All
Order allow,deny
Allow from all
《/Directory》
将username.conf复制到/etc/apache2/users文件夹内
终端运行:
sudo httpd -k start
sudo apachectl restart
在终端中输入以上的命令行后,就可以将Web Sharing功能重新启用了。喜欢Web Sharing这个功能的用户们,快用这种方法将它重新开启吧。
标签:网络共享
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
口袋装机如何将XP升级到Win10?口袋装机系统升级安装流程
2023-11-11 16:57:51
![](https://img.aspxhome.com/file/2023/5/48895_0s.jpg)
word上下标怎么同时打?
2022-03-18 19:50:40
![](https://img.aspxhome.com/file/2023/2/34662_0s.gif)
wpsPPT怎么绘制帆船? ppt小帆船的画法
2023-01-04 06:46:13
![](https://img.aspxhome.com/file/2023/5/a165855_0s.jpg )
Win10登录提示Pin不可用怎么办?Win10登录提示Pin不可用的解决方法
2023-02-06 15:07:03
![](https://img.aspxhome.com/file/2023/4/52434_0s.jpg)
wps演示文稿循环播放的技巧
2023-04-03 13:09:16
![](https://img.aspxhome.com/file/2023/0/a171310_0s.png)
解决在Excel显示以0开头的数据
2022-10-03 12:45:55
![](https://img.aspxhome.com/file/2023/1/37621_0s.jpg)
WPS文档怎么设置多人编辑
2022-02-09 20:51:00
![](https://img.aspxhome.com/file/2023/6/a184176_0s.png)
如何在Excel中使用数据条设置单元格格式
2023-04-24 04:34:57
![](https://img.aspxhome.com/file/2023/5/a156545_0s.jpg)
wps文件窗口怎么置顶? wps窗口置顶的技巧
2023-03-17 04:44:09
![](https://img.aspxhome.com/file/2023/5/a166385_0s.jpg)
如何在 iOS 设备上实现“家长控制”功能?
2022-11-23 20:24:58
![](https://img.aspxhome.com/file/2023/2/a200532_0s.png)
如何使用Xilisoft Video Editor从视频文件中切出您喜欢的片段
2023-06-29 08:13:28
![](https://img.aspxhome.com/file/2023/2/a210522_0s.jpeg)
现阶段有没有购买 5G 手机的必要?
2022-02-17 06:23:07
![](https://img.aspxhome.com/file/2023/7/a196747_0s.jpg)
对Excel中数据进行单列排序和多列排序的方法
2022-07-12 00:08:08
如何将wps表格转换为图片
2022-04-08 12:17:12
![](https://img.aspxhome.com/file/2023/1/a170291_0s.jpg)
Win10任务栏中的程序打不开怎么解决?
2023-12-13 00:05:53
![](https://img.aspxhome.com/file/2023/3/51513_0s.jpg)
Excel表格如何开启VBA窗口
2022-11-04 05:08:17
Win10系统运行软件一直提示XXXX程序无法找到入口怎么办?
2023-11-24 13:30:20
![](https://img.aspxhome.com/file/2023/6/50956_0s.jpg)
WPS Excel中如何设置快捷键
2023-08-31 05:29:17
![](https://img.aspxhome.com/file/2023/0/a184420_0s.jpg)
题WPS制作通用试卷模板教程以数学试卷为例供教师使用
2022-06-04 20:12:44
![](https://img.aspxhome.com/file/2023/3/a169683_0s.jpg)
excel 递增求和你会吗?excel 递增累计求和技巧
2022-04-13 00:45:02
![](https://img.aspxhome.com/file/2023/1/a162011_0s.jpg)