ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. Romo
    3. Best
    • Profile
    • Following 3
    • Followers 2
    • Topics 54
    • Posts 875
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: SnipeIT install - anyone have a working guide?

      Their install script still works fine for me, just created a new install with it.

      wget https://raw.githubusercontent.com/snipe/snipe-it/master/install.sh
      chmod 744 install.sh
      ./install.sh
      

      0_1494273741257_snipeit-test-install.png

      posted in IT Discussion
      RomoR
      Romo
    • RE: SnipeIT install - anyone have a working guide?

      @travisdh1 The install script uses PHP 5.6 so anything >= to it should work =).

      #Install PHP and other needed stuff.
      echo "##  Installing PHP and other needed stuff";
      PACKAGES="httpd mariadb-server git unzip php56u php56u-mysqlnd php56u-bcmath php56u-cli php56u-common php56u-embedded php56u-gd php56u-mbstring php56u-mcrypt php56u-ldap"
      
      posted in IT Discussion
      RomoR
      Romo
    • RE: SnipeIT install - anyone have a working guide?

      @DustinB3403 I cloned a vanilla Centos 7 minimal vm, ran yum update, installed wget, downloaded the script and ran the script.

      That got me to a working SnipeIT installation which I just used to validate my production SnipeIT vm backups and they are working fine.

      posted in IT Discussion
      RomoR
      Romo
    • RE: Firewalls & Restricting Outbound Traffic

      I have the following as base:

      • 80/443 everyone
      • 53 TCP/UDP only for dns servers on the network
      • 123 UDP for for ad servers
      posted in IT Discussion
      RomoR
      Romo
    • RE: The power of Chat in IT Support

      @JaredBusch @scottalanmiller uses the livechat feauture from rocket.chat for external customers.

      https://rocket.chat/docs/administrator-guides/livechat/

      posted in IT Discussion
      RomoR
      Romo
    • RE: Comparison of Salt vs AD

      @scottalanmiller said in Comparison of Salt vs AD:

      @Romo said in Comparison of Salt vs AD:

      @dafyre said in Comparison of Salt vs AD:

      @scottalanmiller said in Comparison of Salt vs AD:

      @msff-amman-Itofficer said in Comparison of Salt vs AD:

      @dafyre

      The windows installer of salt minion asks you for :

      Salt Master Hostname or IP address
      Minion Name

      And you can install it silently with:

      Salt-Minion-2016.11.5-AMD64-Setup.exe /S /master=yoursaltmaster /minion-name=yourminionname

      Sadly I cant trust my users to run the installer and do the steps, I ASKED THEM TO PLACE THE 3 letter number sticker on their machine, and I emailed them an example photo, and the idiots entered alot of crap for minion name

      Now I have to do them all manually
      90 MACHINES

      User PowerShell or GPO.

      Or PDQ Deploy, lol. I probably should have mentioned I was thinking only of pushing out the Salt agent to the mentions.

      @dafyre That is exactly how I deployed my salt-minions. Added the salt entry on my dns and deployed the minion with PDQ Deploy.

      I use Chocolatey.

      I actually deployed the salt-minions to upgrade powershell and deploy chocolatey =).

      posted in IT Discussion
      RomoR
      Romo
    • RE: Ubuntu Mate - Auto Launch

      @hobbit666 Here is a test in a vm of firefox startingup after login; the config file was created manually.

      0_1496246416205_autostart-firefox.gif

      posted in IT Discussion
      RomoR
      Romo
    • RE: Fedora 26 Minimal includes Cockpit

      @stacksofplates said in Fedora 26 Minimal includes Cockpit:

      @stacksofplates said in Fedora 26 Minimal includes Cockpit:

      @travisdh1 said in Fedora 26 Minimal includes Cockpit:

      @stacksofplates said in Fedora 26 Minimal includes Cockpit:

      @JaredBusch said in Fedora 26 Minimal includes Cockpit:

      @stacksofplates said in Fedora 26 Minimal includes Cockpit:

      I've been using virt-builder to build images. Disk is only 6GB. 99% sure cockpit isn't installed.

      All I know is I downloaded the net image and chose the minimal install.

      Maybe it is buggy. It is alpha.

      Ya the virt-builder images are GPG signed and prebuilt for KVM. They have the QEMU guest agent installed and will generate a random root password each time you create a disk. I haven't grabbed a server image from the Fedora site in a while.

      Do you remember where you found that guest image? I'd like to spin some up.

      Edit: I think I found a source: https://docs.openstack.org/image-guide/obtain-images.html

      It pulls them in automatically. Just run virt-builder fedora-25 and add whatever options after. I usually just do something like this:

      virt-builder fedora-25 --format qcow2 --hostname changeme --run-command 'useradd ansible && echo "ansible     ALL=(ALL)  NOPASSWD:ALL" > /etc/sudoers.d/ansible' --install '<package that I can't remember right now>' --selinux-relabel
      

      Once it's done building I create the VM using that disk and let it spin up, and then shut it down. Then I run:

      virt-sysprep -a template.qcow2 --ssh-inject ansible:file:/path/to/pub_key
      

      Then I can just clone it and apply all of my policies with Ansible.

      Looked when I got home. The package I couldn't remember is python, libselinux-python, and qemu-guest-agent. The image also doesnt have tar or unzip installed.

      I lied about the guest agent. It's not installed by default but the console is available through ttyS0 by default which is nice.

      @stacksofplates Why inject the ssh-keys with virt-sysprep and not directly with virt-builder?

      I am getting locale errors when using vms created with virt-builder any idea how to fix this?
      0_1496448261236_locale_errrors.png

      posted in IT Discussion
      RomoR
      Romo
    • RE: Recommended Slack community & apps

      Not on Slack but there are several great one using https://gitter.im, most communities are for developers but I think you might like more than one using this tag:

      Devops - https://gitter.im/explore/tags/curated:devops,devops

      • Ansible - https://gitter.im/ansible/ansible?source=explore
      • Docker - https://gitter.im/docker/docker?source=explore
      posted in IT Discussion
      RomoR
      Romo
    • RE: Docker Container List?

      The docker store
      https://store.docker.com/search?source=verified&type=image

      0_1500573550086_docker-store.png

      posted in IT Discussion
      RomoR
      Romo
    • RE: Can I get some direction on setting up Hyper-V server with a storage cluster?

      Just as @Tim_G suggested, your best bet would be a Starwind HyperConverged vSan setup.

      https://www.starwindsoftware.com/technical_papers/StarWind-Virtual-SAN-Hyper-Converged-3-nodes-scenario-with-Hyper-V-Cluster.pdf

      posted in IT Discussion
      RomoR
      Romo
    • RE: PiHole for Friends and Family

      @scottalanmiller said in PiHole for Friends and Family:

      @romo use Ubuntu

      Script updated, automatic rule creation and deletion in Ubuntu working properly. Working on Fedora and firewalld next.

      posted in IT Discussion
      RomoR
      Romo
    • RE: PiHole for Friends and Family

      @nashbrydges Haven't set the script to run via cron yet. It is still is printing some strings to stdout while I fully complete it, plan to add a log file and redirect the output to it.

      I'll focuse on finishing it properly for Ubuntu so you can properly test it.

      posted in IT Discussion
      RomoR
      Romo
    • RE: Tower is open sourced as AWX

      Finally, this is great news for ansible users.

      posted in IT Discussion
      RomoR
      Romo
    • RE: PiHole for Friends and Family

      Merged branch to master, removed stoudout outputs and added ip changes to .log file

      posted in IT Discussion
      RomoR
      Romo
    • RE: Fedora 26 KVM HTML5 Remote Access with Web-Console via Kimchi

      @mattbagan

      Fedora
      kimchi-2.5.0-0.fc25.noarch.rpm
      wok-2.5.0-0.fc25.noarch.rpm

      posted in IT Discussion
      RomoR
      Romo
    • RE: Installing Snipe-IT on CentOS 7 and MariaDB

      @dustinb3403 said in Installing Snipe-IT on CentOS 7 and MariaDB:

      @jaredbusch said in Installing Snipe-IT on CentOS 7 and MariaDB:

      @robblehead said in Installing Snipe-IT on CentOS 7 and MariaDB:

      I had to run Setenforce 0

      Interesting, that should be handled. There may be a directory missed or something.

      I have a new install to make over the weekend for a client. I will make sure to check that.

      Didn't we have to simply add the exclusions to setenforce to get this to work on my system a while back?

      I remember having to do that, as disabling setenforce entirely isn't a great option.

      SELinux prevents the httpd process from accessing the /var/log/httpd/error_log if I remember correctly. Running the following should get it working again.

      ausearch -c 'httpd' --raw | audit2allow -M my-httpd
      semodule -i my-httpd.pp
      
      posted in IT Discussion
      RomoR
      Romo
    • RE: How can I sed or regex this out

      @jaredbusch said in How can I sed or regex this out:

      ****** Object: UserDefinedFunction [dbo].[FiscalMo] Script Date: 11/30/2017 10:24:23 AM ******

      sed 's/Script.*M //g'
      
      posted in IT Discussion
      RomoR
      Romo
    • RE: bat script for uploading file to ftp

      @smartkid808 Sorry my bad, run the bat from either powershell or cmd and pass the parameter /I for a single File or /L for a list of files written on a file one per line.

      UploadToFTP.bat /I thisIsMyFile.txt
      
      UploadToFTP.bat /L fileContainingListOfFilesInside.txt
      
      posted in IT Discussion
      RomoR
      Romo
    • RE: NAS alternative on the cheap

      I have mine setup like this:

      cat /proc/mdstat
      Personalities : [raid10] [raid1] 
      md0 : active raid1 sda1[0] sdb1[1] sdd1[3] sdc1[2]
            409536 blocks super 1.0 [4/4] [UUUU]
            
      md2 : active raid10 sdd3[3] sdc3[2] sda3[0] sdb3[1]
            965448704 blocks super 1.1 512K chunks 2 near-copies [4/4] [UUUU]
            bitmap: 4/8 pages [16KB], 65536KB chunk
      
      md1 : active raid10 sdd2[3] sdc2[2] sda2[0] sdb2[1]
            10230784 blocks super 1.1 512K chunks 2 near-copies [4/4] [UUUU]
      
      $ df -Th
      Filesystem           Type   Size  Used Avail Use% Mounted on
      /dev/mapper/vg_mc-ROOT
                           ext4    25G  1,7G   22G   7% /
      tmpfs                tmpfs  3,9G     0  3,9G   0% /dev/shm
      /dev/md0             ext4   380M  125M  235M  35% /boot
      /dev/mapper/vg_mc-DATA
                          
      
      

      Boot Raid 1
      Swap Raid 10
      Everything else raid 10 and then LVM on top

      posted in IT Discussion
      RomoR
      Romo
    • 1 / 1