Questions tagged [centos]
Community ENTerprise Operating System; a Linux distribution based on Red Hat Enterprise Linux widely used on web servers.
3,217
questions
0
votes
0
answers
770
views
Install a GUI on CentOS/Redhat 7 (smaller gui)
I am using CentOS 7.3 install from "minimal installation".
I would like to have the Gnome GUI, if i install "Server with GUI" or "Gnome Desktop" i have a lot of packages which are useless for me... (...
2
votes
1
answer
3k
views
NTP Multicast configuration
I'm trying to get NTP multicast set up between a few computers. Right now I'm getting NTP multicast packets from a computer that I have neither access to nor information on (let's call that A) that is ...
4
votes
3
answers
3k
views
Unable to do 'yum install' inside LXC container on CentOS 7
I am trying to create CentOS container inside CentOS 7 and host my application. But I am unable to install anything inside container.
If I do
'yum -y install nodejs' i got below error
Loaded ...
4
votes
3
answers
20k
views
how to create Google Chrome shortcut on desktop for CentOS
I have successfully downloaded and installed Google Chrome from repository, and I can run it from a terminal.
My question is, how can I create a shortcut or a launcher on my desktop in CentOS ?
0
votes
1
answer
7k
views
Understanding HWADDRESS in ifcfg-eth0 in centOS
I am not from system admin background, however due to some reasons I need to set up a cluster of some 3-4 physical servers, each running CentOS, 6.8 version.
I downloaded the centOS 6.8 version iso ...
1
vote
1
answer
425
views
Centos 7 Serial Port Permissions in VMWare Player
Ok, what am i missing.
TLDR; I've done all I'm supposed to with permissions, lock directory, compiling, etc of Kermit and I still get the "Sorry, write access to UUCP lockfile directory denied."
...
0
votes
1
answer
5k
views
Starting dhcpd: [FAILED]
I have a Centos 6 virtual machine using KVM.
When I start the DHCPd service "service dhcpd start", I get the following:
Starting dhcpd: [FAILED]
When I execute "dhcpd", I get the following:
...
2
votes
1
answer
5k
views
How reliable are SHA1 sum and MD5 sums on very large files?
I constantly transfer disk images and virtual machine images (usually 800GB to nearly 1 TB per file) to a cloud server via rclone using SSH, and I wonder how reliable are sha1sum and md5sum when it ...
2
votes
1
answer
381
views
How point a directory in a Headless CentOS guest (on VirtualBox) to a directory on the host machine?
I have the following setup:
HOST MACHINE: openSUSE LEAP (KDE) Linux
GUEST MACHINE: CentOS 7 (no GUI, command line only)
VM: VirtualBox 5.1.4
I have a directory on my host machine called ~/...
0
votes
2
answers
963
views
How to force www on nginx and symfony
I need to always replace domain.com with www.domain.com and to force https so the final result should always be https://www.domain.com when domain.com or www.domain.com are requested i tried the ...
0
votes
1
answer
25
views
Are there authorization plugin support for RPMs?
I'd like to restrict running some RPMs based on additional rules (on top of GPG). Is there a way to create a Authorization plugin for RPMs in CentOS 7+?
1
vote
1
answer
860
views
<math.h> fails on Intel Centos 6.6 cluster
I'm on a university cluster, no su for me. I am trying to get Keras working, with either tensorflow or theano. Tensorflow fails because the system only has CUDA 7.5. It has an Intel chipset, but it's ...
0
votes
1
answer
2k
views
How to recover the folder /var/lib/* in centos 6 when I accidentally deleted it?
Unfortunately, I deleted the folder /var/lib/* in centos 6. How to recover this folder?
14
votes
1
answer
9k
views
How to get current number of opened inotify watches?
My system is CentOS.
I'm trying to get this by listing fs.inotify variables via sysctl call (sysctl fs.inotify), but didn't found anything useful, only variables to specify limits.
3
votes
1
answer
8k
views
Unable to install MariaDB on Centos 6.5 server - "No package available" in yum although Repo is present?
I've hit upon a strange issue with a new installation of CentOS 6.5 while trying to install MariaDB.
I've included the following information and created a MariaDB.repo file inside the /etc/yum.repos....
6
votes
2
answers
14k
views
Nmap "operation not permitted" error
I'm running CentOS 5.3 in an openVZ container, and I'm receiving "operation not permitted" errors from Nmap.
[root@test nmap-5.21]# ./nmap scanme.nmap.org
Starting Nmap 5.21 ( http://nmap.org )
at ...
0
votes
0
answers
952
views
Centos 7 - yum doesn't work
We have a server which is configured to update every 15 days. Ever since the recent update, we faced that yum is not able to update. This is the error when yum command is entered.
There was a ...
1
vote
1
answer
1k
views
How do I remove a delay created using dm-delay?
As part of testing my application, I wanted to see what would happen on hard-disk slow down or failure. I added a 500ms delay using dmsetup create delayed. I'm not very familiar with device mapper, ...
0
votes
0
answers
270
views
Dynamic IP resolve to Hostname-CentOS
I'm trying o figure out a way to create a hostname that resolves to a dynamic IP? To clarify, in a OS such as CentOS there is a hostfile that stores the hostname (host.local) and a associated static ...
1
vote
2
answers
2k
views
Unable to Install MSSQL Server on CentOS 7
I was following along with:
Install SQL Server on Red Hat Enterprise Linux
and I ran into the following error at the configuration portion:
Setting system administrator (SA) account password...
...
0
votes
1
answer
2k
views
"No package X available" when trying to install any package on CentOS 6.8
I want to install PHP 7 on my CentOS VPS. There are many tutorials on the web about this, but in every attempt for every package, I get this error:
No package php70w available.
(For each package ...
0
votes
1
answer
747
views
Directory with ACL - permission denied
Please, tell me, how can give access to directory with ACL as in RedHat(or CentOS)? I must not disabled the ACL.
ls -al /path
drwxrwxr-x+ 9 bitrix bitrix 4096 Feb 14 18:10 .
drwxrwxr-x+ 18 ...
0
votes
2
answers
781
views
Centos 6.4 in VirtualBox fail to start eth0
Two interface files are in /etc/sysconfig/network-scripts,
ifcfg-eth0 file:
DEVICE=eth0
HWADDR=08:00:27:DA:52:FB
TYPE=Ethernet
UUID=...
ONBOOT=yes
MM_CONTROLLED=no
BOOTPROTO=dhcp
ifcfg-eth1 file:
...
5
votes
5
answers
19k
views
Can't access Apache in my CentOS Virtualbox
I'm setting up a VirtualBox with CentOS so I can test out all my code, etc. on a Linux box instead of the Windows I use for development.
I just got the SSH working (I SSH to localhost:2222 and it ...
0
votes
1
answer
224
views
Recovery of a virtual machine (Centos, Windows, Oracle Virtual Box)
By mistake, I have deleted all files in my c:\linux\ folder where I had wmdk files corresponding to a virtual machine. Fortunately, there were in the recycle bin and I simply recovered them. ...
0
votes
2
answers
1k
views
Linux Audit Server Reboots
I'm running AuditD on Centos 6.5.
Is there a way to audit server reboots - who and when a server is rebooted? So if I login and run:
sudo reboot
I should see a log entry in /var/log/audit/audit....
1
vote
1
answer
837
views
Remotely install CentOS 7 (VNC) - Can't boot
I'm trying to remotely install CentOS 7 (on another CentOS 7) on a machine following the procedure below...
http://www.danpros.com/2016/02/how-to-install-centos-7-remotely-using-vnc
... which ...
0
votes
1
answer
1k
views
How to install R in CentOS 7 under Docker?
I downloaded CentOS from Docker Hub but I am unable to install R with yum or rpm. Commands, such as yum install R, yum install Rcore and rpm install R, do not work.
sh-4.2# rpm --query centos-...
1
vote
1
answer
5k
views
Ethernet interface not detected during CentOS 6 installation
I'm trying to install CentOS 6 on a a Dell Inspiron 14z 5423 but cannot get it to detect the wired network interface.
Here's what happens:
Begin installation with CentOS Minimal CD and go through ...
3
votes
3
answers
2k
views
Control gzip compression rates while archiving files with tar?
I have a script which periodically backs up a directory using the command "tar -czvf [name] [directory]" but my problem is that the script has recently been putting a lot of stress on the server (...
0
votes
0
answers
189
views
CentOS 7 : How to increase disk space with additional disk so as if there was only one disk?
I have a VPS running CentOS 7 with an original 10 GB disk on which everything is installed /dev/vba1and formatted in xfs.
I ordered from my provider an additional 50 GB disk that I need to format and ...
1
vote
0
answers
141
views
Installing Multicraft on EC2 Instance, phpMyAdmin will not load on browser
I'm following the instructions located at this page.
I'm at step 3 where it says:
You can now login to phpMyAdmin through either yourdomain.com/phpMyAdmin or yourserverIP/phpMyAdmin. Please note that ...
6
votes
3
answers
24k
views
How to properly shutdown my CentOS VM
Usually, I just do a sudo /sbin/shutdown now when in my VM and wait for it to logout into the bash shell. Then after that I just go to Power > Power Off. Is this the right way to shutdown my CentOS VM?...
0
votes
2
answers
427
views
Specific kernel version needed by elrepo on CentOS5
I can not install elrepo in an updated CentOS 5 system.
This is the error we get when we tried to install it:
[root@static ~]# rpm -Uvh http://www.elrepo.org/elrepo-release-5-5.el5.elrepo.noarch.rpm
...
0
votes
1
answer
623
views
Kicked off ssh server after changing sshd_config file
My server only allowed passwordless root login via ssh. For example, ssh [email protected] would get me right in. I wanted to enable user login, e.g. ssh [email protected] would ask for a ...
16
votes
4
answers
3k
views
A way to trigger an SELinux policy violation?
I'm studying the basic workings of SELinux and would find it useful to trigger a denial. My test machine is running CentOS 7, it's a basic server install without any extra services, and getenforce ...
1
vote
1
answer
13k
views
How do I deliver an email stuck in my Postfix mail queue?
How do I send this email from Postfix? I am using CentOS release 6.8 running Postfix 2.6.6.
maillog
Jan 16 21:23:16 ip-172-99-99-99 postfix/smtp[17128]: connect to alt1.aspmx.l.google.com[2607:f8b0:...
0
votes
2
answers
10k
views
Configure Java 7 Firefox Plugin on 64-Bit Cent OS
I configured Java on my Cent OS 64-bit machine by running the following command
yum install java-1.7.0-openjdk.x86_64
But I cannot find the "libnpjp2.so" file as mentioned here: http://www.oracle....
0
votes
1
answer
235
views
How can I alias a binary dependent on the machine I am on
I work on different machines, some as centos7, some are centos6, I build a binary tmux with a different version on each 'type' as the same version cannot runn both.
How can I tell my .bashrc to ...
1
vote
1
answer
94
views
Can I make yum only install the versions of packages that would have come from a particular CentOS release's media?
I'm trying to create a Docker image that mimics the environment from an old CentOS release (e.g. CentOS 6.3), as it would have been installed from the installation media only (with no updates); the ...
0
votes
2
answers
941
views
Create OS image that will work everywhere (virtual and physical)
I'm about to build a CentOS server for my project. In order to save me time, I would like to be able to copy this custom server so it can be duplicated quickly on physical servers and virtual ones (...
0
votes
3
answers
21k
views
iptables not starting on CentOS 6
I am running CentOS release 6.5 (Final) and cannot figure out why my iptables is not starting.
I may have executed some other command to permanently prevent the start up of iptables; I do not remember....
0
votes
0
answers
281
views
CentOS 7.3 repquota: Cannot stat() mounted device /dev/root: No such file or directory
I get an email that says this every day or so. Every search has come up with a solution that has not worked for me (apparently did work for CentOS 6.x)
Running cPanel on
Linode
CENTOS 7.3 x86_64 kvm
...
2
votes
1
answer
666
views
Disabled RC4 and Qualys still says I have it enabled
I would like some help on my Apache CentOS 7 website. I don't know why it still has RC4 enabled when it is already disabled. Maybe I still have it enabled. So this is my configuration for my web ...
0
votes
0
answers
29
views
Unable to delete file remotely
[centos@JEN1 postAuthernticationPlugIn]$ id
uid=1000(centos) gid=1000(centos) groups=1000(centos),4(adm),10(wheel),190(systemd-journal)
I am running below command to delete file PostAuthProcessing....
0
votes
0
answers
284
views
Can't connect to internet CentOS7 NAT
I'm using a CENTOS7 client with Virtualbox. I have 2 NIC's connected.
The first one is on internat network (IP 192.168.1.254) and the other one is on NAT (IP 10.0.3.15)
I was able to ping to google....
5
votes
2
answers
9k
views
How do I change security context on a directory in CentOS with SELinux?
I tried to change it, but it wouldn't let me.
# ls -dZ /usr/local/spamassassin
drwx------. spam spam system_u:object_r:usr_t:s0 /usr/local/spamassassin
# chcon -v --type=spamd_t /usr/local/...
4
votes
0
answers
3k
views
Installing Unity desktop into Centos 7
I am very much familiar with Ubuntu's Unity desktop and my company uses Centos 7 for development which is not controlled by me.
Are there any manuals or wikipages that instructs about installing ...
2
votes
1
answer
146
views
Binaries spontaneously changed on CentOS
This has my slightly worried: I am using afick to monitor a CentOS 6 server for changes to files & directories. I want to detect changes to binary files, PHP scripts that are being smuggled onto ...
1
vote
0
answers
111
views
Can't boot from USB (Centos7, Samsung series 5 ultrabook)
As in the title, I've got a series 5 ultrabook, am currently running Ubunutu 16.04, and am attempting to install CentOS7. I've written the iso to a usb, and, as suggested in various resources, ...