惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
T
Threatpost
Latest news
Latest news
N
News | PayPal Newsroom
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Help Net Security
Help Net Security
D
Darknet – Hacking Tools, Hacker News & Cyber Security
AI
AI
Simon Willison's Weblog
Simon Willison's Weblog
TaoSecurity Blog
TaoSecurity Blog
The Last Watchdog
The Last Watchdog
L
LINUX DO - 热门话题
Google DeepMind News
Google DeepMind News
T
Threat Research - Cisco Blogs
O
OpenAI News
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
T
The Exploit Database - CXSecurity.com
NISL@THU
NISL@THU
Application and Cybersecurity Blog
Application and Cybersecurity Blog
S
Securelist
小众软件
小众软件
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Martin Fowler
Martin Fowler
S
SegmentFault 最新的问题
Cisco Talos Blog
Cisco Talos Blog
云风的 BLOG
云风的 BLOG
AWS News Blog
AWS News Blog
GbyAI
GbyAI
N
News and Events Feed by Topic
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
美团技术团队
Engineering at Meta
Engineering at Meta
A
About on SuperTechFans
博客园 - 三生石上(FineUI控件)
S
Schneier on Security
博客园 - 聂微东
V2EX - 技术
V2EX - 技术
T
Troy Hunt's Blog
SecWiki News
SecWiki News
S
Secure Thoughts
B
Blog RSS Feed
Hugging Face - Blog
Hugging Face - Blog
WordPress大学
WordPress大学
腾讯CDC
H
Heimdal Security Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Apple Machine Learning Research
Apple Machine Learning Research
月光博客
月光博客
www.infosecurity-magazine.com
www.infosecurity-magazine.com
P
Privacy International News Feed

博客园 - homegis

关于开源GIS和商业GIS的讨论 B树索引学习 cordova 开发 ios app 简要流程 cordova 开发 android app 简要流程 3D开源推荐:3DWebExplorer 3D开源推荐:全球卫星地图 Esri-Satellite-Map 空间网络分析开源环境的安装方法 Computing Aggregate Queries in Raster Image Databases Using Pre-Aggregated Data Cheetah:A High Performance, Custom Data Warehouse on Top of MapReduce 【转】 Ubuntu内核编译 Fuzzy C-Means Clustering【转】 【转】什么是数据驱动编程 DISPLAY connection problem when using ENVI/IDL in X Terminal LINUX 上 ENVI 4.7 安装步骤,IDL 调用方式 图论——网络最大流和最小截 [转]多表连接的三种方式详解 HASH JOIN MERGE JOIN NESTED LOOP VS2005 调用 IDL7.1 方法 [转] 如何下载Google Earth中的卫星影像 【转】Envi调用MODIS Reprojection Tool(MRT)对MODIS产品进行批处理拼接、重投影、裁切 - homegis
Gfarm 安装(已测试)
homegis · 2012-05-01 · via 博客园 - homegis

Gfarm Installation

check the process currently running:

$netstat –tuanp

if the software has been installed, remove them:

$sudo apt-get purge XXX

refer to the normal installation guide, INSTALL.en to install dependent libraries.

Gfarm 2.5 for example:

$sudo apt-get install libssl-dev libldap2-dev libq-dev libfuse-dev postgresql postgresql-client

$./configure --with-postgresql=/usr --with-openssl=directory --prefix=/opt/gfarm --enable-xmlattr

$make

#make install

remember that: every node should be edit /etc/hosts file to specify hostname to accordingly IP address.

Config MeteData Server Node

Check the PostgreSQL is still running:

$netstat –tuanp (default port is 5432)

If yes, stop it:

# /etc/init.d/postgresql stop

config metedataserver:

# config-gfarm –p 5432 (-t : check configuration before do it truly)

Create shared secret key for Admin account in home directory(this case:/home/dodo/):

$ gfkey –f –p 31536000

Create an account for communication between server node and file node in security:

#adduser –gecos ‘Gfarm gfsd’ _gfarmfs --force-badname

(password is null)

Create a shared secret key for _gfarmfs user in home directory:

# su _gfarmfs

$ gfkey –f –p 31536000

Config File Node

Create an account for communication between server node and file node in security.

#adduser –gecos ‘Gfarm gfsd’ _gfarmfs --force-badname

(password is must)

Copy the shared secret keys for Admin account from MD Node to the same home directory in SD Node.

Copy the shared secret keys for _ gfarmfs account from MD Node to the same home directory in SD Node.

Copy the file etc/gfarm2.conf from MD Node to the same directory in SD Node.

$config-gfsd (-t for check the configuration before doing truely)

Using admin_user of GFarm on Server Node to register File Node

$su dodo

$ gfhost -c -a i386-centos3.8-linux -p 600 -n 2 kent

Then change to root user and setup gfsd service

#/etc/init.d/gfsd start

Client Node Installation and Configuration

Refer to the Installation Guide in Gfram2fs, INSTALL, and install it.

Create Directory on Every File Node and Mount It:

$mkdir CloudFS

$gfarm2fs CloudFS

 Run GFarm after system restart

MetaData Node

Stop postgresql:

/etc/init.d/postgresql stop

run gfarm database:

/etc/init.d/gfarm-pgsql start

run gfmd:

/etc/init.d/gfmd start

File Node:

          run gfsd:

          /etc/init.d/gfsd start

auto setup when booting:

    give up passwd for sudo: $sudo visudo

    and add a line: dodo ALL=NOPASSWD:ALL

    open /etc/rc.local to add following lines:$sudo nano /etc/rc.local

    MD node:

    sudo /etc/init.d/postgresql stop

    sudo /etc/init.d/gfarm-pgsql start

    sudo /etc/init.d/gfmd start

    sudo /opt/gfarm2fs/bin/gfarm2fs CloudFS

    FD node

    sudo /etc/init.d/gfsd start

    sudo /opt/gfarm2fs/bin/gfarm2fs CloudFS