操作apache2伪静态时发现,apache安装时大多权限都是分配在root用户组下的,腾讯云默认的用户是Ubuntu,没有修改apache2.conf的权限。 去官方使用手册里找到了使用 sudo -i 即可切换至root用户。