Categories
Tips & Tricks

Ubuntu with Japanese keyboard

My issue I cannot use some key (see the red keys) on keyboard, the layout of keyboard is not correct. OS: Ubuntu version 18.04 Keyboard: look like below image Resolving method In Terminal run below command and follow instruction images. sudo dpkg-reconfigure keyboard-configuration From this step, it up to you. Restart machine to see the […]

Categories
Tips & Tricks

Mount disk using command line with udisksctl

Firstly, determine the disk partition you intend to use. Below command will list all available partition by label. Mount the partition (for a block device, please use argument ‘-b’): You will be asked for authentication when execute above command. Please read the manpage for more information.

Categories
Tutorials

GoldenDict – ứng dụng từ điển tiện ích

Giới thiệu Nếu bạn là người dùng Ubuntu, hiện tại cũng có khá nhiều ứng dụng từ điển để bạn lựa chọn. Lúc trước mình từng sử dụng StarDict, thời gian sau đó tìm thấy GoldenDict và quyết định dùng nó cho đến hiện tại. Ở bài viết này mình sẽ giới thiệu qua về […]

Categories
Tips & Tricks

Git – copy committed files

Some time I have troubles when working with git patch, if some lines is mismatched, the patch could not be applied. That is time when I want to copy full files and apply to target repository. # How to do: Firstly, check out the revision that we need to get files. Next, we get list […]

Categories
Tutorials

Setup a Git server for local use

# On server side Make sure you have install ssh server, sudo apt install openssh-server Create ‘git’ user sudo adduser git sudo passwd git Create repository (remember to use git init –base on server side): su – git mkdir /home/git/sample-project.git cd sample-project.git git init –bare –shared Create users to use git sudo adduser user1 Add […]

Categories
Blog

Ubuntu – Install Elasticsearch HQ

Environment: Ubuntu 18.04 Download zip file from ElasticHQ  official repository. sudo apt install python3 Extract zip file, then open terminal in root folder of source: pip3 install -r requirements.txt python3 application.py Access site from address: http://localhost:5000

Categories
Tips & Tricks

Ubuntu 18.04: Make Terminal background transparent

Open setting dialog by choose menu Edit > Preferences, select tab Colors: Turn off check box ‘Use colors from system theme’ and ‘Use transparency from system theme’. Turn on check box  ‘Use transparent background’ then drag slider to set transparency as your need.  

Categories
Blog

Docker – setup a container environment for development

What is Docker? “Docker is a computer program that performs operating-system-level virtualization” (https://en.wikipedia.org/wiki/Docker_(software)) Instead of creating a virtual machine to set up a dev environment, now we has another option 🙂 Install Docker CE Docker CE is version for single user or development team. To install Docker CE on Ubuntu, see https://docs.docker.com/install/linux/docker-ce/ubuntu/ You can also […]

Categories
Tips & Tricks

Backup Ubuntu using Clonezilla

[Caution] This is just my experience, and I do not warrant that it work for you. Please carefully read manual document before using Clonezilla to prevent data loss. (See manual page) I need to backup Ubuntu 18.04 for my Dell Latitude laptop and I decide to use CloneZilla. You can found the download file at […]

Categories
Tips & Tricks

Ubuntu 18.04 – Where is ‘suspend’ button?

After using the new Ubuntu version  a few weeks, I just notice that I cannot find ‘Suspend’ button. And here is it: When you open system menu on the top-right corner, press ‘Alt’ key, the Power-off button will become ‘Suspend’ button. And, where is ‘Log-out’ button? On the menu, click your user name, you will […]