Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
8649aa28
Commit
8649aa28
authored
Jun 23, 2020
by
Jialin Li
Browse files
images: add nopaxos and dependencies to image
parent
ca4e4f20
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
40 additions
and
0 deletions
+40
-0
images/nopaxos.config
images/nopaxos.config
+5
-0
images/scripts/install.sh
images/scripts/install.sh
+14
-0
images/scripts/packages.sh
images/scripts/packages.sh
+10
-0
images/ubuntu1804.json
images/ubuntu1804.json
+11
-0
No files found.
images/nopaxos.config
0 → 100644
View file @
8649aa28
f
1
replica
10
.
1
.
0
.
1
:
12345
replica
10
.
1
.
0
.
2
:
12345
replica
10
.
1
.
0
.
3
:
12345
multicast
10
.
1
.
0
.
255
:
12345
images/scripts/install.sh
0 → 100644
View file @
8649aa28
#!/bin/bash -eux
git clone https://github.com/google/protobuf.git /tmp/protobuf
cd
/tmp/protobuf
./autogen.sh
./configure
make
-j4
make
install
ldconfig
mkdir
-p
/root
git clone https://github.com/UWSysLab/NOPaxos.git /root/nopaxos
cd
/root/nopaxos
make
-j4
images/scripts/packages.sh
View file @
8649aa28
...
@@ -14,6 +14,16 @@ ntp
...
@@ -14,6 +14,16 @@ ntp
nfs-common
nfs-common
iperf
iperf
netcat
netcat
make
git
pkg-config
libevent-dev
libunwind-dev
autoconf
automake
libtool
g++
libssl-dev
"
"
if
[[
$INSTALL_DEV_PACKAGES
=
~
true
||
$INSTALL_DEV_PACKAGES
=
~ 1
||
if
[[
$INSTALL_DEV_PACKAGES
=
~
true
||
$INSTALL_DEV_PACKAGES
=
~ 1
||
...
...
images/ubuntu1804.json
View file @
8649aa28
...
@@ -79,6 +79,7 @@
...
@@ -79,6 +79,7 @@
"scripts/sshd.sh"
,
"scripts/sshd.sh"
,
"scripts/update.sh"
,
"scripts/update.sh"
,
"scripts/packages.sh"
,
"scripts/packages.sh"
,
"scripts/install.sh"
,
"scripts/cleanup.sh"
"scripts/cleanup.sh"
],
],
"type"
:
"shell"
"type"
:
"shell"
...
@@ -89,6 +90,16 @@
...
@@ -89,6 +90,16 @@
"destination"
:
"/home/ubuntu/guestinit.sh"
,
"destination"
:
"/home/ubuntu/guestinit.sh"
,
"direction"
:
"upload"
"direction"
:
"upload"
},
},
{
"type"
:
"file"
,
"source"
:
"nopaxos.config"
,
"destination"
:
"/tmp/nopaxos.config"
,
"direction"
:
"upload"
},
{
"type"
:
"shell"
,
"inline"
:
[
"sudo mv /tmp/nopaxos.config /root/nopaxos.config"
]
},
{
{
"type"
:
"file"
,
"type"
:
"file"
,
"source"
:
"m5"
,
"source"
:
"m5"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment