Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Douglas
slapos.package
Commits
5a5b6eb6
Commit
5a5b6eb6
authored
Mar 12, 2013
by
Jean-Baptiste Petre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug code
parent
2dc6888e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
+14
-14
slapprepare/slapprepare/re6stnet-install.sh
slapprepare/slapprepare/re6stnet-install.sh
+14
-14
No files found.
slapprepare/slapprepare/re6stnet-install.sh
View file @
5a5b6eb6
#!/bin/bash
echo
"install babel"
echo
"install babel
and re6stnet
"
# detect version
KERN
=
$(
uname
-m
)
...
...
@@ -8,12 +8,12 @@ KERN=$(uname -m)
#dependance
zypper
install
python-pyOpenSSL
wget http://git.erp5.org/dist/rpm/
$KERN
/python-miniupnpc-1.7-89.g0c0129d.
x86_64
.rpm
wget http://git.erp5.org/dist/rpm/
$KERN
/babeld-1.3.3-17.ge097312.
x86_64
.rpm
wget http://git.erp5.org/dist/rpm/
$KERN
/python-miniupnpc-1.7-89.g0c0129d.
$KERN
.rpm
wget http://git.erp5.org/dist/rpm/
$KERN
/babeld-1.3.3-17.ge097312.
$KERN
.rpm
wget http://git.erp5.org/dist/rpm/noarch/re6stnet-0-281.gb395299.noarch.rpm
rpm
-iv
python-miniupnpc-1.7-89.g0c0129d.
x86_64
.rpm
rpm
-iv
babeld-1.3.3-17.ge097312.
x86_64
.rpm
rpm
-iv
python-miniupnpc-1.7-89.g0c0129d.
$KERN
.rpm
rpm
-iv
babeld-1.3.3-17.ge097312.
$KERN
.rpm
rpm
-iv
re6stnet-0-281.gb395299.noarch.rpm
echo
"file creation in re6stnet /etc/"
...
...
@@ -26,18 +26,13 @@ else
echo
"done"
fi
echo
"systemed enable and starting service"
systemctl
--system
daemon-reload
systemctl
enable
re6stnet.service
systemctl start re6stnet.service
echo
"sign in anonymous"
FILE
=
/etc/re6stnet/ca.crt
if
[
-e
$FILE
]
;
then
echo
"the file already exists"
else
cd
/etc/re6stnet
re6st-conf
--registry
http://re6stnet.nexedi.com/
--anonymous
-r
title
"SlapOS Node"
-d
/etc/re6stnet/
re6st-conf
--registry
http://re6stnet.nexedi.com/
--anonymous
-r
title
"
test :
SlapOS Node"
-d
/etc/re6stnet/
echo
'recording made'
fi
...
...
@@ -45,7 +40,7 @@ echo "write config file re6stnet.conf"
FILE
=
/etc/re6stnet/re6stnet.conf
if
[
-e
$FILE
]
;
then
echo
"file exists"
echo
"table 0"
>
/etc/re6stnet/re6stnet.conf
echo
"table 0"
>
>
/etc/re6stnet/re6stnet.conf
else
echo
"registry http://re6stnet.nexedi.com/
ca ca.crt
...
...
@@ -60,8 +55,13 @@ O1" >> /etc/re6stnet/re6stnet.conf
echo
"the file created"
fi
sleep
50
echo
"sleep 50"
echo
"systemed enable and starting service"
systemctl
--system
daemon-reload
systemctl
enable
re6stnet.service
systemctl start re6stnet.service
echo
"sleep 60"
sleep
60
echo
"ping6 start go, option -c5"
ping6
-c
5 google.com
...
...
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