ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. DustinB3403
    3. Best
    • Profile
    • Following 21
    • Followers 20
    • Topics 938
    • Posts 25,971
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: What the world? No user backup script

      Why not use something like UrBackup rather than recreating the wheel with custom scripts?

      posted in IT Discussion
      DustinB3403D
      DustinB3403
    • RE: What Are You Doing Right Now

      I'm thinking about making some infant toys out of wood. I've got a few tools, and it would be good use of time (and a money saver).

      Better than purchasing all of this plastic crap.

      posted in Water Closet
      DustinB3403D
      DustinB3403
    • RE: Naming convention for VMs?

      We tend to mimic the convention that @JaredBusch uses.

      Of course some people forget the convention and then get all pissy about it.

      posted in IT Discussion
      DustinB3403D
      DustinB3403
    • RE: What Are You Doing Right Now

      @dafyre said in What Are You Doing Right Now:

      @EddieJennings said in What Are You Doing Right Now:

      Catching up on work E-mail.

      Ugh... Don't remind me. I was AFK for 3 weeks... Came back to 600 something emails. /cry

      Ctrl+A, right click, mark as read.

      posted in Water Closet
      DustinB3403D
      DustinB3403
    • RE: How to possibly download older version of Windows 10

      @IRJ Compliant because everything is Linux 🙂

      6a09f4c78c82187da893f311ee48f5e3.png

      posted in IT Discussion
      DustinB3403D
      DustinB3403
    • RE: Random Thread - Anything Goes

      zca85rz5nj921.jpg

      posted in Water Closet
      DustinB3403D
      DustinB3403
    • RE: Bootable Hardware Detection Tool:

      Once you setup XCP-ng on your host you'll need a way to administer it, you can use the fat client (for windows) or XOA - functionally limited or the completely free built it yourself approach (scripted here) as well as this to update it.

      posted in IT Discussion
      DustinB3403D
      DustinB3403
    • RE: What Are You Doing Right Now

      I just noticed that the UrBackup Server can now be installed via chocolatey!

      chrome_2019-01-11_15-35-58.png

      Talk about making things simple!

      posted in Water Closet
      DustinB3403D
      DustinB3403
    • How to Setup Graylog

      First off this assumes you are using CentOS 7 (centos 8 may work, I just didn't have the time get that ISO downloaded and troubleshoot all of these steps.

      To start, update the OS so we're current and install some dependencies.

      yum update -y
      yum install java-1.8.0-openjdk-headless.x86_64
      yum install epel-release
      yum install pwgen
      
      vi /etc/yum.repos.d/mongodb-org-4.0.repo
      

      When you are modifying this repo add the below

      [mongodb-org-4.0]
      name=MongoDB Repository
      baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/4.0/x86_64/
      gpgcheck=1
      enabled=1
      gpgkey=https://www.mongodb.org/static/pgp/server-4.0.asc
      
      :wq
      
      yum install mongodb-org
      

      Enter 'Y' to confirm installation

      systemctl daemon-reload
      systemctl enable mongod.service
      systemctl start mongod.service
      
      ps aux | grep mongo
      
      rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
      
      vi /etc/yum.repos.d/elasticsearch.repo
      

      Insert the below into this repo file so we can install Elasticsearch-OSS (because the licensing is better for us in this case).

      [elasticsearch-6.x]
      name=Elasticsearch repository for 6.x packages
      baseurl=https://artifacts.elastic.co/packages/oss-6.x/yum
      gpgcheck=1
      gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch    
      enabled=1
      autorefresh=1
      type=rpm-md
      

      Save and quit this file :wq

      yum install elasticsearch-oss
      
      vi /etc/elasticsearch/elasticsearch.yml
      

      Change: #cluster.name: my-application to
      cluster.name: graylog

      At the EoF add

      action.auto_create_index: false
      

      Save and quit this file :wq

      chkconfig --add elasticsearch
      systemctl daemon-reload
      systemctl enable elasticsearch.service
      systemctl start elasticsearch.service
      
      ps aux | grep elastic
      
      rpm -Uvh https://packages.graylog2.org/repo/packages/graylog-3.0-repository_latest.rpm
      
      yum install graylog-server
      

      Now to setup the configuration file

      vi /etc/graylog/server/server.conf    
      >> :shell
      >> pwgen -N 1 -s 96
      

      Copy whatever is generated and insert it in "password_secret = "

      >> exit
      

      Need to enter the root_password_sha2 to login to graylog web console (make it user friendly)

      >> :shell 
      
      echo -n "Enter Password: " && head -1 </dev/stdin | tr -d '\n' | sha256sum | cut -d" " -f1
      

      Copy the Hash

      >> exit
      

      Lastly edit the timezone

      root_timezone = America/New_York
      

      Save and quit this file :wq

      Ensuring everything starts at boot

      chkconfig --add graylog-server
      systemctl daemon-reload
      systemctl enable graylog-server.service
      systemctl start graylog-server.service
      

      Configuring rsyslog

      vi /etc/rsyslog.conf
      >> EoF
      Insert *.* @ip-addr-of-server:1514;RSYSLOG_SyslogProtocol23Format
      systemctl restart rsyslog
      iptables -t nat -A PREROUTING -p tcp --dport 514 -j REDIRECT --to 1514
      iptables -t nat -A PREROUTING -p udp --dport 514 -j REDIRECT --to 1514
      

      Saving these rules so they load at next boot
      iptables-save > /etc/sysconfig/iptables

      Checking to make sure we're listening port on 9000

      ss -nl | 9000
          tcp    LISTEN     0      128      [::ffff:127.0.0.1]:9000               [::]:*
      
      vi /etc/graylog/server/server.conf
      

      Edit the HTTP settings so you can actually access the web interface from anything on your LAN (or cloud)

      http_bind_address = ip-addr-of-server:9000
      

      Save and quit this file :wq

      systemctl restart graylog-server
      

      Wait a minute for everything to start up.

      Then check the port for your public IP to make sure port 9000 is listening, it should be show like in the example below

      ss -nl | grep 9000
      tcp    LISTEN     0      128     [::ffff:ip-addr-of-server]:9000               [::]:*
      

      Adding some Firewall exceptions

      firewall-cmd --zone=public --add-port=9000/tcp
      

      At this point open a web browser and go to http://ip-addr-of-server:9000 and login with 'admin' and whatever pass you created in above

      Time to update so we're current - I know @JaredBusch 🖕

      sudo rpm -Uvh https://packages.graylog2.org/repo/packages/graylog-3.1-repository_latest.rpm
      yum clean all
      yum install graylog-server
      systemctl restart graylog-server
      

      Re-login to your updated graylog server and you can clear the alarm about being out of date.

      From here all you need to do is setup your inputs.

      posted in IT Discussion graylog centos how to
      DustinB3403D
      DustinB3403
    • RE: What Are You Doing Right Now

      Yeah.

      grumpy-cat.jpg

      posted in Water Closet
      DustinB3403D
      DustinB3403
    • RE: Good Specs to Build a Gaming PC (asking for a friend)

      @Supreme_Overlord said in Good Specs to Build a Gaming PC (asking for a friend):

      @scottalanmiller what about like a 1TB in the computer and then getting like an external to hold storage??

      No. . .

      Just get a bigger SSD rather than wasting money on external components that are going to be slower.

      posted in IT Discussion
      DustinB3403D
      DustinB3403
    • RE: Non-IT News Thread

      @JaredBusch said in Non-IT News Thread:

      @DustinB3403 said in Non-IT News Thread:

      @mlnews said in Non-IT News Thread:

      Pay for Trump’s border wall with $20 online porn fee, Ariz. lawmaker says

      Arizona bill would make online porn viewers pay for border wall with Mexico.

      An Arizona state lawmaker has proposed a $20 fee on people who want to view online pornography in order to raise money for building a border wall between Arizona and Mexico.

      Arizona House Bill 2444, proposed last week by State Rep. Gail Griffin (R-Hereford), would require makers and distributors of Internet-connected devices to ship such devices with blocking software "that renders a website that displays obscene material inaccessible by default." Under the bill, any Internet user who wants to deactivate the blocking software would have to pay "a onetime deactivation fee of at least $20 to the Arizona Commerce Authority."

      So the issue with this lies in the fact that something that is obscene to one person, may be how you "say hello" to another person.

      Also how does this Republican Politician think this would work?

      FFS, did you just use politician and think in the same sentence?

      😄 this is true. . . Politicians don't think. .

      posted in Water Closet
      DustinB3403D
      DustinB3403
    • RE: Connectwise Control / Screenconnect recommends you break the law to run their software

      Just because you are capable of doing something doesn't mean you're allowed to.

      Obviously ConnectWise is of the stance, that "If MS didn't want you to do this they would stop you".

      To which any sane person would say "How would MS know what is going to be installed on any OS?"

      posted in IT Discussion
      DustinB3403D
      DustinB3403
    • RE: What Are You Doing Right Now

      I actually considered calling in today. I just don't want to be at work today. I am not in a mood to deal with it and yes I can't even.

      posted in Water Closet
      DustinB3403D
      DustinB3403
    • RE: Window server standard edition on Hyper V- means two Wins VMs ?

      Install hyper-v as the base, don't install Windows and enable the role.

      Then you can add two windows vms using a standard license.

      posted in IT Discussion
      DustinB3403D
      DustinB3403
    • RE: What Are You Doing Right Now

      @WrCombs

      554421_1.jpg

      posted in Water Closet
      DustinB3403D
      DustinB3403
    • RE: Topics of Systems Administration

      FORK THIS THREAD!

      posted in IT Discussion
      DustinB3403D
      DustinB3403
    • RE: What Are You Doing Right Now

      @gjacobse Michael Jackson and a crotch grab would've been appropriate too.

      posted in Water Closet
      DustinB3403D
      DustinB3403
    • RE: Proxmox pricing

      @Dashrender said in Proxmox pricing:

      Hyper-V host itself if your AD vm's are all down.

      Don't join your Hyper-V hosts to the domain if you have only a single host and single DC.....

      posted in IT Discussion
      DustinB3403D
      DustinB3403
    • RE: What Are You Doing Right Now

      This is the most funny thing ever performed on any platform ever.

      chrome_2019-01-23_16-47-25.png

      posted in Water Closet
      DustinB3403D
      DustinB3403
    • 1 / 1