Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all 17906 articles
Browse latest View live

Is there a way to deploy software on Windows computers through Linux?

$
0
0

I'm currently looking into FOG which basically allows you to image computers through Linux, so it got me thinking, is there a way to deploy software on Windows computers through Linux?

All the solutions we have at work kinda suck and I'm looking to utilize my Linux skills in a Windows environment

submitted by /u/anacondapoint6
[link] [comments]

Realmd/SSSD "just work" for us for AD authentication on our CentOS machines. But how do we re-enable file shares for Windows users? Samba breaks SSSD and vice versa.

$
0
0

Samba and SSSD are absolutely not stable in our environment (CentOS 7.4, Samba 4.6, SSSD 1.15). Getting the Samba shares to work breaks authentication with SSSD. and using "realm join" works consistently and longterm, but we cannot configure Samba to work with it. I've essentially abandoned the idea of stable, reliable AD authentication with SSSD and also keep samba enabled.

Is there an alternative to share our Linux file shares to Windows users with SSSD? We don't use an IdM, just direct integration (small environment). The Linux to Windows integration guide doesn't seem to support this. It only lets SSSD clients act as smb servers with an IdM.

Help?

submitted by /u/Sysa_Dmin
[link] [comments]

TIL CTRL-ALT-u resets and erases all characters entered at a Unix password prompt.

Getting error while loading tun module on ubuntu 14.04.

Graylog web interface won't show up via reverse proxy

$
0
0

Hi! Hopefully this is the place to talk about it, I saw this subreddit pop up in a Google search.

Alright, so I got a working instance of Graylog (2.3.0) up and running on my RHEL7 server via its official Docker image. It works perfectly when I access it via a server-internal Firefox (here), but when I try to access it with an external Chrome, it doesn't (here). My Nginx configuration looks like this, 172.17.0.1 being the IP address for the Docker. No amount of Googling yielded me proper results. Do you guys know where the problem might lie? Thanks in advance!

submitted by /u/lofticried
[link] [comments]

Has anyone here completely replaced Bash Scripting with Python?

$
0
0

With all the libraries and shell combinators that are out there, I just don't see the point of bash scripting anymore.

Writing quick for loops on the command line, sure, but is there any point of continuing to use Bash, or to even attempt to learn it?

submitted by /u/houseofvilar
[link] [comments]

Problem with squid and HTTPS

$
0
0

Hi,

I have a squid server configured as transparent proxy.

squid.conf:

https://pastebin.com/rP6m4mNU

I configure the websites I want to make redirection for in /usr/lib/squid/fixhtml.sh - Looks something like this:

s@/test.mydomain.com/@/192.168.30.30:9665/@;

So if I point test.mydomain.com to my squid external IP, it will redirect all connections to 192.168.30.30:9665.

the current state is working fine, if I go to http://test.mydomain.com& https://test.mydomain.com it's working.

Now, I created a new squid, with the same configurations, I pointed test.mydomain.com to the new squid external IP..

http://test.mydomain.com is working, but https://test.mydomain.com gives the error:

Secure Connection Failed - Error code: SSL_ERROR_RX_RECORD_TOO_LONG

from access.log I found this error:

HTTP/1.1" 403 1552 "-" "-" TCP_DENIED:NONE

I did read that squid cannot handle HTTPS traffic, so my question is, how does it work with the old squid?

I suppose the last sysadmins did some configuration I'm not aware of...

I'm really lost, I don't understand what I'm missing..

Thanks!

Edit: iptables rules from working squid:

https://pastebin.com/psgyRf4G ( I cloned the working squid and replaced all the IP's to the right one, Still not working ).

Edit 2:

I found a rule on our pfsense firewall ( Configured as gateway for the working squid ):

https://i.imgur.com/RAsBYCm.png

WebExternal is the external IP of the squid.

sq01webp is the internal IP of the squid.

Edit 3:

I found another interesting routing commands under /etc/network/if-up.d/routing

https://pastebin.com/gf1d7TCh

Edit 4:

Seems to be working now, I found out that the routing commands '/etc/network/if-up.d/routing' are not even in use.

the squid configuration was fine, I just had to fix those iptables rules on my squid gateway firewall:

-A PREROUTING -d EXTERNALIP/32 -p tcp -m tcp --dport 443 -j DNAT --to-destination 192.168.30.66

-A PREROUTING -d EXTERNALIP/32 -i eth+ -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.30.90:1080

-A FORWARD -d 192.168.30.90/32 -p tcp -m tcp --dport 1080 -j ACCEPT

-A FORWARD -s 192.168.30.90/32 -p tcp -m tcp --sport 1080 -j ACCEPT

submitted by /u/MadHackerTV
[link] [comments]

Is nextcloud community edition free for business use?

$
0
0

Setting up a nextcloud CE server for the place I work for. As I understand it there's the free community edition and also the enterprise version. Is enterprise basically just a support contract for the community edition?

submitted by /u/Ih8databases
[link] [comments]

Chart that lists all potential network-related config files for the majority of linux distros?

netdata, the open-source, distributed real-time performance and health monitoring, released v1.9.0 !

$
0
0

netdata v1.9.0 released!

Release notes: https://github.com/firehol/netdata/releases

Home page: https://my-netdata.io

