Ubuntu

sudo chown -R survey:survey md0

chmod calculator

Raid 10    script

Delete Raid

Ubuntu 14.04 install NVIDIA driver

Optimus bumblebee NVIDIA laptop

Japanese is not used.

fcitx

fcitx-dbus-watcher

split -d -a 2 –additional-suffix=.txt –lines=100000000 E4_tengun.xyz

# symbolic link

sudo ln -s {/path/to/file-name} {link-name}

sudo ldconfig

how to filx

survey@SURVEY-C11:~$ ldd /usr/lib/mw_plfh5.so
linux-vdso.so.1 =>  (0x00007ffe219ba000)
libmLiDAR.so.1.1.0 => /usr/lib/libmLiDAR.so.1.1.0 (0x00007f39a7d18000)
libmLiDARCache.so.1.1.0 => /usr/lib/libmLiDARCache.so.1.1.0 (0x00007f39a7ac5000)
libmwCore.so.1.1.0 => /usr/lib/libmwCore.so.1.1.0 (0x00007f39a782a000)
libmwDataAccess.so.1.1.0 => /usr/lib/libmwDataAccess.so.1.1.0 (0x00007f39a7602000)
libhdf5.so.7 => /usr/lib/x86_64-linux-gnu/libhdf5.so.7 (0x00007f39a716d000)
libhdf5_cpp.so.7 => not found
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f39a6e5e000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f39a6c48000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f39a687e000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f39a667a000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f39a6472000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f39a6254000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f39a6039000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f39a5d31000)
/lib64/ld-linux-x86-64.so.2 (0x00007f39a8175000)

☆path for shared object file

# su -
# vi /etc/ld.so.conf
---
/usr/local/lib
/usr/lib

# ldconfig

# ldconfig -v

☆ Black screen (blackscrenn)

Boot-Repair

Install using Raid

apt-get install mdadm

mdadm --create --verbose /dev/md0 --level=0 --raid-devices=2 /dev/sda1 /dev/sdb1

☆send mail

Postfix : Gmail as Relay – Linux Mint/Ubuntu/Debian

Gmail As Relay on Ubuntu

How to install Epson Printer

Install GRASS

☆settings of LINE

Wine 1.7

sudo apt-get install wine1.7-i386

☆settings of Latex

Texlive

☆how to set printer

UbuntuTips/Hardware/UsingPrinter

☆add PATH

sudo vi ~/.bashrc

sudo gedit ~/.bashrc

 export PATH=$PATH:/path/to_directory_containing_program

export PATH=$PATH:~/ninja

source ~/.bashrc

NVIDIA Driver Settings 1

Download driver

sudo chmod 777 NVIDIA-Linux-x86_64-331.79.run

nouveau setting

sudo gedit /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT=”splash nouveau.modeset=0

kill X

sudo /etc/init.d/lightdm stop

CTRL+ALT+F1

or

CTRL+ALT+F1

sudo service lightdm stop

☆Right Click to Open Terminal from current directory

sudo apt-get install nautilus-open-terminal
killall nautilus && nautilus

no icon issue on the desktop after nvidia driver install

how to solve

sudo apt-get purge fglrx lightdm
sudo apt-get install lightdm ubuntu-desktop
dconf reset -f /org/compiz/
sudo reboot

☆X display export : over ssh

ssh -X -C survey@202.xx.xx.xxx

SSH Port Forwarding

 ubuntuguide

☆ctrl alt delete for linux

ctrl-esc = bring up process list, kill processes
ctrl-alt-esc = launch xkill, and kill a stuck program
ctrl-alt-backspace = kill your GUI session and return to the login prompt
(alt-sysrq)+ rseiub (hold alt and sysrq while typing “rseiub”) = attempt to safely reboot in the event that you can’t get any response from keyboard or mouse.

☆install First

sudo apt-get install build-essential

☆From Japanese to English

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

Ubuntu 12.04.3 LTS (Precise Pangolin)

Using The Terminal

Show lists of users

cat /etc/passwd

Tips ref 1

☆mount external disk

GParted for format

disks

/etc/fstab

/dev/sdb2                                  /media/sdb2  ntfs  defaults             0  0

Enable SSH in Ubuntu 12.04/13.10

sudo apt-get install openssh-server

Component catalog

Canonical and hardware providers certify systems containing the component.

Raid

AACRAID Driver v1.2.1-29900 for Debian and Ubuntu