Last active
December 17, 2015 14:39
-
-
Save GlassGhost/5625885 to your computer and use it in GitHub Desktop.
Debian install on virtualbox the legit hardcore offline install way that dont give 2 shits about no Desktop Environment.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Use a torrent program to Download the debian live rescue iso from: | |
http://cdimage.debian.org/debian-cd/current-live/amd64/bt-hybrid/ | |
Startup VirtualBox | |
make a 16gb drive to use as your root partition. | |
make a 4gb drive to use as a swap partition. | |
Select the iso you downloaded to be your boot partition, and run virtualbox installing with the gui with custom partition scheme using your drives as you made earlier. | |
to use "vi" you start in "command mode" for more info on vi go to http://www.lagmonster.org/docs/vi.html | |
i to go into "insertion mode" to type stuff in | |
"esc key" to go back to command mode | |
:x Exit, saving changes | |
:q! Exit and ignore any changes | |
Login as root use "vi /etc/group" to add your UserID to the "sudo" group, then login with your UserID. | |
type "exit" to logout | |
then "login" to get the login prompt | |
Now that you are in the sudo group; you may now use the sudo command!! | |
logout of root and login with your userid & use "sudo vi /etc/network/interfaces" and to set it to the following: | |
# This file describes the network interfaces available on your system | |
# and how to activate them. For more information, see interfaces(5). | |
# The loopback network interface | |
auto lo | |
iface lo inet loopback | |
# The primary network interface | |
auto eth0 | |
allow-hotplug eth0 | |
iface eth0 inet dhcp | |
use "sudo vi /etc/apt/sources.list" to set it to the following: | |
deb http://ftp.debian.org/debian/ wheezy main | |
deb-src http://ftp.debian.org/debian/ wheezy main | |
deb http://security.debian.org/ wheezy/updates main | |
deb-src http://security.debian.org/ wheezy/updates main | |
# wheezy-updates, previously known as 'volatile' | |
deb http://ftp.debian.org/debian/ wheezy-updates main | |
deb-src http://ftp.debian.org/debian/ wheezy-updates main | |
sudo apt-get update | |
mkdir ~/pkgs | |
sudo apt-get --no-install-recommends -do dir::cache::archives="~/pkgs" install lxde aptitude dkms synaptic | |
sudo dpkg -i ~/pkgs/*.pkg | |
sudo aptitude upgrade | |
sudo aptitude install linux-headers | |
then in virtualbox click view->devices->install guest additions | |
open the iso and running "sudo bash VBoxLinuxAdditions.run && sudo reboot" | |
Then use "vi /etc/group &" to add your UserID to the "vboxsf" group. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment