CentOS is an Enterprise-class Linux Distribution derived from Redhat Enterprise Linux sources freely provided to the public.

learn more… | top users | synonyms (2)

0
votes
1answer
36 views

viewing firewalld logs via remote login to CentOS 7 server

I have firewalld installed in a remote CentOS server. When I log into the server over the internet as root, I type the following command to access the firewalld logs: journalctl ...
0
votes
1answer
57 views

CentOS 7 VPN server

How do I set up a remote internet web server using CentOS 7 so that it is completely shielded by a VPN? Here is the use case: 1.) This means that ALL requests for ANY interaction with the web ...
0
votes
0answers
33 views

Network firewall on CentOS, host cannot be resolved?

I have a centos machine and I am trying install some dependencies using yum. When I do this I keep getting a message saying the host cannot be resolved. I was told the previous person that used the ...
0
votes
1answer
38 views

No Sendmail but ISPConfig Postfix

This is what php uses to send php mail with the php mail() function: ; For Unix only. You may supply arguments as well (default: "sendmail -t -i"). ...
0
votes
1answer
36 views

how etc/hosts file is created during Centos 4.9 installation

We have our servers running CentOS 4.9. I want to find how /etc/hosts file is created during installation. A related question here (What creates /etc/hosts (RHEL 5.5)) says that in RHEL 5 /etc/hosts ...
0
votes
0answers
20 views

Install Xmind on Centos 7

i try to install Xmind on Centos 7, i try with: Download Xmind with deb package ar -x xmind-linux-3.31. . .-i368.deb tar xvf data.tar.gz cp -r usr/local/xmind/ /usr/local/ cp ...
0
votes
0answers
46 views

writing mysql output to file in CentOS 7

I am trying to run the following command from inside the mysql command line client in the CentOS terminal: SELECT Concat('TRUNCATE TABLE ',table_schema,'.',TABLE_NAME, ';') FROM ...
1
vote
1answer
36 views

How can I add an application to the Favorites section of the Applications menu in CentOS 7?

I have created a custom application entry in the applications menu for Eclipse as follows in a file /usr/share/applications/eclipse.desktop as follows [Desktop Entry] Version=1.0 Name=Eclipse ...
0
votes
1answer
20 views

I moved root partition by error

I'm on a VPS with CentOS 6.5 I was trying to install ASSP so by error i did this command mv -f /* /usr/share/assp and then I can't do anything when I try something like: [/]# dir -bash: /bin/ls: ...
2
votes
3answers
75 views

Memory consumption Fail2Ban CentOS

Fail2Ban is using a huge amount of memory on my system (1.2 GB). There are several articles which describe how to reduce it. Below is an example for Debian. append the 1ulimit1 command to ...
0
votes
0answers
41 views

Can't start a ZNC service

I try to start ZNC using the following command service znc start I get this error Starting znc: /usr/bin/dirname: extra operand `2>&1.pid' Try `/usr/bin/dirname --help' for more ...
3
votes
1answer
184 views

Yum says dependency “ libltdl.so.3” is required, but it's already installed?

I'm a Linux noob and have spent a few hours trying to get ImageMagick installed. I finally got an old version uninstalled, but am struggling to get the newest version installed. When I run the ...
1
vote
1answer
37 views

restricting remote vpn login to ip address in CentOS 7

I have read that OpenSSH itself does not support authentication via specific IP address. In a CentOS 7 installation on a web server, how would one configure the login so that a user would not only ...
1
vote
1answer
67 views

log files in CentOS 7 [closed]

In CentOS 7, how can I locate and view all the system logs that tell me who tried to enter the system, who got in, what processes they contacted, what they accomplished, etc. I want to be able to ...
0
votes
1answer
16 views

toggling between output and command prompt in CentOS terminal

When I open the terminal in CentOS linux and use su - to work as the root user, I type in commands like journalctl that result in a lot of output. The problem is, when I am done scrolling through the ...
1
vote
3answers
133 views

Does CentOS 7 incorrectly sort kernel menu entries in grub.cfg?

I've noticed an unexpected ordering of grub menu entries on a CentOS 7 system: It has following kernels installed: $ ls /boot/vmlinuz* -ltr Jun 30 14:17 /boot/vmlinuz-3.10.0-123.el7.x86_64 Nov 6 ...
-1
votes
0answers
22 views

Windows 8.1 boot option is missing after installing CentOS 7, how can I get it back? [duplicate]

