CentOS stands for Community ENTerprise Operating System, the most popular Linux distribution for web servers with almost 30% of all servers using it. Third-party software is not included in the base.

learn more… | top users | synonyms

0
votes
0answers
18 views

What is the different between giving user root privileges and adding it to root's group

In Centos 7 I use visudo to grant root privileges, and I'm wondering what is the different between: myuser ALL=(ALL) ALL and # usermod -aG wheel myuser
0
votes
0answers
6 views

SFTP on Centos 7

I just started using Linux/Centos like a week ago so please excuse my knowledge. I configure the Centos 7 or a VM everything goes well. I setup HTTP and mySQL all goes well, but now when I setup SFTP ...
0
votes
1answer
11 views

yum install updates up to a specific date

Is there a way to run yum update, but have it only install packages up to a certain date? An update that took place overnight (as it does everynight), caused issues, and now after reloading CentOS, I ...
3
votes
0answers
15 views

How to set up Postfix to save the message body in the log file?

I need all the body of incoming and outgoing messages are written to the log file. How to setup Postfix to do that?
1
vote
0answers
26 views

PuTTy can't establish SSH tunnel

I'm trying to set up remote debugging for PHP using Xdebug and PhpStorm. My local development machine has Windows 7 and the remote machine has CentOS 6. I'm following this guide to no avail: ...
1
vote
0answers
15 views

X forwarding freeze after source server is restarted by watchdog

I am currently working on an issue with the Xforwarding of a QT application over lan. Our source server is forwarding the interface of our application using the command "screen -dm" to a client ...
0
votes
0answers
25 views

Linux Command to list all FTP users in shell including the users created using vsftpd

I have created a few ftp accounts/users on my CentOS server using vsftpd. Now I would like know the username of that accounts using SHELL. I have root password to access the SSH. I have tried to find ...
0
votes
0answers
17 views

KVM windows guest no working network

I try to install windows as a KVM guest on a headless CentOS 6 machine, all works (can even access it over vnc, using an X forwarding SSH session), but I am stuck at the windows networking. All my ...
0
votes
2answers
15 views

cron job on centOS 6.5

I have used these 2 references to insert a new crontab entry. redhat ubuntu I have created a new bash file and moved it to /usr/bin. That sh file has execute permissions for the root user and the ...
-3
votes
1answer
22 views

i want to remove java completely out of my centos machine, ie uninstall it completely

Iam pretty new to centos operating system. iam trying to completely uninstall java from my machine. what is the command which will completely wipe out java from my machine. i have tried but i think ...
0
votes
0answers
16 views

Can't access Samba shares after moving to another server

Here's the issue: I've recently decided to move whole Samba service to new server without recreating everything again. So, I installed Samba on CentOS 6.7 and overwrote the following: /etc/passwd, ...
0
votes
0answers
34 views

WHM warning about invalid permissions on /etc/shadow, “Expected: 3377602730, Actual: 0644”

I've been getting some alert messages sent by my WHM instance, warning about invalid permissions on my shadow file. However, the actual permissions (0400) seem correct, and the permissions it reports ...
1
vote
1answer
23 views

how to create rescue initramfs image on centos 7?

After my last launch yum update my test box have kernel-3.10.0-327.13.1 installed. While installing, dracut generated initramfs-3.10.0-327.13.1.el7.x86_64.img, but ...
0
votes
0answers
7 views

md-raid1 with three mirrors became raid0 after removing one mirror while power off. how to fix it?

I create md-raid1 with three devices: mdadm --create \ /dev/md22 \ --level=1 \ --raid-devices=3 \ /dev/sd[a-c]2 and got nice raid mdadm -D /dev/md22: /dev/md22: Version : 1.2 ...
0
votes
0answers
22 views

How to set localtime/timezone in the most generic and distro-agnostic way?

I've created a docker container, which is running in the wrong timezone. I personally need it to run in my timezone (Europe/Stockholm, GMT+1). Since the project is open source, other users may also ...
0
votes
1answer
11 views

EDAC bridge lost 6000+ errors

I've setup two new servers for virtualization, and after working with them for a few hours i noticed a lot of error messages, starting at boot I get an error saying `EDAC sbridge: lost 150 memory ...
0
votes
1answer
18 views

systemd service to set virsh default storage pool

I'm trying to run a script on system boot after an kickstart automated installation, the script just changes the default storage pool for KVM. But for some reason the changes don't take effect, if I ...
0
votes
0answers
28 views

