Navigation

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

      SOLVED One of the configured repositories failed (Unknown)
      IT Discussion • centos7 update yum • • DustinB3403

      25
      0
      Votes
      25
      Posts
      6973
      Views

      M

      @IRJ said in One of the configured repositories failed (Unknown):

      I also think you may be looking at the wrong file.

      In Ubuntu it is located here

      /etc/apt/sources.list

      You can also add sources by file here

      /etc/apt/sources.list.d/

      He's using Centos, and location was correct. Both distros store config files in slightly different locations.

    • wrx7m

      Zabbix on CentOS7 - MariaDB or PostgreSQL?
      IT Discussion • centos7 database db linux linux server mariadb monitoring postgresql zabbix • • wrx7m

      7
      1
      Votes
      7
      Posts
      216
      Views

      dafyre

      I've done both. I tend to like MariaDB / MySQL better because that is what I'm more comfy with.

    • travisdh1

      Install AWX on CentOS 7 with Docker
      IT Discussion • ansible awx centos7 docker • • travisdh1

      25
      2
      Votes
      25
      Posts
      6300
      Views

      stacksofplates

      Another thing to note. I believe it's the rabbitmq password that can't accept an @ in the password.

    • A

      Cockpit
      IT Discussion • centos7 cockpit kvm virtualization • • atahaynah

      17
      2
      Votes
      17
      Posts
      381
      Views

      DustinB3403

      @atahaynah said in Cockpit:

      @DustinB3403 it was stopped

      But fortunately i got it resolved i had to downgrade one packege and after that restarted the service and it worked

      What did you downgrade to fix the issue?

    • DustinB3403

      CentOS 7 - Massive round of updates today
      IT Discussion • centos7 security updates • • DustinB3403

      7
      1
      Votes
      7
      Posts
      348
      Views

      DustinB3403

      @scottalanmiller Yeah I check daily for updates to make sure my things are up to par and was surprised when I saw such a huge list of updates waiting.

    • DustinB3403

      CentOS 7.5.1804 Firewalld Failure to run
      IT Discussion • bugzilla centos7 firewall-cmd firewalld iptables • • DustinB3403

      4
      2
      Votes
      4
      Posts
      1086
      Views

      jmoore

      @dustinb3403 ok got it, weird one

    • DustinB3403

      Yealink Device Management Platform
      IT Discussion • centos7 skype for business yealink • • DustinB3403

      28
      0
      Votes
      28
      Posts
      3577
      Views

      travisdh1

      @JaredBusch That's nuts!

    • FATeknollogee

      Testing oVirt...
      IT Discussion • centos7 gluster hyperconverged kvm ovirt red hat virtualization supermicro • • FATeknollogee

      339
      1
      Votes
      339
      Posts
      11188
      Views

      D

      @DustinB3403 said in Testing oVirt...:

      Also I feel like the most popular instructions were a blog post, rather than official documentation.

      I'm not even sure they have a dedicated techwriter. This is why it is better to just follow the official RHV docs. You'll have to filter out the Red Hat specific details, like subscription-manager, but you'll definitely have a better experience

    • FATeknollogee

      CentOS-7 UEFI vm (minimal 1708) on Fedora 28 host
      IT Discussion • centos7 fedora 28 iso virtualization • • FATeknollogee

      16
      0
      Votes
      16
      Posts
      1283
      Views

      FATeknollogee

      Go figure...CentOS-7 UEFI vm on Windows Server 2019 "Preview" w Hyper-V installs no problem!!!

    • DustinB3403

      Newb question - Running a script from the root directory
      IT Discussion • centos centos7 education linux scripts • • DustinB3403

      29
      0
      Votes
      29
      Posts
      2020
      Views

      scottalanmiller

      @stacksofplates said in Newb question - Running a script from the root directory:

      @dustinb3403 said in Newb question - Running a script from the root directory:

      @stacksofplates said in Newb question - Running a script from the root directory:

      @dustinb3403 said in Newb question - Running a script from the root directory:

      @stacksofplates said in Newb question - Running a script from the root directory:

      @dustinb3403 said in Newb question - Running a script from the root directory:

      @stacksofplates said in Newb question - Running a script from the root directory:

      @dustinb3403 said in Newb question - Running a script from the root directory:

      @scottalanmiller said in Newb question - Running a script from the root directory:

      @dustinb3403 said in Newb question - Running a script from the root directory:

      @stacksofplates said in Newb question - Running a script from the root directory:

      @dustinb3403 said in Newb question - Running a script from the root directory:

      @danp said in Newb question - Running a script from the root directory:

      Is the directory in your path? What do you get from echo $PATH?

      echo $PATH
      /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin:/root/opt/scripts/:/root/opt/scripts

      I've added it (twice).

      Well first off you had /root/opt/scripts not /opt/scripts. Second you either have to log out and back in or tell your user to use the new path with something like

      source ~/.bash_profile

      I used ````~/opt/scripts``` initially, as I wasn't aware of just adding my scripts into one of the existing locations. (everything said just add a new directory).

      By simply moving the script into an already existing path, I am able to update with just "script.sh".

      When you are root and your home is /root and you put ~/opt/scripts that is /root/opt/scripts.

      Remember that ~ is a shortcut to your home directory, which is /root

      So by adding ```/opt/scripts/```` this would've worked, but would've added complexity for no reason.

      No that still isn’t a default location. In the OP you said you put the script in /opt/scripts. Where did you actually put it?

      Originally I created the directory /opt/scripts and put the script in there so the Directory looks like

      /opt/scripts/script.sh

      I went back and change the script location to be in /usr/local/bin

      So in /usr/local/bin I now have script.sh

      This now works without issue, and /opt/scripts no longer exists.

      Ok ya that’s where the problem was. /opt/scripts is different than /root/opt/scripts. If you would have had that in your .bashrc or .bash_profile (or whichever shellconfigure you’re using) it would have worked. But you still have to let the user know of the PATH change.

      I'm the user in this case, but I never really create / save my own scripts. I just got tired of running a set of commands, every other day.

      Thus the need to figure out how I could run the script, without having to jump into the exact directory from which the script was saved.

      I mean you have to let the user you are logged in as Know if the change. Either by logging out and back in or by temporarily sourcing the config.

      I've logged out, what do you mean "sourcing the config" ?

      If you change your PATH while you’re logged on the user account doesn’t know of that change. You have to either log out and log in again or temporarily do something like

      source ~/.bashrc

      Or the non-aliased version...

      . ~/.bashrc
    • WrCombs

      Centos 7 Minimal Install
      IT Discussion • centos7 sodium vm • • WrCombs

      9
      1
      Votes
      9
      Posts
      1568
      Views

      Emad R

      @bnrstnr said in Centos 7 Minimal Install:

      Is there ever a reason to go with one of the other security policies for centOS?

      Depends where you work, usually this is set for government standards for example:
      https://en.wikipedia.org/wiki/Federal_Information_Processing_Standards

      So theoretically if you work for the Government agency they will require you to choose certain protocols, and those profiles will make your life easier.

    • NerdyDad

      Where to start?
      IT Discussion • centos centos 7 centos7 linux nethserver nextcloud server unix • • NerdyDad

      37
      1
      Votes
      37
      Posts
      2787
      Views

      Emad R

      Start with old Desktop with Virtualization extension, something that you can install OS and dont have to remove cause of free space or you need it for something else.

      Cause learning Linux or Centos or anything else needs environment, and virtualbox can work but it wont allow you play with KVM, and thats for me the big part of the fun.

      Also you need to keep learning that means its is process some day you will leave it 4-5 days dormat cause your stuck in an issue the other day bulb lights up mainly due to reading this site and you get back on it.

    • NerdyDad

      Adventures into Learning CentOS 7
      IT Discussion • centos centos 7 centos7 learning • • NerdyDad

      2
      4
      Votes
      2
      Posts
      835
      Views

      NerdyDad

      Added "Where to start?" here https://mangolassi.it/topic/13584/where-to-start

    • DustinB3403

      CentOS rsync between servers using keyfile to pass credentials
      IT Discussion • centos7 crontab rsync • • DustinB3403

      44
      0
      Votes
      44
      Posts
      2441
      Views

      travisdh1

      @DustinB3403 said in CentOS rsync between servers using keyfile to pass credentials:

      Nevermind, seems to work when I don't bother telling the system to use the authorized key.

      That IS kinda the idea. ssh just handles that for you, even when called from another program like rsync.

    • Romo

      Lookin for best method to create a network bridge CentOS 7
      IT Discussion • bridge-utils centos centos7 linux • • Romo

      9
      2
      Votes
      9
      Posts
      1213
      Views

      stacksofplates

      @Romo said in Lookin for best method to create a network bridge CentOS 7:

      @stacksofplates Another quick question, it is better to create the bridge from the os network utils instead of relying in virtmanager to create it right?

      That all depends. Macvtap is quick and dirty. Also has the benefits of not allowing network access between the host and VMs (can be a benefit or a hindrance depending on your scenario). If you want Full access across the bridge, then you'll have to manually create it.

    • travisdh1

      Docker, CentOS7, and RamNode confusing bug with fix.
      IT Discussion • bug centos7 docker fixed ramnode • • travisdh1

      20
      2
      Votes
      20
      Posts
      2454
      Views

      StrongBad

      Nice deal!