Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- username: vm
- password: vm
- ---------------------------------------------
- create new nat-network.
- set port forwarding, the the ip the client (vm) uses.
- sudo apt-get update
- build-essential dkms linux-headers-$(uname -r) openssh-server putty kuser python2.7 python-pip
- sudo ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h
- sudo EDITOR=gedit visudo
- vm ALL=(ALL) NOPASSWD: ALL
- sudo apt-get install ubuntu-dev-tools
- sudo apt-get install openssh
- sudo apt-get install openssh-server
- sudo apt-get purge -y libreoffice* thunderbird* pidgin* xchat transmission* totem*
- sudo apt-get install --assume-yes build-essential dkms linux-headers-generic linux-headers-$(uname -r)
- sudo ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h
- sudo apt-get install --assume-yes build-essential dkms linux-headers-$(uname -r) linux-headers-generic
- sudo ln -s /usr/src/linux-headers-$(uname -r)/include/generated/uapi/linux/version.h /usr/src/linux-headers-$(uname -r)/include/linux/version.h will sure help – Elad Karako 1
- sudo apt-get update
- sudo apt-get upgrade
- sudo apt-get install
- sudo apt-get remove openjdk*
- sudo apt-get autoremove
- sudo apt-get clean
- sudo add-apt-repository --yes ppa:webupd8team/java
- sudo apt-get -y update
- sudo apt-get install --assume-yes oracle-java7-installer
- sudo apt-get install apache2
- sudo apt-get install php5 libapache2-mod-php5
- sudo sed -i '$s/$/\n&\n&ServerName localhost/' /etc/apache2/apache2.conf
- sudo /etc/init.d/apache2 restart
- First though, lets remove all the old kernels we dont need otherwise the tweaks below will take forever to complete (copy and paste this into a terminal):
- sudo apt-get remove --purge $(dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/\(.*\)-\([^0-9]\+\)/\1/")"'/d;s/^[^ ]* [^ ]* \([^ ]*\).*/\1/;/[0-9]/!d')
- Now lets hide the attempt to load the kernel module causing the TTY switch
- sudo nano /etc/modprobe.d/blacklist.conf
- Add the following line to the end of the file and save (CTRL+O following by CTRL+X)
- blacklist i2c_piix4
- Next, force plymouth to use the standard boot Framebuffer
- echo FRAMEBUFFER=y | sudo tee /etc/initramfs-tools/conf.d/splash
- Lastly, lets update stuff to ensure the above changes are recognized in the boot sequence
- sudo update-initramfs -u -k all
- Reboot and enjoy.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement