Setup CentOS 7 desktop

Change default folders’ name from Japanese to English

LANG=C xdg-user-dirs-gtk-update

This is not neccessary if change display language to English (United State).

Add Japanese and Vietnamese input method

Open System Tools > Settings > Region & Language, add Input Sources Japanese (Kana Kanji) and Vietmese (telex (m17n))

Install Google Chrome


Mount ntfs partition of Windows 8 and 10 in CentOS 7

Should turn off Windows’ Fast Startup
Turn off Fast boot on Japanese Windows 10

# yum install epel-release
# yum install ntfs-3g
# mkdir /mnt/data # To mount ntfs partition as /mnt/data
# mount -t ntfs /dev/sda3 /mnt/data # To mount /dev/sda3 partition

To mount the NTFS partition permanently, add the following line to the /etc/fstab file.

/dev/sda3 /mnt/data ntfs-3g defaults 0 0

Add Windows to boot menu

# grub2-mkconfig -o /boot/grub2/grub.cfg

It seems that grub will find Windows boot loader. If not, append this code to /etc/grub.d/40_custom before running the command above (assume that Windows 10 boot loader is at /dev/sda1)

menuentry "Windows 10" {
   set root='(hd0,1)'
   chainloader +1

Set shortcut to minimize all windows (like Window + D button on Windows)

Open System Tool -> Settings -> Keyboard -> Shortcuts -> Navigation.
Find “Hide all normal windows”, click on it and press “Window + D”, which is displayed as Super + D

Make Apache to allow directory listing

Open conf.d/welcome.conf, comment out >LocationMatch< group.

Setting PostgreSQL

Set login

Edit /var/lib/pgsql/data/pg_hba.conf

local   all   all                  trust
host    all   all   password
host    all   all   ::1/128        password

Set language of messsage

Edit /var/lib/pgsql/data/postgresql.conf, change lc_message

lc_messages = 'en_US.UTF-8'

Install wine

# yum -y install wine

When use wine to run a Windows application, it will ask to install Mono and Gecko, just accept it instead of installing by yourself.

Install VirtualBox



Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: