Подготовка
Правим /etc/apt/sources.list
deb http://mirror.yandex.ru/debian/ wheezy main non-free
deb-src http://mirror.yandex.ru/debian/ wheezy main non-free
deb http://security.debian.org/ wheezy/updates main contrib
deb-src http://security.debian.org/ wheezy/updates main contrib
Обновляемся
#aptitude update
#aptitude dist-upgrade
Добавляем репозиторий (от root выполняю)
echo "deb http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" | sudo tee -a /etc/apt/sources.list
Импортируем ключ
wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
Обновляем репозиторий
aptitude update
Добалвяем пользователя
adduser vbox
usermod -a -G vboxusers 'vbox'
Если будем устанавливать Web клиент для VirtualBox
Создаем каталоги
#mkdir /var/www && mkdir /var/www/virtualbox
Устанавливаем пакеты
#aptitude install nginx php5-common php5-fpm php-pear
Last updated
Was this helpful?