... | ... |
@@ -1,5 +0,0 @@ |
1 |
-### DB2 Install |
|
2 |
- |
|
3 |
-cd /usr/local/src |
|
4 |
- |
|
5 |
-curl -L https://www6.software.ibm.com/sdfdl/v2/regs2/db2pmopn/db2_v97/expc/Xa.2/Xb.aA_60_-iVlRRTUNBO90Dq4FHTisv_wdecoCQFeRQbw/Xc.db2exc_974_LNX_x86.tar.gz/Xd./Xf.LPr.D1vk/Xg.6107654/Xi.swg-db2expressc/XY.regsrvs/XZ.2ygJIAbTC5bn3tv2hlm2PnXUcz8/db2exc_974_LNX_x86.tar.gz > db2exc_974_LNX_x86.tar.gz |
... | ... |
@@ -1,5 +0,0 @@ |
1 |
-# Create database |
|
2 |
-create database dbix_custom; |
|
3 |
- |
|
4 |
-# Create User |
|
5 |
-GRANT ALL PRIVILEGES ON dbix_custom.* TO dbix_custom@"localhost" IDENTIFIED BY 'dbix_custom'; |
... | ... |
@@ -1,55 +0,0 @@ |
1 |
-# Download |
|
2 |
-http://download.oracle.com/otn/linux/oracle10g/xe/10201/oracle-xe-univ-10.2.0.1-1.0.i386.rpm |
|
3 |
- |
|
4 |
-# Install |
|
5 |
-rpm -ivh oracle-xe-univ-10.2.0.1-1.0.i386.rpm |
|
6 |
-/etc/init.d/oracle-xe configure |
|
7 |
- |
|
8 |
-# Note |
|
9 |
-Port number is set to 8090 |
|
10 |
- |
|
11 |
-# HTTP access |
|
12 |
-http://127.0.0.1:8090/apex |
|
13 |
- |
|
14 |
-# Create user |
|
15 |
-id: dbix_custom |
|
16 |
-password: dbix_custom |
|
17 |
- |
|
18 |
-Add all privirage |
|
19 |
- |
|
20 |
-# DBD::Oracle |
|
21 |
-You must be install install client |
|
22 |
-oracle-instantclient11.2-basic-11.2.0.2.0.i386.rpm |
|
23 |
-oracle-instantclient11.2-devel-11.2.0.2.0.i386.rpm |
|
24 |
-oracle-instantclient11.2-sqlplus-11.2.0.2.0.i386.rpm |
|
25 |
- |
|
26 |
-rpm -hiv oracle-instantclient11.2-basic-11.2.0.2.0.i386.rpm |
|
27 |
-rpm -hiv oracle-instantclient11.2-devel-11.2.0.2.0.i386.rpm |
|
28 |
-rpm -hiv oracle-instantclient11.2-sqlplus-11.2.0.2.0.i386.rpm |
|
29 |
- |
|
30 |
-vi /etc/profile.d/oracle.sh |
|
31 |
-export ORACLE_HOME='/usr/lib/oracle/11.2/client' |
|
32 |
-export C_INCLUDE_PATH='/usr/include/oracle/11.2/client' |
|
33 |
-export LD_LIBRARY_PATH='/usr/lib/oracle/11.2/client/lib' |
|
34 |
- |
|
35 |
-vi /etc/ld.so.conf.d/oracle.conf |
|
36 |
-/usr/lib/oracle/11.2/client/lib |
|
37 |
- |
|
38 |
-cpan DBD::Oracle |
|
39 |
- |
|
40 |
-sqlplus dbix_custom/dbix_custom@localhost:1521/XE |
|
41 |
- |
|
42 |
-mkdir -p $ORACLE_HOME/network/admin/ |
|
43 |
-vi $ORACLE_HOME/network/admin/tnsnames.ora |
|
44 |
- |
|
45 |
-XE = |
|
46 |
- (DESCRIPTION = |
|
47 |
- (ADDRESS_LIST = |
|
48 |
- (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)) |
|
49 |
- ) |
|
50 |
- (CONNECT_DATA = |
|
51 |
- (SID = orcl) |
|
52 |
- ) |
|
53 |
- ) |
|
54 |
- |
|
55 |
- |
... | ... |
@@ -1,35 +0,0 @@ |
1 |
-### CentOS5 |
|
2 |
- |
|
3 |
-# Install |
|
4 |
-yum -y install postgresql-server |
|
5 |
-yum -y install postgresql |
|
6 |
-yum -y install postgresql-devel |
|
7 |
-chkconfig --level 2345 postgresql on |
|
8 |
- |
|
9 |
-# Start server |
|
10 |
-service postgresql start |
|
11 |
- |
|
12 |
-# Change config file |
|
13 |
-vi /var/lib/pgsql/data/pg_hba.conf |
|
14 |
- # "local" is for Unix domain socket connections only |
|
15 |
- local all all trust |
|
16 |
- |
|
17 |
-# Create user and database |
|
18 |
-su - postgres |
|
19 |
-createuser -a -d -U postgres -P dbix_custom |
|
20 |
- # Shall the new role be a superuser? (y/n) -> y |
|
21 |
- # Shall the new role be allowed to create databases? (y/n) -> y |
|
22 |
- # Shall the new role be allowed to create more new roles? (y/n) -> y |
|
23 |
- |
|
24 |
-createdb dbix_custom -U dbix_custom |
|
25 |
- |
|
26 |
-# Connect to database |
|
27 |
-psql -U dbix_custom dbix_custom |
|
28 |
- |
|
29 |
-# Install DBD::pg |
|
30 |
-cpanm DBD::Pg |
|
31 |
- |
|
32 |
-### Memo |
|
33 |
- |
|
34 |
-# Drop user |
|
35 |
-dropuser dbix_custom |
... | ... |
@@ -1,13 +0,0 @@ |
1 |
-# Site |
|
2 |
-http://awoni.net/fc/sql-server-2008-express/ |
|
3 |
- |
|
4 |
- |
|
5 |
-# Install |
|
6 |
-http://www.microsoft.com/downloads/ja-jp/details.aspx?displaylang=ja&FamilyID=967225eb-207b-4950-91df-eeb5f35a80ee |
|
7 |
- |
|
8 |
- |
|
9 |
-# Note |
|
10 |
-You enable SQL Server authentication. |
|
11 |
-You create user "dbix_custom", password "dbix_custom" |
|
12 |
-You give create_table, insert, update, delete, select authority to user "dbix_custom". |
|
13 |
- |