Monday, 15 January 2018

Linux Tips & Tricks - Compiling software from sources

Linux Tips & Tricks - Compiling software from sources

Sometimes, even if you're not a developer, you need or want to compile code on Linux. Usually this occurs when you want to install an applications that is not included in your distribution's repositories, or if you want the latest version.
Here are some quick tips to get you started.
https://www.ostechnix.com/compile-run-c-c-programs-linux/

9 comments:

  1. Now just find me a way to connect to a DFS share from Linux and I can basically go 100% Linux with zero drawbacks.

    ReplyDelete
  2. Dale Dubnyk That's not really anything difficult, unless Microsoft went and changed DFS in recent version, which I admit is not unlikely, such that it no longer works. Otherwise it used to work pretty much like any other CIFS mount with a few extra tweaks.

    ReplyDelete
  3. Basically the info at the Mike's Technology and Finance link below with the tweaks mentioned here are what I've used. Though I have not done this with anything newer than Windows 7 / Server 2012.
    https://stackoverflow.com/questions/40659916/mounting-a-windows-dfs-share-on-debian-box
    mikemstech.blogspot.ca - How to Mount a DFS Share in Linux

    ReplyDelete
  4. Note that any trouble I've ever had with CIFS/DFS has most often been with security settings or with the crappy limitations the technology has when run over TCP/IP networks. In particular crossing to other subnets from other than the one you are on.

    ReplyDelete
  5. Yeah I've seen both of those. I can get the DFS to mount, but none of the links work once it's mounted. It seems is Mike's guide he uses wins, which is long gone in our environment.

    Maybe it's partly cause our file servers are in a completely different subnet, I don't know. Only thing we needed to open up for it to work for our windows machines outside of standard file sharing ports was DNS port 53, so I'm still a bit puzzled to try and get this working. Port 53 was already open anyhow since it's a pretty main thing to use with active directory and our DFS is active directory integrated.

    ReplyDelete
  6. Dale Dubnyk you already answered the question. Different subnet. That's a Microsoft problem.
    Are you not running NetBIOS/NetBEUI over TCP/IP on all your machines?
    If so then there's a router misconfigured somewhere that's not forwarding between subnets.

    ReplyDelete
  7. Christopher Gaul nope, we don't use NetBIOS, that's disabled on all machines.

    ReplyDelete
  8. Dale Dubnyk Then I'm thinking routing issue. Not passing traffic for the SMB/CIFS ports between subnets.

    ReplyDelete
  9. Christopher Gaul but it works fine for Windows machines....I dunno, haven't had a lot of time to look into it yet.

    ReplyDelete