Linux Command – sudo apt-get

As a newbie to Linux, I do need to search in the Internet for the command lines to be executed whenever I wanted to do something in the Ubuntu’s environment. Recently, the most commonly used command line that I used is

sudo apt-get install

I used it when I was installing the Java Development Kit JDK 8.0 for example. Then, I am curious what does the sudo means? And is the apt-get means get the application? So, I did a search in the Internet to get more understanding on these commands which I have been using it lately.

Someone wrote in his/her reply,
sudo is a shell command — it’s a program whose name you can type in the shell. Its arguments are a command to run as root, the system user with maximum privileges. (super user do)

apt-get is a shell command, part of the APT tool suite. APT is the package manager on Debian, Ubuntu, Mint and other Linux distributions. apt-get installs and maintains programs and other collections of files (data, documentation, etc.) in the form of packages. Packages are usually downloaded from repositories on the Internet, but can also be read from a CD or other media.

install, here, is a one of apt-get’s commands. It is followed by the name of one or more package to install. Other apt-get commands include remove (to remove the packages whose name follow), upgrade (to upgrade all packages for which upgrades can be downloaded), etc. The apt-get command build-dep installs all the packages that are required to install the specified package from source.

Let me include a link which I found from the Internet where someone is sharing the top 20 useful commands for Linux newbie, http://www.tecmint.com/useful-linux-commands-for-newbies/. If you think this is not enough, I also found another link which showed the 50 most used Linux/Unix commands with examples, http://www.thegeekstuff.com/2010/11/50-linux-commands/?utm_source=feedburner.

Indeed, it is a new journey for myself as a newbie and a lot of learning, trials and errors, hiccups to get things done or worked. The initial fear of touching Linux has gone because I have to use it as part of my work life. Positively looking into this new transformation brought by my new working environment. At the moment, I do not have intention to completely move from Windows to Linux.

With the virtual machine tool installed, I will have more chances to deal with different operating systems. I am looking forward 🙂

MongoDB – GUI

After I finished both installation and new user creation, the next thing which comes into my mind is, does MongoDB has GUI? Coming from the MSSQL background, the SQL management tool is very useful for me and for now, I think I cannot live without it when I start learning MongoDB. I am not sure if this is a correct way of thinking and using the MongoDB. Should the MongoDB required a GUI tool to use, please advise me.

I do not have any idea which GUI is good and a search from the Internet returns Robomongo as the first link in the list. So, I think I will give a try to install it in my virtual machine and test to login using the userID and password I created and start learning and using the database.

Installation of Robomongo
The installar can be downloaded from its website and the installation is done pretty fast in Linux as usual. Then, launch the application and it first glance of look as below:

Create MongoDB Connection
The next step is create new MongoDB connection. It requires to fill up the Name of the connection and we can test the connection to port 27017 is working fine or not but clicking the ‘Test’ button.

Upon receiving the success message, we can proceed to set the authentication.

Test again the authentication and verified it is successful before we save the setting. I am not sure why whenever I connect to the database it does not prompt me for the userID and password. Is it meant to be this way? I will update on this part after my research. Stay tuned!

Ubuntu 16.04 – Unable to Set Singapore Timezone

Upon the Ubuntu 16.04 installation completion on my machine, I realized it was showing Jakarta’s timezone. I repeated the same installation in my virtual machine and it showed Los Angelas’ timezone. Oddly, it is an automatically detected from the Internet.

I tried to enter ‘Singapore’ under the Location, however, it failed to show the correct Asia/Singapore as shown below.

I became clueless why Singapore was not listed in the timezone selection. The closest timezone will be Kuala Lumpur or Johor state in Malaysia. I tried to pick the location from the map which was quite hard because Singapore is a very tiny country in the world map. I am so sorry, I could not input Singapore and I have to use Kuala Lumpur, Malaysia.

If you have the solution on this issue, kindly share with me. Thank you in advanced.

Miam Miam

Miam Miam, Singapore.
Address: #02-14 Bugis Junction 200 Victoria Street, Singapore.

Soufflé De Nuage
The fluffy egg soufflé on top of the thin layered of the tomato fried rice with ham and mushroom. It has plenty of thick ham on the right side and I hardly see any mushrooms in the fried rice. It is slightly imbalance.

Overall, it is a delicious, worth to try and very filling because it is slightly creamy too.

Original Soufflé Pancakes
It is a regular plain pancake, very thick, soft and not very fluffy as I expected. The maple syrup and the pancake blend well and the whole piece of pancake is not too sweet.

Nadeje Cake House

