create how_to_upgrade.rst file.
The first section: From teracy-dev v0.4.2 to v0.5.0
This doc file is used as a guide for upgrading from the previous version to the next version of teracy-dev.
hoavt [10:08 AM]
ma teracy-dev installed ben mac rồi, thì test thế nào nữa
hoatle [10:09 AM]
teracy-dev cũ à? cho tôi các thông số: `$ VBoxManage --version` và `$ vagrant --version`
hoavt [10:11 AM]
```Hoas-MBP:teracy-dev hoavt$ vagrant ssh
Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.13.0-105-generic x86_64)
* Documentation: https://help.ubuntu.com/
32 packages can be updated.
2 updates are security updates.
New release '14.04.2 LTS' available.
Run 'do-release-upgrade' to upgrade to it.
Your Hardware Enablement Stack (HWE) is supported until April 2017.
Last login: Wed Dec 21 03:04:33 2016 from 10.0.2.2
vagrant@vagrant:~$ cd workspace/
vagrant@vagrant:~/workspace$ ls
vagrant@vagrant:~/workspace$ $ VBoxManage --version
$: command not found
vagrant@vagrant:~/workspace$
[10:11]
no ko command not found
[10:11]
ma sao trong workspace ko thay cac folder con
hoatle [10:12 AM]
bỏ $ đằng trước đi, $là để biết nó là command line
[10:12]
VBoxManage --version chạy ở ngoài, ko phải trong VM
[10:13]
đây là teracy-dev cũ rồi, trước tiên bạn cho thông số đi
[10:13]
rồi tôi hướng dẫn upgrade
[10:13]
xong rồi nhớ để update docs nhé (how to upgrade from v0.4.2 to v0.5.0) (edited)
hoavt [10:14 AM]
5.1.4r110228
[10:14]
vagrant 1.5.8
jira BOT [10:14 AM]
Hoat Le created Task DEVOPS-266
Create a wiki page on how to use synergy
Assignee
PhuongLM
Priority
Major
hoatle [10:15 AM]
$ brew cask uninstall vagrant
rồi install vagrant
lại theo hướng dẫn ở docs nhé (vagrant v1.8.7)
hoavt [10:16 AM]
doc nao?
hoatle [10:16 AM]
http://dev.teracy.org/docs/develop/getting_started.html#manual-installation-on-macos
hoavt [10:17 AM]
your password cuar mays nhi
hoatle [10:17 AM]
máy của bạn có homebrew và homebrew cask rồi
[10:17]
chính là password bạn dùng để login đấy
hoavt [10:17 AM]
roi
hoatle [10:17 AM]
tôi có nhớ đâu
hoavt [10:17 AM]
gio vagrant lai
hoatle [10:17 AM]
từ từ
[10:17]
follow step by step của tôi
[10:17]
$ brew cask uninstall vagrant
chưa?
hoavt [10:18 AM]
done
hoatle [10:18 AM]
cài vagrant v1.8.7 đi
hoavt [10:19 AM]
ok
hoavt [10:27 AM]
5.1.4r110228 thì cũng ko cần phải cài lại nhỉ?
hoatle [10:28 AM]
ừ, VirtualBox ko cần phải cài lại, yêu cầu >=5.1
hoavt [10:30 AM]
cai đặt vagrant rồi
[10:31]
giờ làm gì tiếp?
[10:31]
có phải clone teracy-dev lại ko?
hoatle [10:33 AM]
giờ $ cd ~/teracy-dev
rồi $ vagrant destroy
rồi $ cd ~
rồi $ mv teracy-dev teracy-dev-old
rồi follow http://dev.teracy.org/docs/develop/getting_started.html#teracy-dev-git-clone-and-vagrant-up (edited)
[10:35]
$ vagrant destroy
là để xoá VM cũ đi nếu có, rồi $ mv teracy-dev teracy-dev-old
là để rename teracy-dev
thành teracy-dev-old
directory. Tốt nhất là clone cái mới, nên mình rename lại cái cũ để đấy thôi
hoavt [10:36 AM]
git pull ko dc a?
hoatle [10:39 AM]
không, vì nó phức tạp không cần thiết, liên quan đến vagrant_config_override.json nữa
[10:40]
lần này upgrade lớn, ko tương thích với version cũ, tốt nhất là set up mới
hoavt [10:42 AM]
Cloning into 'teracy-dev'...
remote: Counting objects: 9559, done.
remote: Compressing objects: 100% (178/178), done.
remote: Total 9559 (delta 109), reused 0 (delta 0), pack-reused 9381
Receiving objects: 100% (9559/9559), 9.13 MiB | 1.75 MiB/s, done.
Resolving deltas: 100% (5338/5338), done.
Checking connectivity... done.
Hoas-MBP:~ hoavt$ cd teracy-dev
Hoas-MBP:teracy-dev hoavt$ git checkout develop
Already on 'develop'
Your branch is up-to-date with 'origin/develop'.
Hoas-MBP:teracy-dev hoavt$ vagrant up
required: '$ vagrant plugin install vagrant-gatling-rsync'
Hoas-MBP:teracy-dev hoavt$
hoatle [10:43 AM]
cứ theo hướng dẫn thôi, bạn xem cả video nữa
[10:44]
ở phần docs nên mention thêm là nếu yêu cầu các plugin thì cần install plugin theo hướng dẫn
hoavt [10:46 AM]
ah, trong doc co cai do 😄
hoavt [10:58 AM]
==> default: which network to bridge to.
==> default: Available bridged network interfaces:
1) en1: Wi-Fi (AirPort)
2) en0: Ethernet
3) en2: Thunderbolt 1
4) p2p0
5) bridge0
==> default: When choosing an interface, it is usually the one that is
==> default: being used to connect to the internet.
default: Which interface should the network bridge to?
default: Which interface should the network bridge to? ```
[10:59]
tự chọn interface à?
hoatle [10:59 AM]
bạn đang dùng mạng gì đó? Wi-Fi đúng không?
hoavt [10:59 AM]
ừa
hoatle [11:00 AM]
ừ, chọn Wi-Fi, tôi sẽ add thêm cái này vào default config đỡ phải chọn
hoavt [11:00 AM]
ừa
[11:02]
``` default: Which interface should the network bridge to? en1: Wi-Fi (Airport)
default: Which interface should the network bridge to? en1: Wi-Fi (AirPort)
default: Which interface should the network bridge to? "en1: Wi-Fi (AirPort)"
default: Which interface should the network bridge to
default: Which interface should the network bridge to? en1
default: Which interface should the network bridge to? ```
[11:02]
sao chon ma ko dc
hoatle [11:04 AM]
chọn như cái đầu là được mà nhỉ, để tôi check
[11:04]
chọn 1 đi
hoavt [11:04 AM]
dc
hoavt [12:03 PM]
```==> default: Running provisioner: shell...
default: Running: inline script
==> default: mesg:
==> default: ttyname failed
==> default: :
==> default: Inappropriate ioctl for device
==> default: ip address: 192.168.1.94
==> default: vagrant-gatling-rsync is starting the sync engine because you have at least one rsync folder. To disable this behavior, set `config.gatling.rsync_on_startup = false` in your Vagrantfile.
==> default: Doing an initial rsync...
==> default: Rsyncing folder: /Users/hoavt/teracy-dev/workspace/ => /home/vagrant/workspace
==> default: - Exclude: [".vagrant/", ".git", ".idea/", "node_modules/", "bower_components/", ".npm/"]
==> default: Watching: /Users/hoavt/teracy-dev/workspace
[12:03]
cu thay watching mai the nhi
hoatle [12:04 PM]
thế là chuẩn rồi còn gì, cứ kệ nó thôi
[12:04]
đến bước watching này là done rồi
new messages
hoavt [12:05 PM]
install lau phet
hoatle [12:05 PM]
first time only
hoavt [12:05 PM]
ua