I recently installed CentOS 7 on a machine that has been running Windows 8.1. I did a dual boot installation and installed CentOS in a partition. But when I boot up my machine, it only gives me two ...
0
votes
2answers
61 views

httpd error: Address already in use: AH00072

I have a server, CentOs 6.5 which were installed xampp by a friend of mine. But I thought it's best to install apache, php and mysql from yum. I have it removed simply by using this #rm -rf ...
3
votes
1answer
129 views

Windows 7 boot option missing after installing CentOS 7, how can I get it back?

After installing Centos7, windows 7 is not showing at the boot time. Centos 7 is accessible. My boot folder entries: [root@localhost boot]# ls -ltr total 89176 -rw-------. 1 root root 2840084 Jun ...
0
votes
0answers
141 views

rtl8812au wireless driver installation on Centos 7

I have a fresh install of Cent OS 7 with the Gnome desktop environment. I have been trying to install rtl8812au wireless drivers found at https://github.com/gnab/rtl8812au for my Netgear A6100 WiFi ...
0
votes
2answers
40 views

moving a file to a folder with root privileges in CentOS 7

I am reading a tutorial that wants me to place a script file called script.sh into a folder called /etc/profile.d/. However, when I try to save the script.sh file in that directory, the gedit tool ...
0
votes
0answers
26 views

LAMP CentOS page/folder Outbound Inbound bandwidth monitor

I have a site, the server provide only allow 2000GB/month ($0.02/GB extra). I have monitor the bandwidth in my control panel, every day, i have about 12GB Inbound, but 100GB+ Outbound, a number very ...
2
votes
3answers
131 views

setting mysql root password in CentOS 7

How can I log into the mysql 5.6 command line client and reset the root password in Centos7? I read the following at this link, but it does not work: 1) sudo service mysqld stop 2) sudo service ...
1
vote
1answer
47 views

no pwm-capable sensor modules installed on MSI B75MA-P45

I am using a MSI B75MA-P45 motherboard on Centos 6 and my CPU fan is currently stuck at 100%. I can see RPM of the fan and temperature inside my BIOS however when I run sensors-detect I only see CPU ...
3
votes
1answer
284 views

Windows boot option is missing after installing CentOS 7, how can I get it back?

I recently installed CentOS 7 on a machine that has been running Windows 7. I did a dual boot installation and installed CentOS in a partition. But when I boot up my machine, it only gives me two ...
1
vote
2answers
73 views

Running ubuntu binary on CentOS with all shared libs installed results in ld SIGSEGV

I'm trying to get a binary compiled on Ubuntu to run on CentOS 7 (both 64bit, one host, the other vm). So far I've copied the binary with all the shared libs. I no longer get the missing library ...
0
votes
1answer
32 views

linux boot stick being ignored on windows 7

I am trying to install CentOS server on a machine that also runs Windows 7. Towards this end: 1.) I created a 100GB "Unallocated" partition using the Disk Management tool in windows 7. 2.) I ...
0
votes
1answer
58 views

Editing lines in a file using a bash script?

I am creating a bash script that installed VSFTPD / FTP. After the installation some configuration is required in the "/etc/vsftpd/vsftpd.conf" file. This includes making sure the following lines are ...
0
votes
0answers
21 views

Strange behaviour of application running from NFS

I have two VMs running, one with Fedora 20 and the other with CentOS 6.6. I have a remove home directory mounted under /home1/user with autofs. /etc/auto.home1: user -fstype=nfs ...
0
votes
0answers
51 views

