salebad.blogg.se

Download ubuntu 14.04 headless server
Download ubuntu 14.04 headless server





and is part of sudoers: sudo adduser vboxadmin sudo Make sure user has home directory: sudo mkdir /home/vboxadmin & sudo chown vboxadmin:users /home/vboxadmin & sudo usermod -home /home/vboxadmin vboxadmin Install VirtualBox: sudo apt-get update & sudo apt-get install virtualbox-5.1 virtualbox-ext-pack virtualbox-dkmsĬreate a user that will own/run the phpVirtualBox: sudo useradd vboxadmin Install dkms: sudo apt-get install build-essential dkmsĮdit: sudo vi /etc/apt//virtualbox.listĪdd the key: wget -q -O- | sudo apt-key add. We are going to create nf file in /etc/vncserver directory to set VNC’s port, screen resolution for each user.Start with: sudo apt-get update & sudo apt-get dist-upgrade & sudo apt-get autoremove Sudo chmod +x /etc/init.d/vncserver Create VNC Server configuration file The modified xstartup file should look like this #!/bin/sh

download ubuntu 14.04 headless server

What you need to do is to uncomment two lines “unset SESSION_MANAGER” and “exec /etc/X11/xinit/xinitrc”, then add “startxfce4 &” to the file. X-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & # Uncomment the following two lines for normal desktop: This is the original configuration file #!/bin/sh The next step is to turn off vncserver to modify the xstartup file (startup script) to make vncserver start with xfce4 (we installed xfce4 for this tutorial) This password can be the same as your user’s password or different, it’s up to you but I highly recommend you to set this password different to your user’s password for better security measure. Now lets login as that user to generate the default configuration for VNCįirst time you startup vncserver, you will be asked to provide vnc’s password to access to your VNC Server. Lets let them add them to the sudo list to allow for installing and updating applications For the purpose of this tutorial, I’m creating “puremedia” user, but you can choose whatever user/username you want to use or even your exiting privileged user. If you are using root, I strongly recommend you to create a regular/privileged user and use this user rather than root. If you have a regular/privileged user, you can skip this step. You can always run your system with root, but it’s not a good security practice. Installing VNC Server on Ubuntu 14.04 is simple, but configuration is a different story. You can install other but for the shake of this tutorial I will just use XFCE.Īpt-get install xubuntu-desktop xfce4 firefox nano I’m using Ubuntu 14.04 64-bit Server for this tutorial so I will install a GUI of my choice, XFCE is always my favorite Desktop Environment.

download ubuntu 14.04 headless server

It’s a good practice to keep our servers/machines secured also This will work with ubuntu 14.04+Īs usual I always update my system before I install anything.

download ubuntu 14.04 headless server

This Guide will show you how to Install a GUI or Desktop on a Headless/Server machine.







Download ubuntu 14.04 headless server