how can I connect to gitlab installed in ubuntu VM image?
I installed a gitlab in ubuntu VM image and external_url set as 192.168.71.12, when I input url http://127.0.0.1 in VM browser, it shows gitlab home page that can login.
But how can i connect to gitlab in local machine(PC), not only in VM?
These are the steps I took to install it
Download VMWARE Workstation 15 Player for windows
https://www.vmware.com/products/workstation-player/workstation-player-evaluation.html
Download VMware of Ubuntu 18.04.1 Bionic Beaver (Final)
https://www.osboxes.org/ubuntu/
Setting Up VM image step (Chinese version)
https://blog.xuite.net/yh96301/blog/222632640-VMware+Player+6.0%E5%AE%89%E8%A3%9DUbuntu+14.04%28%E4%B8%80%29
install GitLab in ubuntu VM(Chinese version)
https://blog.csdn.net/ayang1986/article/details/78881418
List out step in installation of GitLab
sudo apt-get update
sudo apt-get install -y curl openssh-server ca-certificates
sudo apt-get install -y postfix
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash
sudo EXTERNAL_URL="http://192.168.71.12" apt-get install gitlab-ee
sudo gitlab-ctl reconfigure
Then use firefox in ubuntu VM and input 127.0.0.1 can browse gitlab home page,
but when input 192.168.71.12, cannot connect to gitlab home page, input 192.168.71.12 in browser of local machine(PC) also cannot connect.
networking ubuntu virtual-machine gitlab
add a comment |
I installed a gitlab in ubuntu VM image and external_url set as 192.168.71.12, when I input url http://127.0.0.1 in VM browser, it shows gitlab home page that can login.
But how can i connect to gitlab in local machine(PC), not only in VM?
These are the steps I took to install it
Download VMWARE Workstation 15 Player for windows
https://www.vmware.com/products/workstation-player/workstation-player-evaluation.html
Download VMware of Ubuntu 18.04.1 Bionic Beaver (Final)
https://www.osboxes.org/ubuntu/
Setting Up VM image step (Chinese version)
https://blog.xuite.net/yh96301/blog/222632640-VMware+Player+6.0%E5%AE%89%E8%A3%9DUbuntu+14.04%28%E4%B8%80%29
install GitLab in ubuntu VM(Chinese version)
https://blog.csdn.net/ayang1986/article/details/78881418
List out step in installation of GitLab
sudo apt-get update
sudo apt-get install -y curl openssh-server ca-certificates
sudo apt-get install -y postfix
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash
sudo EXTERNAL_URL="http://192.168.71.12" apt-get install gitlab-ee
sudo gitlab-ctl reconfigure
Then use firefox in ubuntu VM and input 127.0.0.1 can browse gitlab home page,
but when input 192.168.71.12, cannot connect to gitlab home page, input 192.168.71.12 in browser of local machine(PC) also cannot connect.
networking ubuntu virtual-machine gitlab
You may want to use the contact us link to request an account merger
– Journeyman Geek♦
Jan 2 at 15:12
thx for the merge
– Study1
Jan 2 at 23:00
add a comment |
I installed a gitlab in ubuntu VM image and external_url set as 192.168.71.12, when I input url http://127.0.0.1 in VM browser, it shows gitlab home page that can login.
But how can i connect to gitlab in local machine(PC), not only in VM?
These are the steps I took to install it
Download VMWARE Workstation 15 Player for windows
https://www.vmware.com/products/workstation-player/workstation-player-evaluation.html
Download VMware of Ubuntu 18.04.1 Bionic Beaver (Final)
https://www.osboxes.org/ubuntu/
Setting Up VM image step (Chinese version)
https://blog.xuite.net/yh96301/blog/222632640-VMware+Player+6.0%E5%AE%89%E8%A3%9DUbuntu+14.04%28%E4%B8%80%29
install GitLab in ubuntu VM(Chinese version)
https://blog.csdn.net/ayang1986/article/details/78881418
List out step in installation of GitLab
sudo apt-get update
sudo apt-get install -y curl openssh-server ca-certificates
sudo apt-get install -y postfix
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash
sudo EXTERNAL_URL="http://192.168.71.12" apt-get install gitlab-ee
sudo gitlab-ctl reconfigure
Then use firefox in ubuntu VM and input 127.0.0.1 can browse gitlab home page,
but when input 192.168.71.12, cannot connect to gitlab home page, input 192.168.71.12 in browser of local machine(PC) also cannot connect.
networking ubuntu virtual-machine gitlab
I installed a gitlab in ubuntu VM image and external_url set as 192.168.71.12, when I input url http://127.0.0.1 in VM browser, it shows gitlab home page that can login.
But how can i connect to gitlab in local machine(PC), not only in VM?
These are the steps I took to install it
Download VMWARE Workstation 15 Player for windows
https://www.vmware.com/products/workstation-player/workstation-player-evaluation.html
Download VMware of Ubuntu 18.04.1 Bionic Beaver (Final)
https://www.osboxes.org/ubuntu/
Setting Up VM image step (Chinese version)
https://blog.xuite.net/yh96301/blog/222632640-VMware+Player+6.0%E5%AE%89%E8%A3%9DUbuntu+14.04%28%E4%B8%80%29
install GitLab in ubuntu VM(Chinese version)
https://blog.csdn.net/ayang1986/article/details/78881418
List out step in installation of GitLab
sudo apt-get update
sudo apt-get install -y curl openssh-server ca-certificates
sudo apt-get install -y postfix
curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash
sudo EXTERNAL_URL="http://192.168.71.12" apt-get install gitlab-ee
sudo gitlab-ctl reconfigure
Then use firefox in ubuntu VM and input 127.0.0.1 can browse gitlab home page,
but when input 192.168.71.12, cannot connect to gitlab home page, input 192.168.71.12 in browser of local machine(PC) also cannot connect.
networking ubuntu virtual-machine gitlab
networking ubuntu virtual-machine gitlab
edited Jan 2 at 15:04
Journeyman Geek♦
112k44217369
112k44217369
asked Dec 30 '18 at 10:36
Study1Study1
1
1
You may want to use the contact us link to request an account merger
– Journeyman Geek♦
Jan 2 at 15:12
thx for the merge
– Study1
Jan 2 at 23:00
add a comment |
You may want to use the contact us link to request an account merger
– Journeyman Geek♦
Jan 2 at 15:12
thx for the merge
– Study1
Jan 2 at 23:00
You may want to use the contact us link to request an account merger
– Journeyman Geek♦
Jan 2 at 15:12
You may want to use the contact us link to request an account merger
– Journeyman Geek♦
Jan 2 at 15:12
thx for the merge
– Study1
Jan 2 at 23:00
thx for the merge
– Study1
Jan 2 at 23:00
add a comment |
1 Answer
1
active
oldest
votes
The address 192.168.71.12 is in the subnet of the host computer?
If not probably your VM are behind a nat and not bridged, that means you have to configure nat from host to VM for desired port, or change the network type of your VM to be reachable from the host computer
Sorry, I am weak in network knowledge. 192.168.71.12 is just type in external url. did you means in network connection--> choose one of VMware Network Adapter VMnet1 / VMware Network Adapter VMnet8 --> right click and choose properties --> in network feature tab, choose TCP/IPv4--> click content --> in general, use below ip address, type ip address as 192.168.71.12, subnet mask as 255.255.255.0, default gateway 192.168.71.0 --> click ok --> click ok.
– Study1
Jan 2 at 22:54
and then edit virtual machine settings --> Network Adapter --> in Network connection, choose Custom:Specific virtual network as VMnet1/VMnet8, and open VM to test?
– Study1
Jan 2 at 22:55
It did not work, could you specific how to change the network type?
– Study1
Jan 5 at 15:32
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1388935%2fhow-can-i-connect-to-gitlab-installed-in-ubuntu-vm-image%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
The address 192.168.71.12 is in the subnet of the host computer?
If not probably your VM are behind a nat and not bridged, that means you have to configure nat from host to VM for desired port, or change the network type of your VM to be reachable from the host computer
Sorry, I am weak in network knowledge. 192.168.71.12 is just type in external url. did you means in network connection--> choose one of VMware Network Adapter VMnet1 / VMware Network Adapter VMnet8 --> right click and choose properties --> in network feature tab, choose TCP/IPv4--> click content --> in general, use below ip address, type ip address as 192.168.71.12, subnet mask as 255.255.255.0, default gateway 192.168.71.0 --> click ok --> click ok.
– Study1
Jan 2 at 22:54
and then edit virtual machine settings --> Network Adapter --> in Network connection, choose Custom:Specific virtual network as VMnet1/VMnet8, and open VM to test?
– Study1
Jan 2 at 22:55
It did not work, could you specific how to change the network type?
– Study1
Jan 5 at 15:32
add a comment |
The address 192.168.71.12 is in the subnet of the host computer?
If not probably your VM are behind a nat and not bridged, that means you have to configure nat from host to VM for desired port, or change the network type of your VM to be reachable from the host computer
Sorry, I am weak in network knowledge. 192.168.71.12 is just type in external url. did you means in network connection--> choose one of VMware Network Adapter VMnet1 / VMware Network Adapter VMnet8 --> right click and choose properties --> in network feature tab, choose TCP/IPv4--> click content --> in general, use below ip address, type ip address as 192.168.71.12, subnet mask as 255.255.255.0, default gateway 192.168.71.0 --> click ok --> click ok.
– Study1
Jan 2 at 22:54
and then edit virtual machine settings --> Network Adapter --> in Network connection, choose Custom:Specific virtual network as VMnet1/VMnet8, and open VM to test?
– Study1
Jan 2 at 22:55
It did not work, could you specific how to change the network type?
– Study1
Jan 5 at 15:32
add a comment |
The address 192.168.71.12 is in the subnet of the host computer?
If not probably your VM are behind a nat and not bridged, that means you have to configure nat from host to VM for desired port, or change the network type of your VM to be reachable from the host computer
The address 192.168.71.12 is in the subnet of the host computer?
If not probably your VM are behind a nat and not bridged, that means you have to configure nat from host to VM for desired port, or change the network type of your VM to be reachable from the host computer
answered Jan 2 at 15:17
AtomiX84AtomiX84
4679
4679
Sorry, I am weak in network knowledge. 192.168.71.12 is just type in external url. did you means in network connection--> choose one of VMware Network Adapter VMnet1 / VMware Network Adapter VMnet8 --> right click and choose properties --> in network feature tab, choose TCP/IPv4--> click content --> in general, use below ip address, type ip address as 192.168.71.12, subnet mask as 255.255.255.0, default gateway 192.168.71.0 --> click ok --> click ok.
– Study1
Jan 2 at 22:54
and then edit virtual machine settings --> Network Adapter --> in Network connection, choose Custom:Specific virtual network as VMnet1/VMnet8, and open VM to test?
– Study1
Jan 2 at 22:55
It did not work, could you specific how to change the network type?
– Study1
Jan 5 at 15:32
add a comment |
Sorry, I am weak in network knowledge. 192.168.71.12 is just type in external url. did you means in network connection--> choose one of VMware Network Adapter VMnet1 / VMware Network Adapter VMnet8 --> right click and choose properties --> in network feature tab, choose TCP/IPv4--> click content --> in general, use below ip address, type ip address as 192.168.71.12, subnet mask as 255.255.255.0, default gateway 192.168.71.0 --> click ok --> click ok.
– Study1
Jan 2 at 22:54
and then edit virtual machine settings --> Network Adapter --> in Network connection, choose Custom:Specific virtual network as VMnet1/VMnet8, and open VM to test?
– Study1
Jan 2 at 22:55
It did not work, could you specific how to change the network type?
– Study1
Jan 5 at 15:32
Sorry, I am weak in network knowledge. 192.168.71.12 is just type in external url. did you means in network connection--> choose one of VMware Network Adapter VMnet1 / VMware Network Adapter VMnet8 --> right click and choose properties --> in network feature tab, choose TCP/IPv4--> click content --> in general, use below ip address, type ip address as 192.168.71.12, subnet mask as 255.255.255.0, default gateway 192.168.71.0 --> click ok --> click ok.
– Study1
Jan 2 at 22:54
Sorry, I am weak in network knowledge. 192.168.71.12 is just type in external url. did you means in network connection--> choose one of VMware Network Adapter VMnet1 / VMware Network Adapter VMnet8 --> right click and choose properties --> in network feature tab, choose TCP/IPv4--> click content --> in general, use below ip address, type ip address as 192.168.71.12, subnet mask as 255.255.255.0, default gateway 192.168.71.0 --> click ok --> click ok.
– Study1
Jan 2 at 22:54
and then edit virtual machine settings --> Network Adapter --> in Network connection, choose Custom:Specific virtual network as VMnet1/VMnet8, and open VM to test?
– Study1
Jan 2 at 22:55
and then edit virtual machine settings --> Network Adapter --> in Network connection, choose Custom:Specific virtual network as VMnet1/VMnet8, and open VM to test?
– Study1
Jan 2 at 22:55
It did not work, could you specific how to change the network type?
– Study1
Jan 5 at 15:32
It did not work, could you specific how to change the network type?
– Study1
Jan 5 at 15:32
add a comment |
Thanks for contributing an answer to Super User!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1388935%2fhow-can-i-connect-to-gitlab-installed-in-ubuntu-vm-image%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
You may want to use the contact us link to request an account merger
– Journeyman Geek♦
Jan 2 at 15:12
thx for the merge
– Study1
Jan 2 at 23:00