wget stops downloading: Cannot write to `-' (success)

Please have in mind that I don't know anything about this, nor any of its vocabulary, I am a simple web coder, trying to figure my way on the universe! I'm trying to link dropbox on my server, I am ...
1
vote
1answer
63 views

ifconfig command showing internal ip address

I'm using centOS 6.3 on virtualbox as guest OS on Win 7 host. My problem is when I use ifconfig command in terminal, I'm being thrown internal IP address(10.x.x.x). However, when I googled "my IP ...
1
vote
2answers
69 views

Enable ssh root login

I have access to a CentOS server with a user that its not root but belongs to the sudoers list. I do not have the password of root, nor I can't find out what it is (policies of the people who gave me ...
1
vote
2answers
70 views

CentOS 7 hostname will not change

I have two CentOS 7 VM's running in virtualbox. On each of the machines I want to set the hostname and a static IP address. VM1 works just fine. VM2 does not. I did the same thing on both servers so ...
2
votes
1answer
592 views

php5.6.2 installation with httpd24 ( apache version 2.4.10 ) on centos/rhel

using this repo : http://dl.iuscommunity.org/pub/ius/stable/CentOS/6/x86_64/ius-release-1.0-13.ius.centos6.noarch.rpm for php installation , and for apache i am using amazon linux repo current ...
2
votes
0answers
31 views

VPN tunnel to two services on two servers?

I've got 2 CentOS 6.5 servers, each running one service: server A: 10.140.54.1/27 running service MySQL port 3306 server B: 10.140.54.2/27 running service httpd port 443 Server B's httpd service ...
2
votes
0answers
54 views

How does ldap work on a client?

This is on CentOS I read the various openldap howto's, they mention /etc/openldap/ldap.conf and editing /etc/nsswitch.conf for example: ...
2
votes
3answers
60 views

How to list packages with files in a particular directory?

I'm switching to CentOS from another distribution, and I'm not used to working with yum. I'd like to know if there's a way to know which installed packages have files in a directory. For example I'd ...
1
vote
2answers
100 views

Can't start systemd user instance

I'm using CentOS 7, and am trying to create a systemd service for my local user. However, before I can do that, I need my systemd user instance, which I cannot find or create to begin with. Running ...
0
votes
0answers
57 views

How do I set up a secure Samba share on CentOS 7?

I want to set up secured Samba shares so I can connect different users on the same computer to their own separate shares. I'll use a script to discover the user's credentials then run mount -t cifs ...
1
vote
1answer
83 views

Telnet session closed by foreign host

I'm trying to telnet to imap-mail.outlook.com on port 993. When I connect to it, I get Trying 157.56.195.250... Connected to imap-mail.outlook.com. Escape character is '^]'. And I can enter a ...
0
votes
0answers
16 views

How do I get debug information from rsyslog?

I followed the directions from: http://www.rsyslog.com/doc/debug.html I put the following in /etc/rsyslog.conf: $DebugLevel 2 $DebugFile /root/RSYSLOG.txt then I try: kill -USR1 `cat ...
1
vote
1answer
58 views

HTTPS won't run. (CentOS) [closed]

I've installed my SSL using the following guide as I would usually with other servers: http://wiki.centos.org/HowTos/Https However when I run httpd and try to connect using https it doesn't work. I ...
1
vote
1answer
59 views

rsyslog: how do I set up remote logging?

I am simply trying to set up a remote logging system. I think my setup is correct but it fails and I can't get any messages from rsyslog to show up in the logs, so I can't find out why. My iptables ...
0
votes
0answers
27 views

Accessing CentOS7 server from public

recently I switched to CentOS 7 OS and set up basic webserver with Apache. I had no problems configuring SSH, FTP and LAN access to the webpage. But accessing from other IP's won't work. I'm 99% sure ...
1
vote
2answers
62 views

Package installed and not installed at the same time

Sometime ago I tried to install Steam on my CentOS 5 server and tried almost everything I found on Internet and it seems that I have been able to leave libstdc++ installed and not installed at the ...
0
votes
0answers
16 views

Asus T101 Touchscreen Not Recognized

I'm running CentOS 6.6 x86 on an ASUS T101-MT which originally came with Windows 7... Is there a way to get the touchscreen to work? I couldn't find any answers for this online and everyone seems to ...
0
votes
0answers
31 views

Port randomly closing (iptables)

I'm running CentOS 6.5 on a VPS and one of the services I have running is murmur/mumble (A voip application). The issue I'm having is that the port clients connect on will be open when I initially ...
0
votes
1answer
103 views

CentOS 6 drbd is not available

In CentOS 6 (6.6), the drbd package is not available, neither from the extras repository. There is some information on the Net, like configure-drbd-centos-6-5, which I assume will work on CentOS ...
1
vote
1answer
42 views

scp a file from one server to another one, got “permission denied”

source server IP 162.244.xxx.xxx file -rwxrwxr-x 1 user1 admin 36005278 Sep 10 2013 filename.tar at destination server scp user1@162.244.XXX.XXX:home/filename.tar ./ got a Permission ...
0
votes
1answer
28 views

cannot connect mobile device to tomcat on Centos Linux

i have my web services in local and run in Tomcat and it works (in local). Now i want to connect from smartphone browser to this tomcat. For example my Pc have ip:192.168.1.140 and my ...