CentOS Switching off USB Ports when installing on Linux

I have a PC that I want to install CentOS on. It currently has Ubuntu running on it. When I boot from the CentOS Installation Drive (USB) the keyboard and mouse turn off, thus I cannot continue the ...
0
votes
0answers
15 views

How do I add an index page to the GitLab bundled NGINX?

I've recently installed GitLab, and I'm using the bundled NGINX with it. I've been able to successfully set it up, and put it on mydomain.com/lab Great! Only problem is that when you go to ...
-1
votes
0answers
45 views

How to troubleshoot ERR_CONNECTION_TIMED_OUT for my site?

What is the correct way to troubleshoot error from the title? It's happenning randomly: sometimes site works flawlessly, and sometimes you get the "Connecting..." text in browser's status bar when ...
0
votes
0answers
19 views

Why does the output of `lsblk` and `df -h` seem to conflict?

I'm trying to create a directory /mnt/data that will be mounted on to /dev/mapper/centos-home, since that's the biggest partition. The output of lsblk looks like this: NAME MAJ:MIN RM ...
0
votes
0answers
16 views

KVM/Virtualbox Virtualization with no physical network

I recently tried KVM as virtualization platform. I also use VirtualBox occasionally. In every instance of deploying guest OSes, I always do one of these two: 1) set up network as NAT, guest not ...
0
votes
2answers
25 views

Linux / Folder and /root folder

I searched now a while but couldn't find an answer to this question. I have a Linux based server (centOs). In the root folder (/) i have a folder called root (/root). Now when I sudo cd root/ i ...
0
votes
1answer
41 views

Trying to install GitLab on Apache on CentOS 7

Hey SuperUser community, I'm new to this forum so I'll make this quick. I'm an amateur CentOS System Administrator. I'm teaching myself as I go, but I recently hit a stumbling block. I'm trying to ...
0
votes
1answer
20 views

How to copy between guest OS (Windows 7) running inside Oracle virtual machine 5.0 to host OS (CentOS Release 4.0 final)

Need help to resolve copy and paste bidirectional from guest OS (Windows 7) and host OS (CentOS Release 4.0 final) or from host OS to guest OS I applied tick mark to bidirectional Drag-n-Drop and ...
3
votes
0answers
23 views

Resize LVM on KVM CentOS 6 VM

I've got a base image that I'm booting my VM's from. The base image is only 1.5GB. Different VM's will have different requirements for disk space. I've setup the VM with the default setting: VolGroup ...
0
votes
0answers
6 views

Why can I not view the /home folder as a regular user in Centos?

I'm on Centos 5 and I'm trying to view the /home folder with my regular user account. I have sudo rights I added my user to the same groups as my root user, but I still don't get permission to view ...
0
votes
2answers
43 views

tail/head all line except X last/first Lines

for example i have this file : cat myfile 1 2 3 4 5 i want to print all lines except first 2 line . output should be like this : tail -n $(( $(wc -l myfile | awk '{print $1}') - 2 )) myfile 3 4 5 ...
3
votes
0answers
44 views

Cloned CentOS not booting up

I recently cloned a CentOS6 environment from 1TB HDD and intended to restore its image to a 4 TB space. I used Clonezilla for this. The clone went successful, but after that when I tried to restore ...
0
votes
0answers
13 views

How to introduce “setx” command on CentOS 5.2

I'm working on a CentOS 5.2 system (I know it's very old, but it's the customer's choice). I am running a program, which internally performs some setx commands, but it seems that setx is not ...
1
vote
1answer
28 views

Cpanel/WHM not working [closed]

Everything work fine, suddenly today afternoon Both cpanel and WHM stop working. But still the website and SSH work fine, But i am unable to open cpanel or whm, when i opening using IP ...
0
votes
1answer
14 views

Where is the email address for maillog set?

I've got a CentOS 6.7 system that currently emails a certain address to send system messages (for example, it emailed with the body "Terminated" to indicate a process spawned by cron that was killed ...
0
votes
0answers
8 views

How do I setup a tmux session to always use a particular scl?

I'd like to be able to setup a tmux session that more or less transparently runs everything in a particular scl environment, specifically scl enable python27 .... By transparently, I mean that when I ...
0
votes
1answer
20 views

Apache on VM is not reachable from LAN

