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

      Removing Windows Installed Packages with Powershell

      IT Discussion
      • powershell uninstall windows application management bloat how to • • DustinB3403
      8
      1
      Votes
      8
      Posts
      935
      Views

      DustinB3403D

      @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.

    • DustinB3403D

      USB Device Managment

      IT Discussion
      • usb device management windows powershell how to • • DustinB3403
      18
      0
      Votes
      18
      Posts
      3.0k
      Views

      Z

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

    • DustinB3403D

      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
      2.8k
      Views

      No one has replied

    • JaredBuschJ

      Setup Nextcloud 19.0.4 on Fedora 32

      IT Discussion
      • fedora fedora 32 nextcloud nextcloud 19 how to real instructions • • JaredBusch
      46
      4
      Votes
      46
      Posts
      3.4k
      Views

      JaredBuschJ

      Still works on Fedora 37....

    • DustinB3403D

      Installing a Depreciated version of Apple OSX

      IT Discussion
      • how to osx apple old version control • • DustinB3403
      3
      4
      Votes
      3
      Posts
      682
      Views

      DustinB3403D

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

    • DustinB3403D

      How to Setup Graylog

      IT Discussion
      • graylog centos how to • • DustinB3403
      2
      3
      Votes
      2
      Posts
      613
      Views

      black3dynamiteB

      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

    • JaredBuschJ

      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
      2.0k
      Views

      JaredBuschJ

      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
    • JaredBuschJ

      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
      2.9k
      Views

      CloudKnightC

      @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.

    • JaredBuschJ

      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
      1.1k
      Views

      JaredBuschJ

      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
    • scottalanmillerS

      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
      1.2k
      Views

      JaredBuschJ

      @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.

    • JaredBuschJ

      Install OpenSupports on Fedora 29

      IT Discussion
      • opensupports helpdesk guide how to fedora fedora 29 • • JaredBusch
      10
      1
      Votes
      10
      Posts
      2.1k
      Views

      JaredBuschJ

      @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.

    • JaredBuschJ

      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
      5.6k
      Views

      JaredBuschJ

      @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.

    • JaredBuschJ

      Mass upload sound files into FreePBX

      IT Discussion
      • freepbx asterisk scripting config sounds how to • • JaredBusch
      4
      6
      Votes
      4
      Posts
      1.3k
      Views

      JaredBuschJ

      @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.

    • gjacobseG

      So I built: Pi-hole

      IT Discussion
      • so i built how to pi-hole vultr • • gjacobse
      35
      2
      Votes
      35
      Posts
      3.0k
      Views

      BRRABillB

      @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.

    • JaredBuschJ

      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
      3.8k
      Views

      Reid CooperR

      Nice write up, thanks!

    • wirestyle22W

      Renewing Let's Encrypt certificates using a systemd timer

      IT Discussion
      • systemd timers certbot nginx how to • • wirestyle22
      9
      7
      Votes
      9
      Posts
      2.1k
      Views

      JaredBuschJ

      @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

    • wirestyle22W

      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
      1.2k
      Views

      DanpD

      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.

    • JaredBuschJ

      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
      30.4k
      Views

      JaredBuschJ

      @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

    • JaredBuschJ

      Install Nginx as a Reverse Proxy on Fedora 27

      IT Discussion
      • nginx fedora certbot fedora 27 reverse proxy guides real instructions how to • • JaredBusch
      107
      10
      Votes
      107
      Posts
      22.7k
      Views

      travisdh1T

      It's now 2/15/2024 with Fedora 39, and this is still working.

      Just setup a new reverse proxy.

    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 1 / 6