ClouldLab, OnePC-Ubuntu14.04.4
https://github.com/opencord/cord/blob/master/docs/quickstart.md
https://github.com/opencord/cord.git b5796fb8a34b779885abc9e8809e361d3463cde9
https://github.com/opencord/platform-install.git b5796fb8a34b779885abc9e8809e361d3463cde9
bash ~/cord-in-a-box.sh -t | tee ~/install.out
Host Ubuntu 14.04
20161031
(Why so detail? because there's no guarantee it always work with the same environment)
mkl Note: CORD: LC_ALL not configured cause postgresql default cluster not created
http://mkl-note.blogspot.com/2016/10/cord-lcall-not-configured-cause.html
With the new script, I only encounter the above issue. Then I can finally see the holy X "BUILD SUCCESSFUL".
- Ensure no password sudo:
sudo visudo -f /etc/sudoers.d/90-clouding-ubuntu
Add the following line:
user_name ALL=(ALL) NOPASSWD:ALL
- On your HOST, do not forward your locale to remote server by editing /etc/ssh/ssh_config and comment out SendEnv LANG LC_* line.
sudo sed -e '/SendEnv/ s/^#*/#/' -i /etc/ssh/ssh_config
Set the locale, then log out.
sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
Log in again and try printing the LC_ALL
exit
printenv | grep LC
=> LC_ALL=en_US.UTF-8
- Install the required package (curl I understand, but juju....)
sudo apt-get update
sudo apt-get install -y build-essential curl juju git vim tmux - Download the installation script and run. No sudo running the script.
curl -o ~/cord-in-a-box.sh https://raw.githubusercontent.com/opencord/cord/master/scripts/cord-in-a-box.sh
mv -v --backup=numbered ~/install.out ~/install.out.bak; time bash ~/cord-in-a-box.sh -t 2>&1 | tee ~/install.out
The last part of the log:
test-exampleservice : Install curl in testclient ----------------------- 29.69sYes, it's almost 3.5hr, with CloudLab's server.....
maas-test-client-install : Install software ---------------------------- 27.43s
test-vsg : Create a sample CORD subscriber ------------------------------ 3.58s
maas-test-client-install : Install PIP packages ------------------------- 3.16s
test-vsg : Re-run 'make vtn' (work around bug in synchronizer) ---------- 3.07s
test-vsg : Test external connectivity in test client -------------------- 3.04s
test-exampleservice : Re-run 'make vtn' (work around bug in synchronizer) --- 3.02s
setup ------------------------------------------------------------------- 2.49s
setup ------------------------------------------------------------------- 2.14s
test-exampleservice : Get mgmt IP of VM --------------------------------- 2.02s
test-exampleservice : Get public IP of VM ------------------------------- 1.93s
test-vsg : Get mgmt IP of VM -------------------------------------------- 1.81s
test-vsg : Wait for vSG VM to come up ----------------------------------- 1.81s
BUILD SUCCESSFUL
Total time: 29 mins 7.094 secs
Connection to 192.168.121.252 closed.
+ [[ 0 -eq 1 ]]
+ exit 0
real 204m41.956s
user 2m18.897s
sys 0m34.802s
沒有留言:
張貼留言