Questions tagged [centos7]

Version 7 of CentOS Linux distribution. The CentOS Linux distribution is a stable, predictable, manageable and reproduceable platform derived from the sources of Red Hat Enterprise Linux (RHEL).

Version 7 of CentOS Linux distribution

The CentOS Linux distribution is a stable, predictable, manageable and reproduceable platform derived from the sources of Red Hat Enterprise Linux (RHEL). We are now looking to expand on that by creating the resources needed by other communities to come together and be able to build on the CentOS Linux platform. And today we start the process by delivering a clear governance model, increased transparency and access. In the coming weeks we aim to publish our own roadmap that includes variants of the core CentOS Linux.

Since March 2004, CentOS Linux has been a community-supported distribution derived from sources freely provided to the public by Red Hat. As such, CentOS Linux aims to be functionally compatible with RHEL. We mainly change packages to remove upstream vendor branding and artwork. CentOS Linux is no-cost and free to redistribute.

CentOS Linux is developed by a small but growing team of core developers. In turn the core developers are supported by an active user community including system administrators, network administrators, managers, core Linux contributors, and Linux enthusiasts from around the world.

Over the coming year, the CentOS Project will expand its mission to establish CentOS Linux as a leading community platform for emerging open source technologies coming from other projects such as OpenStack. These technologies will be at the center of multiple variations of CentOS, as individual downloads or accessed from a custom installer. Read more about the variants and Special Interest Groups that produce them.

Official website

Distributions

4653 questions
281
votes
10 answers

How to redirect output of systemd service to a file

I am trying to redirect output of a systemd service to a file but it doesn't seem to work: [Unit] Description=customprocess After=network.target [Service] Type=forking ExecStart=/usr/local/bin/binary1 agent -config-dir…
meallhour
  • 13,921
  • 21
  • 60
  • 117
219
votes
12 answers

resize2fs: Bad magic number in super-block while trying to open

I am trying to resize a logical volume on CentOS7 but am running into the following error: resize2fs 1.42.9 (28-Dec-2013) resize2fs: Bad magic number in super-block while trying to open /dev/mapper/centos-root Couldn't find valid filesystem…
ChrisKnowles
  • 6,870
  • 3
  • 14
  • 11
115
votes
5 answers

How to Install gcc 5.3 with yum on CentOS 7.2?

I am using CentOS 7.2 When I use yum groupinstall "Development Tools", gcc version is 4.8.5, like this: I would like to install gcc 5.3 How to approach this with yum?
sunshine
  • 1,955
  • 3
  • 16
  • 22
112
votes
10 answers

How to install pip in CentOS 7?

CentOS 7 EPEL now includes Python 3.4: yum install python34 However, when I try that, even though Python 3.4 installs successfully, it doesn't appear to install pip. Which is weird, because pip should be included by default with Python 3.4. which…
Jeff Widman
  • 22,014
  • 12
  • 72
  • 88
111
votes
20 answers

"psql: could not connect to server: Connection refused" Error when connecting to remote database

I am trying to connect to a Postgres database installed in a remote server using the following command: psql -h host_ip -U db_username -d db_name This is the error that occurs: psql: could not connect to server: Connection refused Is the server…
Poonam Anthony
  • 1,848
  • 3
  • 17
  • 27
107
votes
20 answers

PHP Warning: Module already loaded in Unknown on line 0

On Mac OSX Mavericks using homebrew php55 whenever I run a a php command I get the following error message (everything runs fine it's just annoying) PHP Warning: Module 'intl' already loaded in Unknown on line 0 I ran php --ini and the output…
Drew Landgrave
  • 1,515
  • 3
  • 13
  • 23
72
votes
11 answers

How to get ip address of a server on Centos 7 in bash

Previously I used the following command in bash to find the main ip of my server ipaddr=$(/sbin/ifconfig|grep inet|head -1|sed 's/\:/ /'|awk '{print $3}' | grep -v '127.0.0.1') But in centos7 it no longer works since ifconfig isn't available and…
user2650277
  • 6,289
  • 17
  • 63
  • 132
68
votes
1 answer

Docker on CentOS 7.2: kernel:unregister_netdevice: waiting for lo to become free. Usage count = 1

I'm running Docker on CentOS 7, from time to time there's the following message displayed: Message from syslogd@dev-master at Mar 29 17:23:03 ... kernel:unregister_netdevice: waiting for lo to become free. Usage count = 1 I've googled a lot, read…
shizhz
  • 11,715
  • 3
  • 39
  • 49
59
votes
16 answers

Docker service start failed

I have a CentOS 7.2 VM with Docker installed. Docker service and Docker container worked normally previously. But when I tried to pull a docker image, the VM was shutdown abruptly. After I restarted the VM, the Docker service could not be…
kiford
  • 1,219
  • 1
  • 12
  • 23
58
votes
28 answers

Uncaught ReflectionException: Class log does not exist Laravel 5.2

I am currently trying to clone an existing project of mine from github. After clone I run composer install during the process I receive the following error: Uncaught ReflectionException: Class log does not exist I am running Laravel 5.2 on Centos 7.…
jakehallas
  • 2,456
  • 1
  • 18
  • 26
50
votes
14 answers

django can't find new sqlite version? (SQLite 3.8.3 or later is required (found 3.7.17))

I've cloned a django project to a Centos 7 vps and I'm trying to run it now, but I get this error when trying to migrate: $ python manage.py migrate django.core.exceptions.ImproperlyConfigured: SQLite 3.8.3 or later is required (found 3.7.17). When…
SIMMORSAL
  • 1,402
  • 1
  • 16
  • 32
47
votes
4 answers

Failed to get D-Bus connection: Operation not permitted

I'm trying to install ambari 2.6 on a docker centos7 image but in the the ambari setup step and exactly while initializing the postgresql db I receive this error: Failed to get D-Bus connection: Operation not permitted I've got this error every…
fadhloun anis
  • 525
  • 1
  • 6
  • 13
45
votes
9 answers

Duplicate Package - update / upgrade - Centos

When I try running yum update on a CentOS 6.3 box, I am getting errors, and says to run yum check. The output of yum check is: ➜ ~ yum check Loaded plugins: fastestmirror glibc-2.12-1.107.el6_4.5.x86_64 is a duplicate with…
Justin
  • 42,716
  • 77
  • 201
  • 296
42
votes
9 answers

Unable to start Kestrel. System.IO.IOException: Failed to bind to address http://127.0.0.1:5000: address already in use

I followed the steps from this URL to publish .NET core 2.1 web application code to Linux Centos 7 server. https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/linux-nginx?view=aspnetcore-2.2 I tried to run "sudo dotnet…
nav100
  • 2,923
  • 19
  • 51
  • 89
42
votes
8 answers

Recommended way to install pip(3) on centos7

I am interrested in knowing the recommended way to install pip3 for python3.6 (as of today, may 2018) on current version of centos7 (7.5.1804) and the accepted answer of How to install pip in CentOS 7? seems to be outdated because: yum search -v…
shrimpdrake
  • 1,476
  • 2
  • 14
  • 25
1
2 3
99 100