Nadeje Cake House, Mid Valley, Kuala Lumpur, Malaysia.
Address: SK-09, 2nd Floor, Mid Valley Megamall, Mid Valley City, Lingkaran Syed Putra, 59200 Kuala Lumpur, Malaysia.

It was quite disappointed during my visit to the Nadeje Cake House in Kuala Lumpur because the service at Mid Valley was not good. My previous two visits in Malacca were good and their staff were attentive. However, my third visit in Mid Valley did not turn out to be a pleasant. The waiters are foreigners and they are not as attentive as those local ones I met in Malacca.

Mistakenly, I ordered the cold Iced Cafe Latte with cream when I was so cold in the cinema before this. It was nothing great about their drink, maybe it was not their specialty. The background is the original favour crepe cake.

All of our cakes were mistakenly swapped with the table next to us who ordered three cakes as well. We took all the pictures of the caked before we were told they have made the mistakes. The above cake which we thought it was tiramisu but in actually, it was dark chocolate.

All cakes are same price, so to the waiters, it is fine, not a big deal to make such mistake. However, as a diner, my dining experience turns bad and I did not get to enjoy the cake I want to try.

First Linux Experience

The new environment requires me to work using the Linux OS – Ubuntu. It is my first time using the Linux in my working life and it is my second time using Linux OS. The first time was during my college time when we were working on the group assignment to introduce a Linux OS. Back then, I used Suse Linux. I barely have any memories of using the command lines and it is going to be a challenge for me.

Without much knowledge, I dived into the Ubuntu installation from the flash drive on a new machine which just delivered to me this morning. However, I have mistakenly gone into the Windows environment before I started the installation from the USB

I got a help from my colleague. He tried to restart the laptop with an attempt to boot to Advanced Setup from Windows. Make sure the USB is connected to the laptop. I saw he pressed ‘Shift’ and restart.

For Windows 10, we have to change the UEFI Firmware settings to boot device from the USB. It goes into this screen and select ‘Use a device’. Select the USB to be used and the computer will now restart and boot from the selected USB drive.

Some guides can refer here too, https://www.tenforums.com/tutorials/21756-boot-usb-drive-windows-10-pc.html.

However, for my case, after applied the new UEFI firmware setting, it restarted and directly booted up from the USB whereby the Ubuntu installation took place. I

Since my laptop is using the Windows OS, I installed the VMware Workstation in order to allow myself to install the same Ubuntu version on the virtual machine. I feel it is more easy for my learning or do my work if I have the similar environment on my laptop.

Before I begin my setup to create new virtual machine in the VMware Workstation, I downloaded the Ubuntu 16.04 disk image from the Ubuntu website, https://www.ubuntu.com/download/desktop.

To create a new virtual machine, it is simple by following the step by step in the VMware. There is an online guide to follow too, https://betanews.com/2012/08/29/how-to-install-ubuntu-on-vmware-workstation/. I find the step by step setup is easy and fast.

If you wish to customize the setting, you can do it by clicking the ‘Customize Hardware’ button. It prompts up to the screen above. I increased the RAM to 2 GB instead of the default 1 GB and keep the default 20 GB for hard disk space.

Complete the installation with naming the virtual machine and personalized the user setting with username and password. You can choose to ‘Power On’ the virtual machine and start using it before hitting the ‘Finish’ button. This is how the Ubuntu’s interface looks like.

Everything is well setup and working fine. I pretty like the user interface with the task bar on the left, maroon in colour and simple user interface. Initially, I fear that I have to use command prompt all the way to do my work.

Menya Musashi

Menya Musashi, Raffles City, Singapore.
Address: 252 North Bridge Rd, B1-44C, Singapore 179103.

It has been two months I stopped writing food reviews and it is time to resume and put up some nice photos and some reviews about the food which I have tried so far in the month of June.

Firstly, I would like to share with you a worth-to-try premium set from Menya Musashi. It is a Japanese restaurant located at Raffles City shopping center. The premium set which I ordered is called Cha Shu Ramen.

The Chashu ramen, karaage (fried) chicken, a chawanmushi, salad and a glass of drink.

You can choose type of the ramen, thick, thin or matcha noodle. You can choose the soup based too, original, garlic and spicy. Also, you can choose to have fried gyoza or karaage chicken.

My ramen is using original soup broth, thick ramen and it has 1 chashu only with some shredded wood-ear, half egg, seaweed and some pickles. If you order the Chashu ramen set, you will get additional pieces of meat without the karaage chicken and chawanmushi. It depends on your preferences.

The drink is refillable and you can choose between hot or cold houji cha, plain water or other drinks with additional costs.

The lunch is filing, sumptuous, delicious, worth to try. You may want to avoid fried chicken cutlet if you do not want to eat oily food.