I have a CentOS machine installed on VMware Fusion and connected to my LAN through a bridge connection. Everything works fine, I can Surf on internet from the guest machine. Ping other network ...
0
votes
0answers
27 views

VLC in Centos6 fails to play DVD

I installed vlc into my Centos 6.7 from epel and nux-dextop using these instructions. Install went OK but there are problems in playing DVDs. I managed to play a DVD containing material I recorded ...
0
votes
0answers
5 views

Virtual memory size same Python application on Centos 7 and RH 5.2

Is there a reason why the same python app and code consumes about 90MB of virtual memory size in Red Hat 5.2 32bits python 2.4 and abut 300MB in Centos 7 64 bits with python 2.7? Both app's versions ...
0
votes
1answer
637 views

How can I set up remote capturing in Wireshark, capturing from a CentOS server on my Windows laptop?

I'm looking to capture packets from a remote server network interface. The remote server is running CentOS and has tshark installed. I'm working on a Windows 8 machine with Wireshark installed. ...
1
vote
1answer
69 views

CentOS 6.7 configure: error: dlopen not found

I'm trying to configure LibreOffice On-Line WebSocket server before installing but the following error is thrown: configure: error: dlopen not found Full output: [root@SBX-EXT-001-002 loolwsd]# ...
0
votes
1answer
39 views

Windows 7 host, CentOS guest - internet connection

I have troubles connecting a CentOS guest on Virtualbox running on a Win 7 host. The host has been given two adapters: Host-only and NAT. ip a vi 03 Note: setting GATEWAY=10.0.2.2 still results ...
0
votes
0answers
51 views

Hyper-V 2012 R2 different disk speed on CentOS and Debian

I found unexplained difference between running CetOS 7.1 and Debian 8.3 on Hyper-V 2012 R2. I create similar VM on similar hardware. Both virtual machines installed on 600 GB SAS 15K in RAID0 via ...
0
votes
1answer
41 views

centos login in the first time

I'm a beginner to play Linux. And I've installed Centos into the VMware. However, after I set the settings, the windows run the all black window and ask me to login. Of course, I key my account and ...
2
votes
1answer
20 views

Centos Sftp Ssh - How always create files with rwx-rwx-r-x and always owned by a certain group

I have a user myuser, which is only allowed to connect to ssh via sftp. I'd like this user to always create files with rwx-rwx-r-x and always owned by the group apache. I've tried to accomplish the ...
0
votes
2answers
45 views

Centos - PhpMyAdmin showing blank screen

I have just installed PhpMyAdmin, and when i try to access it it just shows a blank screen. I suspected this is because i followed a tutorial on how to secure php and disabled multiple settings, so i ...
0
votes
0answers
13 views

Customize telnet login

I'm trying to customize the login screen on my CentOS server but I can't for the life of me, figure out how to change the actual login prompt, when the system asks the user for a login name. I want to ...
1
vote
0answers
13 views

Taking a 'snapshot' of centos 7

So I am trying to basically move all my settings/files on my Centos 7 server elsewhere. But I am unsure as to how should go about this. I researched on what I should do, and I came across a digital ...
0
votes
0answers
21 views

Telnet script without logging in

first of all I'm new here, so I apologize if I make any mistakes. So I wrote a python script to check a database for some information and I would like to make it publicly available through Telnet. ...
0
votes
1answer
30 views

copying ssh id from debian to centos times out, how to debug?

I'm setting up another pc on my network. it will eventually be headless. It currently boots into the centos CLI ~ which is fine. now i want to copy over my ssh rsa key from my main debian pc to the ...
0
votes
0answers
15 views

How do I create a Docker container with a non-default IP address?

I created a docker container with this command: docker run -p x.x.x.x:80:8080 <imageName> bash where x.x.x.x was the IP address of the Docker server running CentOS version 7. I then tried to ...
-1
votes
1answer
39 views

I can Telnet into a Linux CentOS system but cannot SSH into it. My colleagues say they can SSH into it

My company has a server (server A) in a data center belonging to a telecoms company. The server has no access from the internet. I need to access this server because of a server application that I am ...
0
votes
1answer
14 views

ipset -j SET --add-set notwroking in cetos

I recently installed ipset rpm and kmod-ipset rpm for my Centos (Linux 2.6.18-194.11.3.el5 i686) and try to hands with help of some examples from internet, but when I try to ban user who tries to ...