ubuntu从12.10升级到14.04之后出现问题


我从12.10升级到14.04之后出现一些问题,是在不知道该怎么解决了!

目前是APACHE 无论我怎么设置好像都没有什么用,老是显示:
Forbidden

You don't have permission to access / on this server.
Apache/2.4.7 (Ubuntu) Server at localhost Port 80

虚拟机也出现问题,不能打开原来的虚拟程序。

报如下错误:

Kernel driver not installed (rc=-1908)

The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
'/etc/init.d/vboxdrv setup'

as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux kernel changes and recompiles the vboxdrv kernel module if necessary.

还有就是 有线网卡老是不能自己连接,总要手动通过命令来启动。不知道为什么

有知道的兄弟能给支个招吧!

apache virtualbox Ubuntu

metal 10 years, 11 months ago

基本都是permission的问题,你可以先列出权限
接着看下Additional Drivers的DKMS

katia answered 10 years, 11 months ago

正常升级是不会出现这些问题的,因为不确定你的操作步骤,很难看出原因。依据提示,你没有权限做那些操作。可以尝试做以下操作:

  1. 将目录和apache用户关联

    chgrp -R www-data /var/www/laravel
    
  2. 将你需要的存储目录设置为可写,比如:

    chmod -R 775 /var/www/your_app/storage
    

完成配置后,应该就没问题了。

网卡的问题,直接把命令放在启动执行项里就可以了。

蒋公剿匪不力 answered 9 years, 10 months ago

Your Answer