Git clone from windows - linux

I am using windows 8.1 as host os and Ubuntu Linux in vmware guest.I have created git repository in Linux and trying to clone it on windows using tortoise git. I am using my home's Wi-Fi connection but it is detected as eth0 not as wlan0. I don't know why. If I delete that wired connection in guest Linux then it network connectivity not working.I have configured network connectivity as bridged.

Related

Git clone/pull from windows to raspberry pi in local network

I have bare repo on my windows machine C:/Users/Public/Git_Server/test-repo.git
I can git clone in to my working dir on my windows machine using git clone C:/Users/Public/Git_Server/test-repo.git but I also want to be able to clone it to raspberry pi which is on my local network.
I can ssh to my rpi and try git clone //PCNAME/Git_Server/test-repo.git (\\PCNAME\Git_Server is a shared network path) but it's gives me an error:
fatal: repository '//PCNAME/Git_Server/test-repo.git' does not exist
I browsed all stackoverflow but couldn't find any solution.

How do I connect to VMware from another PC?

I am facing an issue with my VMware and Ubuntu PC.
Scenario: I have a Windows 8.1 PC (IP: 192.168.1.10) and installed VM ware on this Window PC and installed Centos 7 on the VM ware (IP: 192.168.163.127). Also, I have another PC installed with Ubuntu 15.10 (IP: 192.168.1.12). I need to ping or connect to the Centos on the VM ware from my Ubuntu PC. I am using VMware workstation 12 Pro.
How do I can do this? Is this possible? Please, anybody, help me.
try to set the Networkadapter to bridged mode. At your virtual pc you need a IP like 192.168.1.... Then you have access to your virtual pc over your local network.
By using NAT it is quite possible. For further information about how you can configure your NAT and Bridge please take a look at following links:
https://pubs.vmware.com/workstation-12/index.jsp?topic=%2Fcom.vmware.ws.using.doc%2FGUID-D05850F8-E850-4086-A735-5C84C72D007C.html
https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1018697
https://serverfault.com/questions/229860/vmware-networking-mode-nat-or-bridged
I hope it helps you.

make webserver from Ubuntu 14.04 desktop version in virtualbox

I'm thinking about creating a webserver from my Ubuntu 14.04 LTS running on virtualbox. I've made some test pages there but I have no idea how to connect from my computer (Ubuntu 14.04 LTS as well) to virtualbox computer and run created pages there.
I guess I have to acces virtualbox computer via IP somehow. Another think is that I want to acces this webserver for everybody in the network, not just my computer. These clients could have both Linux and Windows OSs.
Could you anybody help me to figure out this stuff, please?
set the guest os network interface in virtualbox to bridged
networking. assign a static ip address that corresponds to your LAN
restart your web server (typically its sudo service apache2 restart)

GCC local installation Ubuntu

I have access to public machine which don't provide sudo access. How can I install latest g++ in a local folder in Ubuntu and use it while compiling and running C++ programs?
I tried this solution (Install gcc on linux with no root privilege) but its not working.
it Produces Error bzr: ERROR: Connection error: failed to connect to bzr.savannah.gnu.org:4155: Connection refused.
It looks like your network does not allow connections to most TCP/IP ports. Bazaar uses TCP/IP port (port 4155). On my network this works fine:
% bzr branch bzr://bzr.savannah.gnu.org/gsrc/trunk/ /tmp/gsrc
Branched 3509 revisions.

Windows git client over ssh for local repository?

I have a set-up where I have a remote git server, a local git/development machine running Linux, and a Windows development machine.
I generally use putty from windows to log into my local linux development machine, which is where my local git repository resides, as well as where I do my compiling, etc.
I'd like to use a (gui) git client on my windows development machine to manage this git repo, particularly for visualizing branches, etc, since my linux machine is mostly headless.
It it possible to control it using a windows git client via SSH, so that I can use windows to manage my local git repository on my linux dev machine? I don't want to have a repo on both my windows and linux dev machines, and I don't want to go through a two-stage push process.
My other option I suppose is to add my linux machine as a network drive under windows and connect that way, but it's awfully slow.
(And if anyone has any recommendations for which windows client is good and can do this, please let me know. I'd like to use SourceTree, but I don't think it's capable of this)
Thanks!

Resources