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

      MySQL MariaDB password reset without knowing the password

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion centos mysql mariadb
      29
      0 Votes
      29 Posts
      3k Views
      scottalanmillerS

      @DustinB3403 said in MySQL MariaDB password reset without knowing the password:

      Just still seems weird to have the password in plaintext on in a config file.

      has to be somewhere, how else can an application connect? Look at WordPress, for example, you have to enter the password into the application so that the application can connect to the database. Otherwise, the database would have to have no password protection at all or you'd need a human to log in and enter the password every time a database connection was needed (which is normally thousands of times a minute.)

    • scottalanmillerS

      Configure Nginx as Reverse Proxy for ScreenConnect to Enable Lets Encrypt

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion linux fedora centos nginx reverse proxy screenconnect
      4
      7 Votes
      4 Posts
      2k Views
      scottalanmillerS

      @wrx7m said in Configure Nginx as Reverse Proxy for ScreenConnect to Enable Lets Encrypt:

      Less to that than I thought there would be.

      It's surprisingly simple and basic. It's really just passing one port to another, and using SSL. About the most basic setup you can have.

    • E

      Prerequisites for Yealink YDMP Install

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion yealink sip telephony voip ydmp centos centos 7 linux
      4
      1 Votes
      4 Posts
      1k Views
      DustinB3403D

      @JaredBusch said in Prerequisites for Yealink YDMP Install:

      @DustinB3403 worked with this I believe...

      I did, but the install process was pretty easy.

      https://drive.google.com/open?id=1-2hh-5N-vg-s2w8MS3GVaqDRVetLmbpp

    • scottalanmillerS

      Get Active User Login Count from Dovecot

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion imap imap4 pop3 pop email linux dovecot fedora centos rhel
      3
      0 Votes
      3 Posts
      1k Views
      N

      Variation for Debian 10 + Dovecot 2.3.4.1:

      cat /var/log/dovecot/dovecot.log | grep imap-login:\ Info:\ Login | sed -e 's/.*Login: user=<\(.*\)>, m ethod=.*/\1/g' | sort | uniq | wc -l
    • scottalanmillerS

      Get User Count from Dovecot

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion dovecot email pop imap imap4 linux centos rhel unix fedora
      1
      2 Votes
      1 Posts
      575 Views
      No one has replied
    • EddieJenningsE

      oVirt Host Choices for Production

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion ovirt virtualization rhel centos fedora
      3
      1 Votes
      3 Posts
      900 Views
      scottalanmillerS

      @FATeknollogee said in oVirt Host Choices for Production:

      @EddieJennings I would start by using oVirt Node (it's based on CentOS), it's the simplest, least hassled way of setting up.

      Yeah, they have their own Node deployer, I'd generally just use that.

    • scottalanmillerS

      Linux Options for Dell PowerEdge 2950 II

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion linux centos fedora ubuntu suse dell poweredge 2950
      35
      0 Votes
      35 Posts
      5k Views
      scottalanmillerS

      @zachary715 said in Linux Options for Dell PowerEdge 2950 II:

      Just curious what role this server will be playing...

      Web server

    • scottalanmillerS

      MySQL Database Corruption on InnoDB

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion mysql centos centos 6 linux innodb database
      3
      0 Votes
      3 Posts
      633 Views
      scottalanmillerS

      So, easy fix, the ca_stag2 was a staging DB that was not needed and was not current. The whole thing appears to have corrupted. So I simply "moved" that entire directory to /tmp (just in case I had to put it back) and then MySQL could fire up.

    • scottalanmillerS

      oVirt Error Fail to Login with Connection Refused

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion ovirt linux centos centos 7 ovirt 4.3
      1
      0 Votes
      1 Posts
      664 Views
      No one has replied
    • IRJI

      Wazuh Agent Install - CentOS

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion wazuh centos linux
      4
      4 Votes
      4 Posts
      1k Views
      travisdh1T

      @JaredBusch said in Wazuh Agent Install - CentOS:

      Why are you disabling agent updates?

      Wazuh doesn't understand how to maintain their own repository, so when OSSIM updates their stuff, it breaks Wazuh. It's silly, easily fixable, and I don't have the time to maintain the thing myself.

    • scottalanmillerS

      Linux: Mounting an NFS Share

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion linux nfs fedora centos filesystem sam linux administration sam linux desktop administration system administration scott alan miller
      16
      2 Votes
      16 Posts
      4k Views
      AdamFA

      @scottalanmiller Sounds solid. The speed difference is dramatic. Thanks.

    • scottalanmillerS

      Linux: Installing and Configuring an NFS Server

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion linux sam linux administration unix nfs fedora centos
      10
      4 Votes
      10 Posts
      3k Views
      black3dynamiteB

      rpcbind services is not required for NFSv4

      https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/deploying_different_types_of_servers/exporting-nfs-shares_deploying-different-types-of-servers
      d4520326-8f0f-48df-b2bf-62e8b7a0040c-image.png

      25c783d8-ba90-4aee-b652-017c220451b6-image.png

    • scottalanmillerS

      Setting Up a Standard MySQL or MariaDB Database for an Application

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion database mysql mariadb rdbms how to dba system administration fedora linux centos 7 rhel 7 ubuntu centos
      5
      3 Votes
      5 Posts
      1k 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.

    • DustinB3403D

      Troubleshooting Help Requested

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved IT Discussion centos virtual machine esxi troubleshooting
      44
      0 Votes
      44 Posts
      3k Views
      notverypunnyN

      @DustinB3403 said in Troubleshooting Help Requested:

      @wrx7m said in Troubleshooting Help Requested:

      VLANs?

      No, and this VM is on the same vlan as other VMs on the same host.

      PS I've restored this VM to a completely different hypervisor and the issue persists. So either its the VM or the gateway.

      Have you tried a different IP, or even power down this machine and assign the same IP to another host to see if it gets blocked? Is the restored VM using the same MAC address as the original or has the restored version got a reinitialised MAC?

      Do you have access to check the logs on the gateway / edge / router to see if it's blocking / intercepting / messing with your host

    • JaredBuschJ

      Installing MS SQL Server Express on CentOS

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion linux centos centos 7 rhel database ms sql server ms sql server 2017 linux ms sql server 2017 guide how to
      13
      5 Votes
      13 Posts
      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

      Dropping a black box on a client network

      Watching Ignoring Scheduled Pinned Locked Moved Unsolved IT Discussion server centos centos 7 ms sql server ms sql server 2017 linux
      17
      2 Votes
      17 Posts
      2k Views
      DustinB3403D

      @JaredBusch I don't know if you ever finished up with this client, but for $1236 you can get a decent server that would work well.

      f88a7503-2bae-409f-b906-64cf361d69d0-image.png

      Add $99 if you wanted the 3 year warranty

    • scottalanmillerS

      Zimbra Services Fail to Start; Removing Stale PIDs

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion zimbra zimbra 8 centos centos 7 linux mta email
      9
      0 Votes
      9 Posts
      2k Views
      dbeatoD

      @scottalanmiller said in Zimbra Services Fail to Start; Removing Stale PIDs:

      @dbeato said in Zimbra Services Fail to Start; Removing Stale PIDs:

      @dbeato said in Zimbra Services Fail to Start; Removing Stale PIDs:

      @scottalanmiller said in Zimbra Services Fail to Start; Removing Stale PIDs:

      @dbeato said in Zimbra Services Fail to Start; Removing Stale PIDs:

      I have only had this happened on the upgrades between versions and OS upgrade.

      This happened to us while simply up and running. Middle of the day. Very odd.

      Weird

      What version?

      8.8.10_GA_3716

      Hmmm I just upgraded from 8.8.9 to 8.8.11 last week or two weeks ago.

    • scottalanmillerS

      Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion nodebb centos 7 linux mongodb mongodb 4.0 howto centos nodebb 1.11
      20
      2 Votes
      20 Posts
      7k Views
      scottalanmillerS

      @bnrstnr said in Deploying NodeBB 1.11.1 on CentOS 7 with MongoDB 4:

      What specific reasons for the CentOS recommendation here?

      Revisiting a little...

      Basically the three main Linux releases supported by MongoDB are CentOS, Ubuntu, and Debian. CentOS and Ubuntu here are mostly six of one. But CentOS 8 Stream I like a little more than the Ubuntu LTS options. We use Ubuntu a little more often than CentOS today, but in this case I feel that CentOS is slightly better for us. But really, all three options are perfectly fine. We just have to pick one.

    • J

      Free Veeam for DGraph Linux Restore

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion veeam linux centos dgraph database nosql clustered database veeam linux agent backup disaster recovery
      76
      2 Votes
      76 Posts
      5k Views
      scottalanmillerS

      So, circling back. How is the backup project going?

    • DustinB3403D

      vTigerCRM Installation - Troubleshooting

      Watching Ignoring Scheduled Pinned Locked Moved IT Discussion vtiger crm foss centos linux server
      9
      0 Votes
      9 Posts
      1k Views
      scottalanmillerS

      @flaxking said in vTigerCRM Installation - Troubleshooting:

      Is SuiteCRM's Cases feature decent?

      Not a sales guy, not sure how it is.

    • 1
    • 2
    • 3
    • 4
    • 5
    • 13
    • 14
    • 2 / 14