1 1 CentOS Java JDK(JavaSE Development Kit)......

Similar documents
防災マップ作成システムの開発業務基本設計書

変更履歴 Version 日付 変更内容 /8/23 初版作成 /1/17 他ドキュメントのバージョンアップに伴い版数のみ更新 /6/13 他ドキュメントのバージョンアップに伴い版数のみ更新 /1/15 動作環境でインストールするソ

ql tar.gz の展 9 開 # su - $ cd /usr/local/src/ $ tar xvzf ql tar.gz PostgreSQL(9.2.4) のインストール $ ls -l /usr/local/src/ drwxrwxr-x 月

A : kerl kerl Erlang/OTP Erlang/OTP 2 2 Elixir/Phoenix URL 2 PDF A.2 Bash macos.bash_profile exp

PostgreSQLによる データベースサーバ構築技法

1_postgis(2.2.1) のインストール No 概要 対象 ユーザ コマンド 確認 ( 確認コマンド等 ) 備考 # yum install gcc # gcc -v - 組み込み spec を使用しています COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/

PostgreSQL

ジオコーディングサーバインストールマニュアル

PowerGres on Linuxマニュアル


PowerGres on Linuxマニュアル

PHP4徹底攻略 改訂版

unix.dvi

# mv httpd tar.gz /usr/local/src /usr/local/src # tar zxvf httpd tar.gz make #./configure # make # make install Apache # /usr/local/apac

OpenAM 13 インストールガイド

橡環境設定.PDF

別紙 : 検証環境の構築手順 ( 章 ) 1. サーバ設定 1.1 IP アドレス設定 サーバは以下の 6 台を用いる pgpool-ii サーバ 2 台 DB サーバ 3 台 上位サーバ 1 台 OS は全サーバで CentOS 6.4 x86_64 とする pgpool-ii のサー

ServerView with Data ONTAP-v™ PowerChute® Network Shutdown 設定について

JNOD32OPE_1.book

Javaインストール手順書

untitled

UNIX

Introduction Purpose This training course demonstrates the use of the High-performance Embedded Workshop (HEW), a key tool for developing software for

PowerGres on Linux HAマニュアル

P X-M04-00 PowerChute Network Shutdown PowerChute Network Shutdown Standard v2.2.3a / Enterprise v2.2.3v PowerChute Network Shutdown Standard

Red Hat Enterprise Linux AS (v.3 for IPF) Update 3

syspro-0405.ppt

Web apache


日医特定健康診査システム ORCA PROJECT Linux 対応版インストールマニュアル (Version 対応 ) Debian Etch 用 版 2008 年 10 月 31 日 Copyright (C) 2008 Japan Medical Association

Systemwalker IT Service Management Systemwalker IT Service Management V11.0L10 IT Service Management - Centric Manager Windows

Actual ESS Adapterの使用について

Microsoft Word - koutiku.doc

PostgreSQL 9.0 のレプリケーションを使ってみよう SRA OSS, Inc. 日本支社佐藤友章 2010/12/11 Copyright 2010 SRA OSS, Inc. Japan All rights reserved. 1

JEE 上の Adobe Experience Manager forms のインストールおよびデプロイ(WebLogic 版)

untitled

RedHat OpenFOAM OpenFOAM ver 2.3 RedHat(RHEL)

,,,,., C Java,,.,,.,., ,,.,, i

Microsoft Word - D JP.docx

ドライバインストールガイド

MOTIF XF 取扱説明書

GENESYS2005_Instal_Guide.PDF

Microsoft Word - PrivateAccess_UM.docx

debian_install.dvi

untitled

 

Sybase on CLUSTERPRO for Linux HowTo

Android Studioセットアップガイド

Doctor Web Pacific Dr.Web Mail Security Suite Mail Security Suite Sendmail Postfix qmail MTA(Mail Transfer Agent) SMTP Proxy MTA MTA OS 1 /

アプリケーションサーバ JBoss超入門

Alfresco設置手順書

Oracle HTML DB 導入ガイド

Microsoft Word - KUINS-Air_W10_ docx

dvi

Report Template

