[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More







Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hi ,

how I can make multiple NFS share in redhat cluster 7.4 with pacemaker ..  when I am rebooting the  primary node ONLY one NFS share will be available to the secondary node.. I want to make more than ONE NFS share available in case of fail over  ..

Big Business Goals? Which KPIs Will Help You
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Hey there,
Got a small issue i'm trying to resolve.
-Debian 9.5 running samba server and sharing a folder
-Old red hat server 6 trying to connect to Debian

Attempting to mount share on Debian from the Red hat server returns error:
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Connecting to the same share from another Debian system works fine. Connecting from Windows system works fine. Seems to only be related to this Red Hat system. Unfortunetly, i need to backup this Red Hat system and this was the easiest way.

I previously mounted a NAS with this Red Hat system and it worked perfectly, just disk space is too small so i am trying to mount this other drive because it has more free space. FYI, the NAS had a share with no password.

Here is command i sent to Red Hat
mount -t cifs //<systemIP> /mnt/backup/ -o username=<usernamehere>
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Thanks for your help
how I can make the same user on OpenVPN make a two sessions not more ?
I tried:
duplicate-cn  2 

Open in new window

but I see that the same user can make 3 connection !
Hi Experts

I'm doing DNS migration from one provider to another and I know @ refers to root domain.

I see an - A record that states as * too.

1What does * refers to in DNS record? I have attached screenshot.
There are two * records.
1 is * that pointing to IP address as shown above and the other is *.domain.com that also pointing to same IP.

I have a bash script with 8 positional parameters. each needs to be set from a file. So, I have 8 files with only one line each.
what is the best way to read each file and pass it to the bash script.
Thank you for your prompt help.
I have a Linux system that I need to modify few configuration files while the system is not be running.
For this reason, I have booted from a ISO file, therefore, the root directory is ISO not the local drive.
Since the script tries to modify few files with the fixed path /etc/, /var,...etc. I need to chroot the local disk.
what is the best way to do this operation, do I need to change any permissions or take ownership of directories or files.

Thank you for quick prompts.
VBOXerr1.txtSSH connection refused when running SSH (putty) from my WINDOWS PC a  an ORACLE LINUX running on the same PC on Oracle Virtual BOX.

PUTTY displays the error:
PUTTY Network  error:  Connection refused  on

Sure, something is wrong. Could you help?


I already attached a log from the Windows8  machine (ipconfig ).
What I am ryng to do is connect from Windows using putty (SSH) to the VM Linux running on the same machine .
Someone can give any advice?

See below the ifconfig of the VM Linux machine:

root@ServidorLinux7 ~]# ifconfig
enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet  netmask  broadcast
        inet6 fe80::52d0:9ddb:1f83:48f2  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:5d:46:25  txqueuelen 1000  (Ethernet)
        RX packets 6787  bytes 4818007 (4.5 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4517  bytes 617833 (603.3 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet  netmask
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 46  bytes 7314 (7.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 46  bytes 7314 (7.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  …
Kylin not getting started

here is the below error which I'm getting

kafka dependency is /opt/apache-kylin-2.2.0-bin/lib/kafka-clients-1.0.0.jar
Retrieving Spark dependency...
Error: Could not find or load main class exists
ERROR: Unknown error. Please check full log.
Good evening,

I am trying to build a Fedora server with a Raid 1+0.

The mother board is B450-F
Socket AM4

I was able to get Fedora 24 to somewhat work but I made a newbie mistake on a partition and re- installing the system again.
But here is my main problem:

I  have 4 identical solid state drives and want it to be set-up as Raid 1+0.
The hardware does support it but when I try to install linux after the raid has been set-up.  The linux install does not recognize the raided drives.
If I have to deal with CentOS 7 that would be fine.  I just need a system that handle Motif programming, and Fedora and CentOS still support this.

In help would be great
Dear Experts, I'm testing Oracle 11g on Centos 7 64b.

I installed Oracle but could not connect to the globalDB by sqlplus, it keeps showing error: ORA-12514: TNS:listener does not currently know of service requested in connect even I start the Oracle Database

I also attached the response file from Installation process. These are the details of listener and tnsname files:

lsnrctl status:

Can you please help? Many thanks!
Determine the Perfect Price for Your IT Services
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

zgrep 'xyz'  abc.log.2018111212| grep '|[1-9][0-9][0-9][0-9][0-9]|0000' | wc -l

i am trying to figure out what above grep doing?

what is meaning of

wc -l means some kind of word count?
what is -l

any good links or resources or video tutorials to master greps and awk and sed end to end to debug server logs?

please advise

My redhat (guest OS) having issue for not able to resolve the hostname like google.com but able to ping

I didn't do anything at all just to ensure that it can ping Google first and my network subnet like when my redhat added a NAT Network adapter without issue.

After that I connect my fortinet vpn client thr IPSec and still can ping and resolve my private cloud thr hostname.

Next day I do the same thing like connect to my iPad 4G network to my Hp laptop wifi.

Can ping and resolved on my hp laptop even being connected to vpn.

The guest os redhat from virtualbox on nat can ping but not able to resolve now.

Why yesterday can and today can't without changing anything?

I need help freeing up space on a Linux Server Using CLI. The OS is Gentoo version 3.16. I don't really have much experience with Linux especially using CLI. I deleted a folder in a share (from within a Windows Server) but that didn't free up the space. But I did notice that the usedsnaps column for that share, that the usedsnap space went up after removing that folder. I don't want to just delete any snapshot. I don't know what I could delete really. They don't have any other backups, so I'm nervous to just delete a snapshot. Any assistance would be greatly appreciated!

Thank You,
Ubuntu 16.04 Mail Server - Inbound for internal networks, but send-only to external relay.

I need to setup a Ubuntu server to allow servers to send alerts and logs to it and send-only to an external mail relay. What would be the best way to do this using Postfix? I am so new to mail servers and having a hard time figuring out what I need to do. Most tutorials have a send-only local mail server or a full-fledged email server, not really something in between. Any guidance would be appreciated...
I have a FreeBSD and ubuntu server.
I crate a cronjob to execute in specific time. but the command that I do required a full privilege on system... so how I can make the cronjob work with root for example ?
i am using ubuntu and cannot print graphics png file.  it will print libreoffice writer or calc though.
Linux. I need to set up a script that I can run via cron in the middle of every night to copy / back up specific folders into another directory. I want all folders, files and permissions and attributes copied. The goal is to have a 24 hour old copy that I can restore in case a user screws up their files. Example:

/usr/home/thisuser/web_master would be copied / backed up to /usr/home/mainuser
/usr/home/thisotheruser/web_master would be copied / backed up to /usr/home/mainuser
/usr/home/andanotheruser/web_master would be copied / backed up to /usr/home/mainuser

Each night, the copy / back up would overwrite the one from 24 hours ago.

How do I set this script up, and what type of file extension should the script be?
This is using new Meinberg NTP appliance to replace the existing old one. This new one has been configured and operational right now. We have hundreds SuSE 11 servers and MS Windows 2008 or 2012 servers. All these servers sync to the existing ntp appliance for time, and being working fine for the past years.

We intend to replace this new one with the old one. Now, we are doing a test on the selected SuSE server. Please see the host names of these ntp appliances and 1 virtual name

                                        old ntp appliance:          sinaad21.abc.corp 
                                        new ntp appliance:        sina3mbg01.abc.corp
                                        general ntp name:         sinntp01.abc.corp   

We are using normal dns alias(or cname) for this ntp naming. Currently, sinaad21 is the alias pointing to sinntp01.abc.corp in our DNS server. Whereas, on all SuSE servers, in /etc/ntp.conf, a setting as below is configured,

                          sinntp01.abc.corp iburst

This is how we do the test with steps as follows,

                           a. On our DNS server, remove the alias of sinaad21, and change it to, sina3mbg01.
                           b. On a test SuSE server, restart the nscd to clear the dns cache.
                           c. On a test SuSE server, ping sinntp01.abc.corp, and we get the result of IP address of sina3mbg01(that means the …
I am trying to install XRDP on a Red Hat 7.5 server I have been following some instructions I found on the internet


The problem I am having is when I get to the part in the article to run the command  (yum install xrdp tigervnc-server xterm) there is a Dependencies problem;

I have followed the article to the letter up to (yum install xrdp tigervnc-server xterm) command and everything works until that point

I think I am missing something rather simple here, any Ideas?

Resolving Dependencies
--> Running transaction check
---> Package xrdp.x86_64 1:0.9.8-1.el7 will be installed
--> Processing Dependency: xorgxrdp for package: 1:xrdp-0.9.8-1.el7.x86_64
---> Package xterm.x86_64 0:295-3.el7 will be installed
--> Processing Dependency: libXaw.so.7()(64bit) for package: xterm-295-3.el7.x86_64
--> Running transaction check
---> Package libXaw.x86_64 0:1.0.13-4.el7 will be installed
---> Package xorgxrdp.x86_64 0:0.2.8-1.el7 will be installed
--> Processing Dependency: xorg-x11-server-Xorg(x86-64) = 1.19.5 for package: xorgxrdp-0.2.8-1.el7.x86_64
--> Finished Dependency Resolution
Error: Package: xorgxrdp-0.2.8-1.el7.x86_64 (epel)
           Requires: xorg-x11-server-Xorg(x86-64) = 1.19.5
           Installed: xorg-x11-server-Xorg-1.20.1-5.1.el7.x86_64 (@rhui-rhel-7-server-rhui-rpms)
               xorg-x11-server-Xorg(x86-64) = 1.20.1-5.1.el7
IT Pros Agree: AI and Machine Learning Key
IT Pros Agree: AI and Machine Learning Key

We’d all like to think our company’s data is well protected, but when you ask IT professionals they admit the data probably is not as safe as it could be.

I have a wordpress website on AWS EC2 Ubuntu Linux. I am not good in this department of coding but I get by. I just used created a Load Balancer and attached it to my EC2 instance. I am trying to force SSL (HTTPS) on anyone who visits my site. I have 90% of it correct.  if you visit:

http://www.Example.com (Redirects to https://www.Example.com)

it works perfectly with Secure. But if you go to

then it goes to a UNSECURE site. and stays on Example.com

In my ".htaccess" file at the very top I have the code below.  So what is the problem? I thank you for the help.

#Force www:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^Example.com [NC]
RewriteRule ^(.*)$ https://www.Example.com/$1 [L,R=301,NC]

# Begin force ssl
<IfModule mod_rewrite.c>
# RewriteEngine On
 RewriteCond %{SERVER_PORT} 443
 RewriteRule ^(.*)$ https://Example.com/$1 [R,L]

Open in new window

I have been following a PDF from APC to user PowerChute Business Edition over a Serial connected Smart UPS to talk with the Linux install in the vMa appliance on a VMWARE ESXi 6.7 environment.  (Please don't suggest Network Shutdown, I've got the free version of VMware.)
It is entitled, "Using ESXi with PowerChute Business Edition"  
On page 17-18, it tells us to add the ESXi host using vMA, and asks for HOST IP address, user root and the password.  However, I get an error message that it won't add the HOST because if fails the SSL connection test.
When I run>  sudo vifp listservers    none are listed because they couldn't connect.

It seems like such a straight forward process, it detects the UPS and is ready to go, but I can't had the VM host to the PowerChute Business Edition installation.

I have ONE APC UPS which I'd like to have gracefully shut down 2 VM's and the VMHost in the event of a power outage.

Should I just run PCBE on one of my VM's and execute a shutdown command for the 2nd VM and let the VMHost crash on its own?

Has anyone got a solution?
I'm presently looking for a new occupational opportunity and I get many calls/emails from different places, some seem like they are from overseas, and they are for the same position?  Is there a way I can also become an "IT recruiter"?  How simple of a task can this be and what will I need to get started?  Also, seems like 95% of the communication I do receive might be from overseas, although the positions are in the US.

I also wanted to know if there might be a particular website/s besides the standard linkedin, indeed, that these recruiters find open positions?

Just curious :), but is someone knows please enlighten my innocence.
I can't afford the 2+k it costs for formal training on DB0407 Red Hat automation with Ansible

Any ideas on alternative methods of completing this course?

Thank you for your help.
Hi , I have a list of hosts with IP address and I need a script to ssh into each of the IPs,  add the following text into /etc/dhcpcd.conf file.

#Add to /etc/dhcpcd.conf
interface eth0 static ip_address=192.168.1.x/24
static routers=
static domain_name_servers=

can somehomw advise who to use for loop to do this? I don't have key pair so I am ok with typing in password for 30 times.

the list of IPs i have is from to

Thank you!
What I'm trying to do is create a ftp user that can update and modify files in an apache2 v2.4 (with www-data) web directory.

I have a single user: UserA (names changed to protect the guilty) The folder is /var/www/vhosts; chowned to www-data:www-data UserA has been addded to the www-data group. The UserA's home directory is set to /var/www/vhosts

I have ProFTPd setup and running. UserA connects fine.

The problem is ownership of the folders/files. all files are set to 644 as normal all folders are set to 755.

since UserA is not the owner, it falls under the group policies and files cannot be added, deleted, or modified because of the limitations.

Is there any way to masquerade UserA as www-data so they can perform the job?

Am I thinking of this the right way? is there another way to do it? Thanks The user connects via FTP to the web folder






Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.