ML
    • Register
    • Login
    • Search
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    1. Home
    2. Tags
    3. how to
    Log in to post
    • All categories
    • DustinB3403

      Removing Windows Installed Packages with Powershell
      IT Discussion • powershell uninstall windows application management bloat how to • • DustinB3403

      8
      1
      Votes
      8
      Posts
      439
      Views

      DustinB3403

      @dashrender said in Removing Windows Installed Packages with Powershell:

      @dustinb3403

      Sure, but to Gene's point - you're not going to be installing crapware with Chocolatey - but the MS Store pre-loads your machine with a shit ton, and really, the only way to get rid of if all is using PowerShell.

      I love the first post for info sake itself... I just don't see the need to mention Choco in the same thread - it serves an entirely different purpose - not to mention the fact that it isn't even loaded by default, so if it's there - YOU know it's there.

      And again, you know how to install and uninstall applications with Chocolatey.

      But you may not know (or want to know how to learn to use Microsoft's App Store) and maybe you prefer to use a shell to remove applications from add and remove.

      While you know what you've installed with Choco, doesn't mean you know how to remove programs like in the OP which, again installed during the evening hours without me having installed it.

    • DustinB3403

      USB Device Managment
      IT Discussion • usb device management windows powershell how to • • DustinB3403

      18
      0
      Votes
      18
      Posts
      1816
      Views

      Z

      @dustinb3403 I even managed to make devcon.exe disable USB
      but I wanted with this command you sent

    • DustinB3403

      How to: Export the content of an OST file for forensics
      IT Discussion • ost outlook data file open source linux how to convert ost conversion • • DustinB3403

      1
      5
      Votes
      1
      Posts
      1795
      Views

      No one has replied

    • JaredBusch

      Setup Nextcloud 19.0.4 on Fedora 32
      IT Discussion • fedora fedora 32 nextcloud nextcloud 19 how to real instructions • • JaredBusch

      45
      4
      Votes
      45
      Posts
      1062
      Views

      JaredBusch

      You can clear the phone warning by putting this in your /var/www/html/nextcloud/config/config.php file. Obviously change the Country Cody appropriately.
      https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements

      'default_phone_region' => 'US',
    • DustinB3403

      Installing a Depreciated version of Apple OSX
      IT Discussion • how to osx apple old version control • • DustinB3403

      3
      4
      Votes
      3
      Posts
      305
      Views

      DustinB3403

      @WLS-ITGuy give this a try, you may need to go back more than a year though.

    • DustinB3403

      How to Setup Graylog
      IT Discussion • graylog centos how to • • DustinB3403

      2
      3
      Votes
      2
      Posts
      365
      Views

      black3dynamite

      The last time I set up Graylog I had to configured SELinux.

      Allow the web server to access the network:
      sudo setsebool -P httpd_can_network_connect 1

      Graylog REST API and web interface:
      sudo semanage port -a -t http_port_t -p tcp 9000

      Elasticsearch (only if the HTTP API is being used):
      sudo semanage port -a -t http_port_t -p tcp 9200

      Allow using MongoDB default port (27017/tcp):
      sudo semanage port -a -t mongod_port_t -p tcp 27017

    • JaredBusch

      How to tell Yealink phones to upload user changes to the FreePBX provisioning directory
      IT Discussion • freepbx how to yealink provisioning guide • • JaredBusch

      4
      2
      Votes
      4
      Posts
      1267
      Views

      JaredBusch

      If you upgrade to FreePBX 16, the script handler needs updated to reflect PHP7.

      The git repository is updated, but if you have an existing install, this will fix it for you

      sudo sed -i "s/php5/php7/" /etc/httpd/conf.d/yealink.conf sudo systemctl restart httpd
    • JaredBusch

      VitalPBX how to manually unban yourself from the command line
      IT Discussion • vitalpbx fail2ban command line cli how to • • JaredBusch

      9
      2
      Votes
      9
      Posts
      2052
      Views

      StuartJordan

      @JaredBusch fair enough, I haven't used the product itself as of yet and wasn't aware it had whitelisting inside the product, if this was specific to just fail2ban then that method would be suitable, but in this case I agree with you, my mistake.

    • JaredBusch

      How to backup your Yealink local contacts to the FreePBX provisioning directory
      IT Discussion • freepbx yealink provisioning guide how to • • JaredBusch

      2
      4
      Votes
      2
      Posts
      663
      Views

      JaredBusch

      If you upgrade to FreePBX 16, the script handler needs updated to reflect PHP7.

      The git repository is updated, but if you have an existing install, this will fix it for you

      sudo sed -i "s/php5/php7/" /etc/httpd/conf.d/yealink.conf sudo systemctl restart httpd
    • scottalanmiller

      Setting Up a Standard MySQL or MariaDB Database for an Application
      IT Discussion • database mysql mariadb rdbms how to dba system administration fedora linux centos 7 rhel 7 ubuntu centos • • scottalanmiller

      5
      3
      Votes
      5
      Posts
      664
      Views

      JaredBusch

      @black3dynamite said in Setting Up a Standard MySQL or MariaDB Database for an Application:

      @JaredBusch said in Setting Up a Standard MySQL or MariaDB Database for an Application:

      I like my approach to setting this up.

      Obviously, install MySQL/MariaDB first as noted above.

      Then do the following. This all needs done in the same SSH session, but otherwise things are simple.

      Choose once of these exports for your DB root password.

      The first one is for you to specify, the second generates a random one and echo's it back to you.

      # Specify your own password for MariaDB root user export DB_ROOT_PASS="somebigpasswordgoeshere" # Generate a random password for MariaDB root user export DB_ROOT_PASS="$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 30)" echo "This is your MariaDB root password: $DB_ROOT_PASS" Specify the application database name and application user name # Database user to use for application export DB_USER='yourusername' # Database name to use for application export DB_NAME='yourdatabasename' Generate or specify a random password for the database user # Specify your own password for the application's database user export DB_PASS="somebigpasswordgoeshere" # Generate a random password for the application's database user export DB_PASS="$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 30)" echo "This is your password for the application user: $DB_PASS" Then create the application database, use, and grant access. mysql -e "CREATE DATABASE $DB_NAME;" mysql -e "CREATE USER '$DB_USER'@'localhost' IDENTIFIED BY '$DB_PASS';" mysql -e "GRANT ALL ON $DB_NAME.* TO '$DB_USER'@'localhost';" mysql -e "FLUSH PRIVILEGES;" Finally, lock down the system without the interactive requirement of mysql_secure_installation # Secure MariaDB (this does what mysql_secure_installation performs without interaction) mysql -e "UPDATE mysql.user SET Password=PASSWORD('$DB_ROOT_PASS') WHERE User='root';" mysql -e "DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1');" mysql -e "DELETE FROM mysql.user WHERE User='';" # Beginning on some version of MariaDB after Fedora 29 was released, the test DB is no longer there by defualt. mysql -e "DROP DATABASE test;" mysql -e "FLUSH PRIVILEGES;"

      Your approach makes it easier to use as part of a script.

      It also generates random passwords, which I prefer.

    • JaredBusch

      Install OpenSupports on Fedora 29
      IT Discussion • opensupports helpdesk guide how to fedora fedora 29 • • JaredBusch

      10
      1
      Votes
      10
      Posts
      1409
      Views

      JaredBusch

      @stacksofplates said in Install OpenSupports on Fedora 29:

      It does look nice though which can't be said for a lot of them.

      That is the reason I looked at it. The view was solid.

    • JaredBusch

      Installing MS SQL Server Express on CentOS
      IT Discussion • linux centos centos 7 rhel database ms sql server ms sql server 2017 linux ms sql server 2017 guide how to • • JaredBusch

      13
      5
      Votes
      13
      Posts
      4278
      Views

      JaredBusch

      @Emad-R said in Installing MS SQL Server Express on CentOS:

      Et me guess it is much faster on Linux than on Windows server

      No idea, but it is one less Windows Server license needed.

      Also MS SQL Server Express works well for many tasks.

    • JaredBusch

      Mass upload sound files into FreePBX
      IT Discussion • freepbx asterisk scripting config sounds how to • • JaredBusch

      4
      6
      Votes
      4
      Posts
      870
      Views

      JaredBusch

      @NashBrydges said in Mass upload sound files into FreePBX:

      Very useful stuff, thanks for this.

      Self serving. I’m buildinging a mass import right now using this process.

    • gjacobse

      So I built: Pi-hole
      IT Discussion • so i built how to pi-hole vultr • • gjacobse

      35
      2
      Votes
      35
      Posts
      1705
      Views

      BRRABill

      @travisdh1 said in So I built: Pi-hole:

      @BRRABill said in So I built: Pi-hole:

      Where is @scottalanmiller to chime in that isn't the purpose of DNS?

      šŸ™‚

      Careful, sounds like he's already infected you!

      Yes but I can't yell at people as good as him.

    • JaredBusch

      How to setup Samba on Fedora 28 as a public share
      IT Discussion • how to samba smb share fedora fedora 28 • • JaredBusch

      4
      7
      Votes
      4
      Posts
      3363
      Views

      Reid Cooper

      Nice write up, thanks!

    • wirestyle22

      Renewing Let's Encrypt certificates using a systemd timer
      IT Discussion • systemd timers certbot nginx how to • • wirestyle22

      9
      7
      Votes
      9
      Posts
      1510
      Views

      JaredBusch

      @wirestyle22 said in Renewing Let's Encrypt certificates using a systemd timer:

      sudo systemctl enable certbot-renewal.timer

      As I did this again today, I thought I would post my quick tweak to this because I do not like the idea of it running hourly.

      I set mine to run twice a day with a 1 hour randomizer.

      [Timer] OnCalendar=*-*-* 01,13:00:00 RandomizedDelaySec=3600 Unit=certbot-renewal.service

      027a0074-88ec-4c1f-b114-91722521529b-image.png

    • wirestyle22

      Setting up an Ansible Test Environment in Ubuntu 16.04.4
      IT Discussion • ansible ubuntu 16.04 how to • • wirestyle22

      8
      0
      Votes
      8
      Posts
      878
      Views

      Danp

      For anyone interested, I recently setup Ansible AWX on Fedora 27 using this guide. Running as a local VM so didn't do anything with Nginx / reverse proxy.

    • JaredBusch

      Use DHCP option 43 on Windows Server to tell UniFi devices how to find the controller
      IT Discussion • unifi dhcp option 43 microsoft windows server guide how to • • JaredBusch

      10
      6
      Votes
      10
      Posts
      23786
      Views

      JaredBusch

      @tim_g said in Use DHCP option 43 on Windows Server to tell UniFi devices how to find the controller:

      @jaredbusch

      I see, so just setting option 43 on whatever DHCP server you use is all you need. Nothing hardware specific is required on the network.

      Correct

    • JaredBusch

      Install Nginx as a Reverse Proxy on Fedora 27
      IT Discussion • nginx fedora certbot fedora 27 reverse proxy guides real instructions how to • • JaredBusch

      106
      10
      Votes
      106
      Posts
      12207
      Views

      black3dynamite

      @brandon220 said in Install Nginx as a Reverse Proxy on Fedora 27:

      Another question:
      When you access Nextcloud with https and the site check shows that everything passes

      passed.PNG

      But, when you place it behind Nginx, it "breaks"

      fail.PNG

      I am trying to understand what is happening behind the scenes to cause the error. Is anyone else seeing this happen on their instances?

      If you want to remove that warning, add the following in the server block

      location = /.well-known/carddav { return 301 $scheme://$host/remote.php/dav; } location = /.well-known/caldav { return 301 $scheme://$host/remote.php/dav; }