Oracle Application Server 10g(9

Microsoft Word - # _Quick_Install_Guide_Final.doc

SecureAssist Enterprise Portal 導入ガイド Version 3.0 対応版 パッケージのダウンロード サーバーへのインストール 管理画面へのログインと基本設定

c h a p t e r 6 $ rpm -q glibc glibc vl2 [glibc 2.1]Vine 2.0beta2 glibc [glibc 2.0]Vine 1.1 ftp://ftp. vinelinux.org/ # rpm -ivh post

IM 21B04C50-01

WebSphere Application Server V5.0 for Linux Ver. 1.11

Java Platform Debugger Architecture Apache JServ Oracle JVM JPDA JVM Tomcat Oracle JVM... 7

目次 1. はじめに 目的 推奨環境 OpenAM サーバー Web サーバー 事前準備 OpenAM サーバーの準備 Web サーバーの準備 Web

untitled

対応した JDBC ドライバ (postgresql jdbc4.jar) に変更します 1.OpenDolphin-2.3m\client\pom.xml の下線部分を変更 <version> jdbc41</version> <version> jd

slice00_install.dvi

Server Backup Manager 5.0 Debian および Ubuntu システムへの Server Backup Free のインストール 1. APT-GET をしてServer Backup Free をインストールする 2. Server Backup Free のインストール

Alibaba Cloud [ ナレッジドキュメント ] AWS EC2 から Alibaba Cloud ECS へのマイグレーション手順 (Linux_PostgreSQL 版 ) AWS EC2 から Alibaba Cloud ECS への マイグレーション手順 (Linux_Postgre

 

Microsoft Word - Android開発環境構築.doc

E2 Spider 2018/08/03 Intel NUC Core i7 PC 2.5 /M.2 SSD BOXNUC7I7BNH PC DDR4-2133(PC ) 8GBX2 260pin 1.2V CL15 SP016GBSFU213B22 WD SSD M /51

MapleNET によるウェブ計算環境

IntraGuardian2 + Manager Professional (Version 3.5.2) インストールガイド Linux 版 第 5 版 2018 年 12 月 17 日 日本シー エー ディー株式会社

untitled

Microsoft Word - Win-Outlook.docx

Cleaner XL 1.5 クイックインストールガイド

Web Web Web Web i

Alibaba Cloud [ ナレッジドキュメント ] AWS EC2 から Alibaba Cloud ECS へのマイグレーション手順 (Linux 版 ) AWS EC2 から Alibaba Cloud ECS への マイグレーション手順 (Linux 版 ) Ver

目次 1. 動作環境チェック 動作必要環境 Java のインストール Java のインストール Firebird のインストール Firebird のインストール Adobe Reader のインストール

Alibaba Cloud [ ナレッジドキュメント ] AWS EC2 から Alibaba Cloud ECS へのマイグレーション手順 (Linux 版 ) AWS EC2 から Alibaba Cloud ECS へのマイグレーション手順 (Linux 版 ) Ver SB

Dr.Web Server Security Suite Ver 簡易構築ガイド -Linux 用 - 株式会社 Doctor Web Pacific 初版 : 2015/10/27 改訂 : Copyright Doctor Web Pacific Inc. All rights


Introduction Purpose This training course describes the configuration and session features of the High-performance Embedded Workshop (HEW), a key tool

Appendix

証明書検証サーバの概要

Samba_HowTo.doc

Microsoft Word - mediawiki.doc

IWF30SupportMatrix_v3.8.xlsx

OpenAM 9.5 インストールガイド オープンソース ソリューション テクノロジ ( 株 ) 更新日 : 2013 年 7 月 19 日 リビジョン : 1.8

debian_manual.dvi

HP OpenSource ブループリント

L3 Japanese (90570) 2008

</dependency> <version> jdbc4</version> </dependency> 2.OpenDolphin-2.3m\server\pom.xml の下線部分を変更 <version> jdbc41</version> </dependenc

ゲスト OS インストール ガイド

CAS Yale Open Source software Authentication Authorization (nu-cas) Backend Database Authentication Authorization Powered by A

Linux管理クイックスタートガイド

CLUSTERPRO ファイルサーバ監視オプション編

Microsoft 365 & 最新デバイスで 進める職場デジタル化と管理  ~体裁や制度で終わらせない働き方改革の入り口~


Lets移行プラットホーム

Transcription:

1 1 CentOS 3 1.1.................................... 3 1.2......................................... 12 2 Java 15 2.1 JDK(JavaSE Development Kit)................. 15 3 Apache Tomcat 17 3.1.................................... 17 3.2................................... 17 3.3 Java..................... 18 4 PostgreSQL 21 4.1.................................... 21 4.2.................... 22 4.3............................. 24 4.4............................. 24 5 27 5.1................................... 27 5.2................................... 27

3 1 CentOS 1.1,, Enter., skip.

4 1 CentOS Next.. Japanese( ), Next.

1.1. 5., (N).. (Y) (N).

6 1 CentOS, (N). #.

1.1. 7,., (N). # GRUB, /dev/hda. NIC, (N).

8 1 CentOS, (N). # / root, (N).

1.1. 9 Server,, (N).,.,, DB Java # ->

10 1 CentOS -> -> FTP -> -> (N).

1.1. 11,., (C). (T),.

12 1 CentOS 1.2. ossmc. #, # root # $. # login:root Password: useradd. # /usr/sbin/useradd ossmc passwd. -> Enter -> ( ) -> Enter.

1.2. 13 # /usr/bin/passwd ossmc Changing password for user user. New UNIX password: Retype new UNIX password: passwd: all authentication tokens updated successfully. SELinux CentOS5 SELinux. SELinux Security-Enhanced Linux, Linux.,. config. # vi /etc/selinux/config <<config >> # This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - SELinux is fully disabled. #SELINUX=enforcing SELINUX=disabled # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted # SELINUX enforcing disabled

14 1 CentOS. # ->, # yum. # /usr/bin/yum update -y

15 2 Java 2.1 JDK(JavaSE Development Kit) # /usr/local/src (jdk-1 5 0 21 linux-i586-rpm.bin). # chmod a+x jdk-1 5 0 21-linux-i586-rpm.bin #./jdk-1 5 0 21-linux-i586-rpm.bin,. yes, Enter. Sun Microsystems, Inc. Binary Code License Agreement for the JAVA 2 PLATFORM STANDARD EDITION DEVELOPMENT KIT 5.0 SUN MICROSYSTEMS, INC. ( SUN ) IS WILLING TO LICENSE THE SOFTWARE IDENTIFIED BELOW TO YOU ONLY UPON THE : : : desktop computers and servers. Do you agree to the above license terms? [yes or no]. : : inflating: jdk-1 5 0 21-linux-i586.rpm Preparing... ########################### [100%]

16 2 Java 1:jdk ########################### [100%] Done.

17 3 Apache Tomcat 3.1 # /usr/local/src tar (apache-tomcat-5.5.28.tar.gz). # tar xvzf apache-tomcat-5.5.28.tar.gz apache-tomcat-5.5.28. mv. # mv apache-tomcat-5.5.28 /usr/local/tomcat. chown. # chown -R ossmc : ossmc /usr/local/tomcat/ 3.2.,.bash profile. # su - ossmc Password: $ cd / $ vi.bash profile <<.bash profile >>

18 3 Apache Tomcat #.bash profile # Get the aliases and functions if [ -f /.bashrc ]; then. /.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin PATH=$PATH:/usr/java/jdk1.5.0 21/bin export PATH unset USERNAME export JAVA HOME=/usr/java/jdk1.5.0 21/ export CATALINA HOME=/usr/local/tomcat export CLASSPATH=$CLASSPATH:$CATALINA HOME/common/lib export CATALINA OPTS= -server -Xms512m -Xmx512m -Xss512k -XX:PermSize=64m -XX:MaxPermSize=64m # # /. $ source.bash profile 3.3 Java JVM. ( )/. -server Java HotSpot Server VM JVM -Xms (*1)

3.3. Java 19 -Xmx (*1) -Xss (*2) -XX:PermSize (*3) -XX:PMaxPermSize (*3) *1 *2 *3

21 4 PostgreSQL 4.1 # /usr/local/src tar (postgresql-8.3.9.tar.gz). # tar xvzf postgresql-8.3.9.tar.gz postgresql-8.3.9. mv., cd. # mv postgresql-8.3.9 /usr/local/src # cd /usr/local/src/postgresql-8.3.9 postgresql.. # /usr/local/pgsql #, configure - -prefix( ) #./configure prefix=/usr/local/pgsql # gmake && gmake install. : : /usr/local/pgsql/lib/pgxs/config/install-sh /bin/sh../config/install-sh -c -m 755./mkinstalldirs /usr/local/pgsql/lib/pgxs/config/mkinstalldirs

22 4 PostgreSQL gmake[1]: Leaving directory /usr/local/src/postgresql-8.3.9/config PostgreSQL installation complete.. chown. # chown -R ossmc : ossmc /usr/local/pgsql/ 4.2.,.bash profile. # su - ossmc Password: $ cd / $ vi.bash profile <<.bash profile >> #.bash profile # Get the aliases and functions if [ -f /.bashrc ]; then. /.bashrc fi # User specific environment and startup programs PATH=$PATH:$HOME/bin PATH=$PATH:/usr/java/jdk1.5.0 21/bin PATH=$PATH:/usr/local/pgsql/bin export PATH unset USERNAME export JAVA HOME=/usr/java/jdk1.5.0 21/ export CATALINA HOME=/usr/local/tomcat export CLASSPATH=$CLASSPATH:$CATALINA HOME/common/lib

4.2. 23 export CATALINA OPTS= -server -Xms512m -Xmx512m -XX:PermSize=64m -XX:MaxPermSize=64m export POSTGRES HOME=/usr/local/pgsql export PGLIB=$POSTGRES HOME/lib export PGDATA=$POSTGRES HOME/data export MANPATH=$MANPATH:$POSTGRES HOME/man export LD LIBRARY PATH=$LD LIBRARY PATH:$PGLIB # #PGDATA,. $ source.bash profile. $ initdb -W -E UTF-8,. -> Enter -> ( ) -> Enter. The files belonging to this database system will be owned by user ossmc. This user must also own the server process. The database cluster will be initialized with locale ja JP.UTF-8. : : : initializing pg authid... ok Enter new superuser password: Enter it again:.

24 4 PostgreSQL : : Success. You can now start the database server using: postmaster -D /usr/local/pgsql/data or pg ctl -D /usr/local/pgsql/data -l logfile start 4.3 pg ctl. $ pg ctl start 4.4 PostgreSQL, initdb.. createdb. $ createdb example dropdb.

4.4. 25 $ dropdb example

27 5 5.1 pg ctl. $ pg ctl start startup.sh. $ $CATALINA HOME/bin/startup.sh 5.2 shutdown.sh. $ $CATALINA HOME/bin/shutdown.sh pg ctl. $ pg ctl stop

29 2.1 http://creativecommons.org/licenses/by/2.1/jp/legalcode