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
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
@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"
@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.
I have the following as base:
@JaredBusch @scottalanmiller uses the livechat feauture from rocket.chat for external customers.
@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:
The windows installer of salt minion asks you for :
Salt Master Hostname or IP address
Minion NameAnd 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 MACHINESUser 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 =).
@hobbit666 Here is a test in a vm of firefox startingup after login; the config file was created manually.
@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 havetar
orunzip
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?
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
Just as @Tim_G suggested, your best bet would be a Starwind HyperConverged vSan setup.
@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.
@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.
Finally, this is great news for ansible users.
Merged branch to master, removed stoudout outputs and added ip changes to .log file
@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
@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'
@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
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