Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

should improve docs on manual setup for Linux (Ubuntu) #215

Closed
hoatle opened this issue Jan 18, 2017 · 3 comments
Closed

should improve docs on manual setup for Linux (Ubuntu) #215

hoatle opened this issue Jan 18, 2017 · 3 comments

Comments

@hoatle
Copy link
Member

hoatle commented Jan 18, 2017

fix bug:

sudo apt-get install -r -y

=>

sudo apt-get install -f -y

add the missing line on:

    sudo dpkg -i <downloaded_file>
    sudo apt-get install -f -y

better if we can use commands that should auto get the right download link of packages.

@hoatle hoatle added this to the v0.5.0 milestone Jan 18, 2017
@hoatle
Copy link
Member Author

hoatle commented Jan 18, 2017

hoavt [9:55 AM]
@hoatle ngó hộ chị máy Ubuntu xem caif đặt virtualbox bị lỗi vì sao với

hoatle [9:56 AM]
lỗi đó bình thường, cứ tiếp tục đi

hoavt [9:57 AM]
vay la cai dc roi ha?

[9:57]
sudo apt-get install -r -y

hoatle [9:58 AM]
từ từ, để tôi check

hoavt [9:58 AM]
nó bảo ko đc

hoatle [9:58 AM]
bạn download phải đúng package cho đúng ubuntu version

[9:59]
có 2 loại là 32-bit và 64-bit, bạn download loại 64-bit ấy

hoavt [9:59 AM]
link i386 ko dc a?

hoatle [9:59 AM]
AMD64

hoavt [9:59 AM]
la cho 32 hả?

hoatle [10:00 AM]
chỗ này hơi confused, a @phuonglm có suggest cách cài đặt nào không cần check version và 32 hay 64-bit không?

[10:01]
bạn @hoavt có thói quen ấn tab để auto complete nhé

hoavt [10:02 AM]
an tab mà có phải cái nào cũg auto complete dau

hoatle [10:02 AM]
sudo apt-get install -f -y nhé, bug docs

hoavt [10:02 AM]
hừm

hoatle [10:02 AM]
ừ, có thói quen auto complete, còn cái nào ko có thì mới phải type, nó mới nhanh và tiện

[10:03]
tạo github issue (nếu chưa có) rồi PR nhé

[10:03]
tạo branch và commit message theo issue github đó

hoavt [10:05 AM]
biets download cai nao cho ubuntu?

[10:05]
chi thay cua win voi Mac

hoatle [10:05 AM]
.deb là cho linux, x86_64 là 64-bit

[10:06]
lúc nãy virtualbox cũng có đuôi là .deb

[10:07]
Ubuntu chính là DEBIAN đấy

phuonglm [10:08 AM]
https://www.virtualbox.org/wiki/Linux_Downloads

[10:09]
đây nó có nói rõ mà

hoatle [10:11 AM]
rõ vậy mà bạn @hoavt vẫn nhầm và ko rõ đấy a, có command nào tự xác định được download url đúng thì user đỡ phải chọn, đỡ bị sai

[10:12]
vì download url nó có convention rồi nên mình có thể check và xác định được download url đúng cho từng hệ điều hành, cho từng architect của máy

phuonglm [10:14 AM]
Command thì lại phụ thuộc vào OS (edited)

hoatle [10:14 AM]
command cho Ubuntu là được rồi a

hoavt [10:15 AM]
tại chị ko đọc kỹ hướng dẫn bên trên 😄

hoatle [10:18 AM]
tôi vừa tạo issue đấy, nói cái phải làm luôn, ko là quên luôn sau đó

hoavt [10:19 AM]
tôi cũng noted

[10:21]
download teracy-dev trên Mac lâu thế nhỉ?

[10:21]
mãi mà chưa down xong

hoatle [10:23 AM]
kiểu bị đơ rồi, ko biết bị lỗi kiểu gì

[10:27]
clone lại lần nữa thì được rồi đấy, failed thì retry vài lần

phuonglm [10:50 AM]

VERSION_CODENAME=`lsb_release -c | awk '{print $2}'`; if [ `uname -m` == "x86_64" ]; then arch=amd64; else arch=i386; fi; curl -s  https://www.virtualbox.org/wiki/Linux_Downloads | grep $VERSION_CODENAME | grep -oP "http://[^\"]*$arch\.deb"

(edited)

[10:51]
thử trên 12.04 i386 đến 16.04 x86 rồi nhé

hoatle [10:51 AM]
nếu được thì cho cả vagrant đi a

phuonglm [10:52 AM]
mình có lock version không

[10:52]
hay newest

hoatle [10:53 AM]
hiện tại là 1.8.x (1.8.7), trên 1.9.x mình chưa support, chưa test

hoavt [10:53 AM]
tạo new file trong may Mac kieu gi the nhi

[10:53]
hic

hoatle [10:53 AM]
virtualbox thì 5.1.x

[10:54]
bạn @hoavt cài sublime text vào, dùng brew cask đấy

hoavt [10:54 AM]
may ao cung can cai a?

hoatle [10:55 AM]
sao không

[10:55]
cài vào làm việc cho dễ, gõ cái lệnh xong là nó có luôn

phuonglm [11:00 AM]

if [ `uname -m` == "x86_64" ]; then echo "https://releases.hashicorp.com/vagrant/1.8.7/vagrant_1.8.7_x86_64.deb"; else echo "https://releases.hashicorp.com/vagrant/1.8.7/vagrant_1.8.7_i686.deb"; fi;

[11:00]
vagrant nhe

hoatle [11:02 AM]
1 command mà check và download file luôn đi a

phuonglm [11:03 AM]

wget $(if [ `uname -m` == "x86_64" ]; then echo "https://releases.hashicorp.com/vagrant/1.8.7/vagrant_1.8.7_x86_64.deb"; else echo "https://releases.hashicorp.com/vagrant/1.8.7/vagrant_1.8.7_i686.deb"; fi;)

[11:03]
wget $( dong command o tren )

hoavt added a commit to hoavt/teracy-dev that referenced this issue Jan 19, 2017
hoatle added a commit that referenced this issue Jan 19, 2017
#215 | improve docs on manual setup for Linux
@hoatle hoatle assigned hoatle and unassigned phuonglm and hoavt Jan 19, 2017
@ghost ghost added stag:in-progress and removed sprt:next labels Jan 22, 2017
@hoatle
Copy link
Member Author

hoatle commented Jan 23, 2017

for virtualbox installation, should follow this: https://help.ubuntu.com/community/VirtualBox/Installation

for vagrant installation (as no ppa is available), let's download the installation file directly to install)

@hoatle
Copy link
Member Author

hoatle commented Jan 23, 2017

$ version=1.9.1 && cd /tmp && wget $(if [ `uname -m` == "x86_64" ]; then echo "https://releases.hashicorp.com/vagrant/$version/vagrant_${version}_x86_64.deb"; else echo "https://releases.hashicorp.com/vagrant/$version/vagrant_${version}_i686.deb"; fi;)  && sudo dpkg -i vagrant* && cd --

hoatle added a commit that referenced this issue Feb 2, 2017
…provements-deps_#195

Improvements/#215 ubuntu setup improvements deps #195
@hoatle hoatle closed this as completed Feb 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants