- https://downloads.mariadb.org/mariadb/repositories/#mirror=aarnet_pty_ltd



------------ 14.04 trusty ------------ 

# apt-get install software-properties-common

# apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db

# add-apt-repository 'deb http://mirror.aarnet.edu.au/pub/MariaDB/repo/10.0/ubuntu trusty main'


# apt-get update

# apt-get install mariadb-server mariadb-client

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


블로그 이미지

Melting

,

- https://www.virtualbox.org/wiki/Linux_Downloads


단순히 'apt-get update; apt-get install virtualbox' 하면 잡다한 에러가 발생...


1. vi /etc/apt/sources.list

  deb http://download.virtualbox.org/virtualbox/debian trusty contrib



2. add Oracle public key

  wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -



3. apt-get update ; apt-get install dkms ; apt-get install virtualbox-4.3


블로그 이미지

Melting

,

1. Source downloads 

https://launchpad.net/test-db/

http://dev.mysql.com/doc/employee/en/employees-introduction.html 



2. Data load 

C:\employees_db>c:\mariadb\bin\mysql -u root -p employees < employees.sql

Enter password: *****

INFO

CREATING DATABASE STRUCTURE

INFO

storage engine: InnoDB

INFO

LOADING departments

INFO

LOADING employees

INFO

LOADING dept_emp

INFO

LOADING dept_manager

INFO

LOADING titles

INFO

LOADING salaries



3. Data validation

C:\employees_db>c:\mariadb\bin\mysql -u root -p employees

Enter password: *****

Welcome to the MariaDB monitor.  Commands end with ; or \g.

Your MariaDB connection id is 8

Server version: 10.0.15-MariaDB mariadb.org binary distribution


Copyright (c) 2000, 2014, Oracle, SkySQL Ab and others.


Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.


MariaDB [employees]> select count(dept_no) from departments ;

+----------------+

| count(dept_no) |

+----------------+

|              9 |

+----------------+

1 row in set (0.00 sec)


MariaDB [employees]> select count(emp_no) from employees ;

+---------------+

| count(emp_no) |

+---------------+

|        300024 |

+---------------+

1 row in set (0.12 sec)


MariaDB [employees]> select count(emp_no) from dept_emp;

+---------------+

| count(emp_no) |

+---------------+

|        331603 |

+---------------+

1 row in set (0.10 sec)


MariaDB [employees]> select count(dept_no) from dept_manager;

+----------------+

| count(dept_no) |

+----------------+

|             24 |

+----------------+

1 row in set (0.00 sec)


MariaDB [employees]> select count(emp_no) from salaries ;

+---------------+

| count(emp_no) |

+---------------+

|       2844047 |

+---------------+

1 row in set (0.42 sec)


MariaDB [employees]> select count(emp_no) from titles;

+---------------+

| count(emp_no) |

+---------------+

|        443308 |

+---------------+

1 row in set (0.16 sec)


MariaDB [employees]>



4. Data Schema

(- http://dev.mysql.com/doc/employee/en/sakila-structure.html)








블로그 이미지

Melting

,

-- 64bit kernel --

# wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.14.1-trusty/linux-headers-3.14.1-031401_3.14.1-031401.201404141220_all.deb

# wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.14.1-trusty/linux-headers-3.14.1-031401-generic_3.14.1-031401.201404141220_amd64.deb

# wget -c http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.14.1-trusty/linux-image-3.14.1-031401-generic_3.14.1-031401.201404141220_amd64.deb



-- kernel installation --

# dpkg -i  linux-*.deb


# shutdown -r now


# lshw -C network



-- kernel removal --

# apt-get remove linux-headers-3.14.1* linux-image-3.14.1*


블로그 이미지

Melting

,
--- install ---
# apt-get install trash-cli
$ vi .bashrc
alias rm='trash-put'


--- usage ---
$ trash-list  
$ restore-trash
$ trash-empty 





블로그 이미지

Melting

,

1. Update Manager > Refresh 

   > 'mintupdate 4.7.9' : Install Updates

 









2. Update Manager > Edit (Menu) > Upgrade to Linux Mint 17.1 Rebecca





블로그 이미지

Melting

,

# apt-get install open-vm-tools

# vmware-toolbox-cmd help disk

disk: perform disk shrink operations

Usage: vmware-toolbox-cmd disk <subcommand> [args]


Subcommands:

   list: list available locations

   shrink <location>: wipes and shrinks a file system at the given location

   shrinkonly: shrinks all disks

   wipe <location>: wipes a file system at the given location

# vmware-toolbox-cmd disk shrink /



*. 간혹 /dev/null 이나 /dev/zero를 특정파일로 복사한 후 지우는 법을 
    얘기하는 경우가 있는데... 거의 효과없음... vmware-toolbox-cmd를 
    설치해서 사용할 것!!!


블로그 이미지

Melting

,




1. install git-scm

   > http://www.git-scm.com/


2. install jdk1.8 +


3. make temp-build directory


4. open 'Git Bash' at temp directory

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

$ export JAVA_HOME=/C/dev/jdk18

$ export PATH=$JAVA_HOME/bin:$PATH

$ git clone git://github.com/SpringSource/spring-framework.git

$ cd spring-framework

$ ./gradlew install

$ git checkout v3.2.6.RELEASE

$ ./gradlew depsZip

  > build/distributions/spring-framework-${VERSION}-dist-with-deps.zip

  >  If 'java.util.Arrays' error occurs, try with JDK1.7 (step 2.)

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



- https://github.com/spring-projects/spring-framework/wiki/Building-a-distribution-with-dependencies


블로그 이미지

Melting

,

+. install add-apt-repository software

sudo apt-get install python-software-properties

sudo apt-get install software-properties-common


+. repository management

add-apt-repository ppa:~~~~

add-apt-repository --remove -y ppa:~~~


grep -h ^deb /etc/apt/sources.list /etc/apt/sources.list.d/*

grep -h ^deb* /etc/apt/sources.list /etc/apt/sources.list.d/*

grep ^ /etc/apt/sources.list /etc/apt/sources.list.d/*




블로그 이미지

Melting

,

- http://www.ubuntuupdates.org/ppa/google_chrome


# wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub |  apt-key add - 

# sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'

# apt-get update

# apt-get install google-chrome-stable



블로그 이미지

Melting

,