2017/04/14

Impressive theme Paper

It's really impressive theme for Linux Mint.


[command]
sudo add-apt-repository ppa:snwh/pulp
sudo apt-get update
sudo apt-get install paper-icon-theme
sudo apt-get install paper-gtk-theme
sudo apt-get install paper-cursor-theme






[reference]
https://snwh.org/paper

Auto mount nfs on Linux/Debian

I am used to running a couple of virtual machines at the same time on my PC and I need to share files with each VMs. Therefore, I utilize nfs to meet my requirement. Notice that it doesn't have much security considering.

Install nfs server:

[command]
sudo apt-get install nfs-kernel-server nfs-common
mkdir /home/hubert/workspace
chmod -R 777 /home/hubert/workspace/
vi /etc/exports


[modify]
/home/hubert/workspace 192.168.56.8(rw,sync,no_root_squash,no_all_squash)

# Please replace 192.168.56.8 with your own client IP address.
save, refresh, and restart nfs
[command]
sudo exportfs -r
sudo /etc/init.d/nfs-kernel-server restart

---------------------------------------------------------------

Configure nfs client:

[command]
sudo apt-get install nfs-commom
mkdir -p /media/hostshare


test it manually, please replace 192.168.56.1 with your own host IP address.

[command]
mount -t nfs 192.168.56.1:/home/hubert/workspace  /media/hostshare


auto mount nfs:

[command]
sudo vi /etc/fstab

[modify]
192.168.56.1:/home/hubert/workspace    /media/hostshare  nfs  defaults 0 0

# Please replace 192.168.56.1 with your own host IP address.
save and restart your VM to check it works or not.

Modify network settings under command line on Linux / Debian.

It tells you how to modify network settings under command line on Linux / Debian.

[command]
vi /etc/network/interfaces

[modify]
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

auto eth1
iface eth1 inet static
address 192.168.56.100
netmask 255.255.255.0
gateway 192.168.56.1

---------------------------------------------------------------

restart network and apply the settings.
[command]
/etc/init.d/networking restart

Install LINE on Linux Mint 18.1 via wineHQ

It tells you how to install LINE windows version on Linux Mint 18.1.

Install wineHQ
[command]
sudo add-apt-repository ppa:wine/wine-builds
sudo apt-get update
sudo apt-get install winehq-devel


Install winetricks and run it
[command]
sudo apt-get install winetricks
winetricks


Follow these steps:
1. What do you want to do?
-> Select the default wineprefix -> OK

2. What would you like to do to this wineprefix?
-> Install a Windows DLL or component -> OK

3. Which package(s) would you like to install?
-> vcrun2008 -> OK

4. It might take some time to install few necessary packages.

5. Close winetricks window.

6. Please download the LINE App from the official website https://line.me/ .

7. Click mouse right button on LineInst.exe .

8. select Open with -> Wine Windows Program Loader.

9. Install and run it.