Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
abde7e7f
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
abde7e7f
编写于
1月 28, 2016
作者:
D
Dave Cramer
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
removed files
上级
7e6cdc12
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
0 addition
and
80 deletion
+0
-80
vagrant/Vagrantfile
vagrant/Vagrantfile
+0
-39
vagrant/vagrant-build.sh
vagrant/vagrant-build.sh
+0
-19
vagrant/vagrant-setup.sh
vagrant/vagrant-setup.sh
+0
-22
未找到文件。
vagrant/Vagrantfile
已删除
100644 → 0
浏览文件 @
7e6cdc12
Vagrant
.
configure
(
"2"
)
do
|
config
|
config
.
vm
.
box
=
'debian/jessie64'
# Make this VM reachable on the host network as well, so that other
# VM's running other browsers can access our dev server.
config
.
vm
.
network
:private_network
,
ip:
"192.168.10.200"
# Make it so that network access from the vagrant guest is able to
# use SSH private keys that are present on the host without copying
# them into the VM.
config
.
ssh
.
forward_agent
=
true
config
.
vm
.
provider
:virtualbox
do
|
v
|
v
.
customize
[
"modifyvm"
,
:id
,
"--memory"
,
4096
]
cpu_count
=
2
# Determine the available cores in host system.
# This mostly helps on linux, but it couldn't hurt on MacOSX.
if
RUBY_PLATFORM
=~
/linux/
cpu_count
=
`nproc`
.
to_i
elsif
RUBY_PLATFORM
=~
/darwin/
cpu_count
=
`sysctl -n hw.ncpu`
.
to_i
end
# Assign additional cores to the guest OS.
v
.
customize
[
"modifyvm"
,
:id
,
"--cpus"
,
cpu_count
]
v
.
customize
[
"modifyvm"
,
:id
,
"--ioapic"
,
"on"
]
# This setting makes it so that network access from inside the vagrant guest
# is able to resolve DNS using the hosts VPN connection.
v
.
customize
[
"modifyvm"
,
:id
,
"--natdnshostresolver1"
,
"on"
]
end
nfs_setting
=
RUBY_PLATFORM
=~
/darwin/
||
RUBY_PLATFORM
=~
/linux/
config
.
vm
.
synced_folder
".."
,
"/gpdb"
,
type:
"nfs"
config
.
vm
.
provision
"shell"
,
path:
"vagrant-setup.sh"
#config.vm.provision "shell", path: "vagrant-build.sh"
end
vagrant/vagrant-build.sh
已删除
100755 → 0
浏览文件 @
7e6cdc12
cd
/gpdb
./configure
--enable-debug
--with-python
--with-java
--with-libxml
--prefix
=
/usr/local/gpdb
make clean
make
-j4
sudo
make
install
cd
/gpdb/gpAux
cp
-rp
gpdemo /home/vagrant/
sudo chown
-R
vagrant:vagrant /home/vagrant/gpdemo
cat
/home/vagrant/.ssh/id_rsa.pub
>>
/home/vagrant/.ssh/authorized_keys
cd
gpdemo
source
/usr/local/gpdb/greenplum_path.sh
make cluster
#cd /vagrant/src/pl/plspython/tests
#make containers
#sudo -u postgres make
vagrant/vagrant-setup.sh
已删除
100755 → 0
浏览文件 @
7e6cdc12
sudo
apt-get update
sudo
apt-get
-y
install
apt-transport-https
sudo
apt-key adv
--keyserver
hkp://p80.pool.sks-keyservers.net:80
--recv-keys
58118E89F3A912897C070ADBF76221572C52609D
sudo
bash
-c
'echo "deb https://apt.dockerproject.org/repo debian-jessie main" > /etc/apt/sources.list.d/docker.list'
sudo
apt-get update
sudo
apt-get
install
wget
sudo
apt-get
-y
install
docker-engine build-essential libreadline6
\
libreadline6-dev zlib1g-dev bison flex git-core libcurl4-openssl-dev
\
python-dev libxml2-dev pkg-config vim libbz2-dev python-pip
su vagrant
-c
"ssh-keygen -t rsa -f .ssh/id_rsa -q -N ''"
pip
install
lockfile
pip
install
paramiko
pip
install
setuptools
pip
install
epydoc
pip
install
--pre
psi
sudo
service docker start
sudo
useradd postgres
sudo
usermod
-aG
docker postgres
sudo
usermod
-aG
docker vagrant
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录