At a glance:

  1. dashboard snapshots load/save
  2. cross chart highlighting of time-frames
  3. alarms for TCP listen drops and buffer overflows
  4. better monitoring for libvirtd/qemu VMs
  5. units timezone conversion on the fly
  6. couchdb monitoring
  7. powerdns monitoring
  8. beanstalkd monitoring

and as always... dozens more improvements, enhancements, new features and bug fixes!

submitted by /u/ktsaou
[link] [comments]

GRUB 2: password protection for all but default menu entries

help with rsyslog and duplicate entries

$
0
0

(Debian 8) I'm trying to redirect all of my dhclient logging messages to a specific file /var/log/dhclient.log I've since got that working, but now what I have is dhclient messages in both daemon (common log file) and dhclient.log. How do I tell rsyslog to only put those messages in dhclient.log?

submitted by /u/writoflaw
[link] [comments]

Should I learn Lisp?

$
0
0

I was recommended by a very smart colleague of mine (think PHD Mathematician) to learn Lisp if I want to get into programming.

He said that learning Lisp will set the foundation I need to be able to program the rest of my life. It will allow me to think like a Software Engineer does.

I enjoy working on the System's side of things, but programming and infrastructure as code are very appealing to me as well. I also firmly believe that in the future that every IT professional will need to know how to code.

The only problem is, time is limited and the job market doesn't value Lisp.

What would you guys do? You think its worth learning Lisp? I'm thinking, if I'm gonna be doing this type of stuff the rest of my life then learning this would be valuable. But then again, the job market values Python, Ruby, Java, etc.

submitted by /u/anacondapoint6
[link] [comments]

oVirt 4.2 Released

Need some help with LXC containers and USB devices

$
0
0

Hi, I hope this is the right place to post this question. Let me know if there's somewhere else I should try instead.

I'm a graduate student who has inherited the management of a cluster made up of some servers with a mix of CPUs, FPGAs and GPUs. I need to set up containers on the servers so we can let different people use them on demand without them interfering with each other.

The trouble I'm having at the moment is setting this up to detect the FPGAs. I'm using the LTS version of LXD on Ubuntu 16.04. The FPGAs are connected via USB (I can see it with lsusb) but the FPGA tools don't detect it as a connected device. I've set it up as a unix-char device in the LXC container setup and I've installed the drivers in the container.

This is a bit outside my area of expertise so I'd appreciate any help or advice you may be able to provide. Thanks!

submitted by /u/throwaway20140212
[link] [comments]

Good alternative to t38modem?

$
0
0

I've spent the better part of a day trying to get this thing to compile on centos 7. I'm told there's a package for debian distributions, but the rest of our setups run centos and I don't want to run two distros.

Currently the problem is: Both the 1.1 version and the 2.0 version are expecting ptlib semaphores to have an element called WillBlock, which isn't implemented in either the distributed ptlib or the latest 2.16 I downloaded. The 2.0 t38modem comes with its own fork of what looks like 2.9 that does have that - I'm wresting with that now.

If something is this hard to get to compile, I'm thinking maybe I'm dealing with orphaned code.

submitted by /u/dwargo
[link] [comments]

Which distributed file systems for NFS exporting?

$
0
0

I will be decommissioning several servers from production. They use SAS hard drives.

Would like to turn these servers into a proof-of-concept distributed file system (DFS) NFS server.

Any recommendations on which DFS to use? From my reading, it's highly recommended to use 10GbE and SSDs but I don't have to budget for that. I will have to use the built-in quad 1GbE ports they have. I can configure the switch to use LACP.

I've looked at Ceph, BeeGFS, GlusterFS, and LizardFS. Really looking for a DFS solution that easy to implement and maintain. One that pretty much auto tunes itself.

Thanks for the replies.

submitted by /u/dancerjx
[link] [comments]

Is it possible for me to create a 192.168.2.x network at home?

$
0
0

Right now I have a 192.168.1.0/24 network that uses my ISP's router to get to the Internet.

Would I be able to create a 192.168.2.0/24 network and still be able to reach the internet?

Is it possible for me to configure a Linux Box as a router that uses my 192.168.1.1 gateway to reach the Internet anytime a host within the 192.168.2.0/24 network tries to?

How would I go about doing something like this

submitted by /u/purplelinux
[link] [comments]

VirtualBox Kickstart PXE Boot Not Working (No Bootable Medium Found)

$
0
0

Hey everyone I'm having issues with trying to do kickstart installations on VirtualBox. My dhcp server for the PXE Boot is 192.168.2.2, but the VM's are getting their IP's from the 192.168.1.1 dhcp server when I try to do a PXE Boot.

https://www.server-world.info/en/note?os=CentOS_7&p=pxe&f=1

I've followed these instructions to a T and it's not working.

I got it do a network boot, but as soon as I added the Kickstart configurations the VM's started pulling IP addresses from the wrong DHCP server.

Anybody know how I could fix this?

submitted by /u/purplelinux
[link] [comments]

Controlling multiple instances of same program

$
0
0

Hi, not sure if this belongs here or Linux noobs subreddit, but here it is.

I need to run multiple instances of same program, there may often be need to add one instance more or remove few of them. I can write a script that will start them, but what happens if one of them stops for some reason? How can I make sure that it gets restarted if stops for some reason?

In similar situations I used to make systemd service file for each instance, but in this case there is a lot of them. What would be the best approach?

submitted by /u/l0c0d0g
[link] [comments]
Viewing all 17906 articles
Browse latest View live