This blog post is on my setting up another Ubuntu Server VM.
This time I want a VM that has the common software development applications pre-installed.
As such most of the steps are similar to what I did in a previous blog post.
So on this blog post, I will start from the screen where I can select pre-packaged software.
Although, I was not really sure I really need the DNS server and print server, I thought “Ah well. Might as well.”
So they are included.
First thing to setup is to assign a password for MySql server “root” account.
Note: You may have notice that background color have changed from purple to blue.
This was because I typed the wrong confirmation password when setting the password.
This blog post covers connecting to the openssh server installed on Ubuntu server using MobaXterm.
I want to connect to the openssh server.
For this purpose, I use MobaXterm from Mobatek (http://mobaxterm.mobatek.net/).
This is a terminal application with a few other tools built-in.
It has a professional edition which cost money and a home edition that is free.
For our local development purpose, the free edition is fine.
Alternatively, there’s the putty-series (http://www.putty.org/) of applications.
The remainder of this session assumes you are using MobaXterm.
After you start up MobaXterm, you may see a window like the below.
Click on the Session button on the menu.
This will open the Session Settings dialog.
On the Session Settings dialog, click on the SSH button on the top menu.
Under the Basic SSH settings tab, enter the name of the remote host.
Click the OK button to connect to the server.
After you clicked OK, MobaXterm will start your session on a new tab.
You should see your usual login prompt.
You should be able to login to your account as usual.
File transfer using SFTP
You can transfer files from your Windows machine to your Ubuntu machine using SFTP (Secure-FTP).
One the tools built-in the MobaXterm client is a SFTP client.
Click on the SFTP tab to display the directory and files in the directory.
To transfer files, simple drag and drop the files that you want to transfer in the area showing files in specified directory.
After you have installed your Ubuntu server, you may want to do some initial setup.
Specifically, you may want to add a another account.
Adding user account
Adding users can be done using the command adduser. In the below command-line, I am creating a developer account call ‘developer’.
$ sudo adduser developer
After you have create the user account, it might be useful to add the account to the ‘sudo’ group so that the account can make use of the ‘sudo’ command. To do so,
$ sudo addgroup developer sudo
You can check which groups an account belongs to using the ‘groups’ command:
$ groups developer
This is a blog post that describes my setup of Ubuntu Server 14.04 (Trusty Tahr) on VirtualBox.
I intended to use this server for local software development.
|Selected Software Package
||Needed for remote secure shell sessions
||Linux Apache MySql PHP development stack
||Best open-source database
|Samba file server
|Skipped Software Packages
||Don’t really think I need it
||I will describe this in a later blog post
||Don’t really think I need it
|Tomcat Java Server
||Not sure if I want to use this;