小编arx*_*hal的帖子

将目录的所有权授予 apache 用户?

我已经在 LAMP 上安装了 wordpress。因为我是 Ubuntu 的新手。所以,我使用了这个在线教程 如何在 ubuntu 上手动安装 wordpress

但是,当我尝试将目录的所有权授予 apache 用户时,它不起作用,我给出了以下命令

sudo chown admin:www-data /var/www -R 
sudo chmod g+w /var/www -R
Run Code Online (Sandbox Code Playgroud)

“admin”是我为我的 wordpress 数据库用户选择的名称。任何人都可以指导我完成这个吗?

server permissions apache2 wordpress

22
推荐指数
1
解决办法
8万
查看次数

Ubuntu 16.04 在 vagrant up 时冻结

每次运行时vagrant up,ubuntu 16.04 都会冻结,我必须重新启动它。

我不能事件运行vagrant up --debug

我正在使用widgetbox-php53框。

vagrant 16.04

22
推荐指数
2
解决办法
7879
查看次数

“sudo apt-get update”给出 404 Not found in Ubuntu 14.10

我全新安装了 Ubuntu 14.10 桌面。我昨天下载的。它已正确安装。

我添加了一个存储库,现在当我输入sudo apt-get update它时会出现以下错误:

Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic InRelease
Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic/main Translation-en_US
Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic/main Translation-en
Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic/restricted Translation-en_US
Ign cdrom://Ubuntu 14.10 _Utopic Unicorn_ - Release i386 (20141022.1) utopic/restricted Translation-en
Err http://pk.archive.ubuntu.com|security.ubuntu.com utopic InRelease          

Err http://pk.archive.ubuntu.com|security.ubuntu.com utopic-updates InRelease  

Err http://pk.archive.ubuntu.com|security.ubuntu.com utopic-backports InRelease

Err http://pk.archive.ubuntu.com|security.ubuntu.com utopic Release.gpg …
Run Code Online (Sandbox Code Playgroud)

upgrade updates update-manager apt 14.10

2
推荐指数
1
解决办法
2万
查看次数