Navigation

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

    • New to Linux Administration: RHEL-Based or Debian-Based OS
      IT Careers • linux ubuntu centos it career rhel debian sysadmin career advice newbie • • EddieJennings  

      9
      0
      Votes
      9
      Posts
      216
      Views

      P

      @scottalanmiller said in New to Linux Administration: RHEL-Based or Debian-Based OS: I agree, both is the obvious choice. But to truly answer the question, I'd focus on Ubuntu (not Debian) and then RHEL. Debian is great, but it is Ubuntu specifically that has the market. Yes, almost the same is never the same as exactly the same.
    • SAMIT: IBM Is Killing Off CentOS
      Self Promotion • linux youtube centos rhel samit ibm oracle linux rocky linux cloudlinux • • scottalanmiller  

      13
      0
      Votes
      13
      Posts
      243
      Views

      @scottalanmiller said in SAMIT: IBM Is Killing Off CentOS: @Obsolesce that's a great visualization of it! Except it could easily be Fedora there also. And Fedora is not full of idiots thinking that they use Ubuntu because LTS and never upgrade shit.
    • P

      SOLVED How to use firewall-cmd to verify that tcp 80 & 443 is open?
      IT Discussion • centos fedora rhel firewalld firewall-cmd • • Pete.S  

      27
      0
      Votes
      27
      Posts
      190
      Views

      @Pete-S said in How to use firewall-cmd to verify that tcp 80 & 443 is open?: One thing that would be nice to have, something that I've used on hardware firewalls, is a command that will simulate packets through the firewall rules to see if they will pass or not. I've not seen something like that for iptables/netfilter. Not sure about simulating, but you can always send packets at it and use iptables -v to see the counters.
    • Install Skyetel Postcards on CentOS 7
      IT Discussion • linux centos scale hc3 centos 7 vultr docker skyetel sms texting postcards • • scottalanmiller  

      12
      0
      Votes
      12
      Posts
      133
      Views

      @marcinozga said in Install Skyetel Postcards on CentOS 7: @scottalanmiller said in Install Skyetel Postcards on CentOS 7: @marcinozga said in Install Skyetel Postcards on CentOS 7: @black3dynamite said in Install Skyetel Postcards on CentOS 7: Still preferred fallocate instead of dd to create a swap file? dd if=/dev/zero of=/swapfile count=4096 bs=1MiB && chmod 600 /swapfile && mkswap /swapfile && swapon /swapfile && echo "/swapfile swap swap defaults 0 0">>/etc/fstab Still using swap file? Memory is cheap. I don't recall a server where I created swap partition or swap file. Memory is NOT cheap, not at all. It is if you own it. If you rent your hardware, yeah, it adds up. Even if I own it, throwing away 2-3GB of RAM makes no sense. Now, if I own it, I can easily assign 4GB of RAM then remove it once installed, by why? That's harder to script and still no benefit. It's a bad habit to see resources as cheap and so waste them just because you can. Extra memory doesn't improve performance, it hurts it (just the tiniest bit). And it's not free, if you always apply twice as much RAM as you use (or four times, here), that gets costly one way or another. Either you wasted money overspeccing in the beginning, or you are stuck buying more now.
    • Deploying NodeBB 1.14 on CentOS 8 with MongoDB 4.2
      IT Discussion • linux centos nodebb mongodb centos 8 mongodb 4.2 nodebb 1.14 • • scottalanmiller  

      7
      0
      Votes
      7
      Posts
      453
      Views

      @scottalanmiller said in Deploying NodeBB 1.14 on CentOS 8 with MongoDB 4.2: By default, NodeBB uses the REDIS NoSQL database, By default, in 1.15.x it uses Mongo I'm pretty sure it did in the last version I installed also. But that was months ago and I do not recall clearly.
    • Installing OpenLiteSpeed on CentOS 8 LOMP Server
      IT Discussion • linux centos centos 8 litespeed openlitespeed lomp • • scottalanmiller  

      2
      0
      Votes
      2
      Posts
      96
      Views

      If you install using the above method, it never tells you the random password assigned to your management interface. But no fear, there is a tool that sets that for you and is super, duper easy. cd /usr/local/lsws/admin/misc sh admpass.sh It is interactive. And voila.
    • Deploying NodeBB 1.13 on CentOS 8 with MongoDB 4.2
      IT Discussion • linux centos nodebb mongodb howto centos 8 mongodb 4.2 nodebb 1.13 • • scottalanmiller  

      7
      1
      Votes
      7
      Posts
      720
      Views

      @JaredBusch said in Deploying NodeBB 1.13 on CentOS 8 with MongoDB 4.2: You can only remove this line if you are going to host the reverse proxy on the same instance. No reverse proxy needed if you are going to just look at it locally without going over the network.
    • SOLVED Resolved: Weird Website Redirect Issues
      IT Discussion • centos dns wordpress cloudflare cpanel domain name redirect 301 redirect • • wrx7m  

      4
      0
      Votes
      4
      Posts
      113
      Views

      Turns out that there was a wildcard A record in DomainA2.com
    • How to Setup Graylog
      IT Discussion • centos how to graylog • • DustinB3403  

      2
      3
      Votes
      2
      Posts
      155
      Views

      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
    • Installing Hugo Static Website Generator on Linux
      IT Discussion • linux ubuntu centos fedora debian hugo snap • • scottalanmiller  

      14
      1
      Votes
      14
      Posts
      377
      Views

      @stacksofplates said in Installing Hugo Static Website Generator on Linux: @scottalanmiller said in Installing Hugo Static Website Generator on Linux: @stacksofplates said in Installing Hugo Static Website Generator on Linux: @scottalanmiller said in Installing Hugo Static Website Generator on Linux: However, they don't have any standard Linux install documentation on their website and only show using Homebrew, a MacOS package that essentially no one on Linux uses. Very odd. I just looked. I'm not sure what you're talking about. The page clearly shows snaps, dnf, apt, pacman, eopgk, and pkg_add for OpenBSD. https://gohugo.io/getting-started/installing Completely different than what I got from the same link this morning. I went to that page, clicked on Linux, and they only showed Brewlinux, which isn't even the current name of the system. Way back machine shows it's been there since at least the 13th. https://web.archive.org/web/20191113183617/https://gohugo.io/getting-started/installing/ Very weird. I wonder if it was a cache somewhere? I definitely poked around this morning and Linuxbrew was the only thing that it had and had it from every link that I tried on their site.
    • Centos 8 and Centos 8 Stream released
      IT Discussion • centos • • Emad R  

      3
      1
      Votes
      3
      Posts
      119
      Views

      Finally released!!
    • UREs Strike InnoDB on MySQL
      IT Discussion • linux storage centos database mysql rdbms centos 6 relational database innodb ure • • scottalanmiller  

      9
      1
      Votes
      9
      Posts
      258
      Views

      @Obsolesce said in UREs Strike InnoDB on MySQL: @scottalanmiller said in UREs Strike InnoDB on MySQL: @Pete-S said in UREs Strike InnoDB on MySQL: Step one is to remove the drives and clone them with dd or recovery tool to a new drive. You could probably recover 99.9% of the data - if you want. As you can guess from all of their previous issues, they don't want to pay for any recovery, they just want it magically fixed for free. They don't own any storage onto which to clone it, either. Then what is the point of any of it? It appears to have zero value to the business. I said that to them.
    • CentOS 6.10 Freezing with Kernel Panic
      IT Discussion • linux centos centos 6 keyboard centos 6.10 • • scottalanmiller  

      8
      0
      Votes
      8
      Posts
      255
      Views

      I can't read the phrase "kernel panic" without thinking of this tune: Youtube Video
    • Setup OKD (Origin Community Distribution) RedHat OpenShift FOSS distro on Centos 7
      IT Discussion • centos kubernetes openshift okd • • Emad R  

      3
      1
      Votes
      3
      Posts
      146
      Views

      The OKD GitHub page for additional details and the main website.
    • MySQL MariaDB password reset without knowing the password
      IT Discussion • centos mysql mariadb • • DustinB3403  

      29
      0
      Votes
      29
      Posts
      338
      Views

      @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.)
    • Configure Nginx as Reverse Proxy for ScreenConnect to Enable Lets Encrypt
      IT Discussion • linux centos fedora nginx screenconnect reverse proxy • • scottalanmiller  

      4
      7
      Votes
      4
      Posts
      711
      Views

      @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
      IT Discussion • linux centos voip centos 7 telephony sip yealink ydmp • • esgaroth32  

      4
      1
      Votes
      4
      Posts
      200
      Views

      @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
    • Get Active User Login Count from Dovecot
      IT Discussion • linux centos fedora email rhel imap pop3 pop imap4 dovecot • • scottalanmiller  

      2
      0
      Votes
      2
      Posts
      191
      Views

      @scottalanmiller said in Get Active User Login Count from Dovecot: cat /var/log/maillog | grep pop3-login:\ Login | sed -e 's/.Login: user=<(.)>, method=.*/\1/g' | sort | uniq | wc -l This tiny variation will get you all logins from all logs that you have stored. cat /var/log/maillog* | grep pop3-login:\ Login | sed -e 's/.*Login: user=<\(.*\)>, method=.*/\1/g' | sort | uniq | wc -l
    • Get User Count from Dovecot
      IT Discussion • linux centos fedora email unix rhel imap pop dovecot imap4 • • scottalanmiller  

      1
      2
      Votes
      1
      Posts
      95
      Views

      No one has replied

    • oVirt Host Choices for Production
      IT Discussion • virtualization centos fedora rhel ovirt • • EddieJennings  

      3
      1
      Votes
      3
      Posts
      219
      Views

      @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.
    • Linux Options for Dell PowerEdge 2950 II
      IT Discussion • linux ubuntu centos fedora dell suse poweredge 2950 • • scottalanmiller  

      35
      0
      Votes
      35
      Posts
      971
      Views

      @zachary715 said in Linux Options for Dell PowerEdge 2950 II: Just curious what role this server will be playing... Web server
    • MySQL Database Corruption on InnoDB
      IT Discussion • linux centos database mysql centos 6 innodb • • scottalanmiller  

      3
      0
      Votes
      3
      Posts
      84
      Views

      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.
    • oVirt Error Fail to Login with Connection Refused
      IT Discussion • linux centos centos 7 ovirt ovirt 4.3 • • scottalanmiller  

      1
      0
      Votes
      1
      Posts
      232
      Views

      No one has replied

    • Wazuh Agent Install - CentOS
      IT Discussion • linux centos wazuh • • IRJ  

      4
      4
      Votes
      4
      Posts
      415
      Views

      @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.
    • Linux: Mounting an NFS Share
      IT Discussion • linux centos fedora scott alan miller sam linux administration system administration nfs filesystem sam linux desktop administration • • scottalanmiller  

      16
      2
      Votes
      16
      Posts
      1086
      Views

      @scottalanmiller Sounds solid. The speed difference is dramatic. Thanks.
    • Linux: Installing and Configuring an NFS Server
      IT Discussion • linux centos fedora unix sam linux administration nfs • • scottalanmiller  

      10
      4
      Votes
      10
      Posts
      1378
      Views

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

      5
      3
      Votes
      5
      Posts
      342
      Views

      @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.
    • UNSOLVED Troubleshooting Help Requested
      IT Discussion • centos esxi virtual machine troubleshooting • • DustinB3403  

      44
      0
      Votes
      44
      Posts
      489
      Views

      @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
    • Installing MS SQL Server Express on CentOS
      IT Discussion • linux centos centos 7 how to rhel database guide ms sql server ms sql server 2017 linux ms sql server 2017 • • JaredBusch  

      13
      5
      Votes
      13
      Posts
      2470
      Views

      @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.
    • UNSOLVED Dropping a black box on a client network
      IT Discussion • centos centos 7 server ms sql server ms sql server 2017 linux • • JaredBusch  

      17
      2
      Votes
      17
      Posts
      446
      Views

      @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. Add $99 if you wanted the 3 year warranty