Reinstall virtualbox debian

Uninstall VirtualBox -> sudo apt-get purge "^virtualbox-.*"

Check carefully what will be removed before you confirm.

Update the software repositories -> sudo apt-get update

Clean up -> sudo apt-get autoremove | sudo apt-get autoclean | sudo apt-get clean

rm -r /etc/init.d/vboxdrv
rm -r /var/lib/update-rc.d/vboxdrv
apt-get install virtualbox virtualbox-dkms virtualbox-guest-utils virtualbox-guest-additions virtualbox-qt


Vagrant commands manage

A VirtualBox machine with the name 'vm_name' already exists. Please use another name or delete the machine with the existing name, and try again.

I listed current running virtual machines from the command line :

vboxmanage list vms

Result :

"vm_name" {8ba467b7-da96-4f68-9bf8-671dd6f0d007}

Then proceeded with the removal of the offending virtual machine :

VBoxManage unregistervm 8ba467b7-da96-4f68-9bf8-671dd6f0d007 --delete

vagrant up --provision

The code has been tested and works

How to install Composer on Debian

To make Composer (globally) available on Debian:

$ cd /usr/src
$ sudo apt-get install curl php5-cli
$ curl -sS | sudo php
$ sudo mv composer.phar /usr/bin/composer

Verify installation:

$ composer --version
Composer version 4ecdbf89c4a3d1e5dfe73c57e3202a5e2a18c87e 2014-07-28 20:12:27

The code has been tested and works

How to split the tar.gz archive into volumes and how it then join

To create an archive divided into volumes in the console you want to run a normal backup with the transfer of the result in output

tar -czvf - name_directory | split -b 1999m - name_file.tar.gz

As a result, we obtain the files are split into parts
To merge the file and extract it

cat name_file* | tar -xzf -

The code has been tested and works


Subscribe to RSS - Linux