Mac : raid 10 Hint

$ diskutil appleRAID list   diskutil createRAID stripe RAID10_Volume_Name JHFS+ UUID_OF_MIRROR_ARRAY1 UUID_OF_MIRROR_ARRAY2   diskutil appleRAID add spare UUID_OF_NEW_HARD_DRIVE UUID_OF_RAID_ARRAY   diskutil appleRAID add member UUID_OF_NEW_HARD_DRIVE UUID_OF_RAID_VOLUME   diskutil appleRAID repairMirror      

Read More

mariadb : JDBC Driver Hint

https://downloads.mariadb.org/connector-java/2.4.2/   /etc/alternatives/jre/lib/ext/mariadb-java-client-2.4.2.jar or /usr/local/share/resin/lib/mariadb-java-client-2.4.2.jar   # vi resin-web.xml   <web-app xmlns=“http://caucho.com/ns/resin”>         <database>                 <jndi-name>jdbc/mysql</jndi-name>                 <driver type=“org.mariadb.jdbc.Driver”>                         <url>jdbc:mysql://localhost:3306/test</url>             […]

Read More