Tag Archives: cent os

How to configure Postfix relayhost (smarthost) to send eMail using an external smptd

How to configure Postfix relayhost (smarthost) to send eMail using an external smptd

How do I configure Postfix MTA to send eMail using an external cloud-based SMTP server (with username: password) from a web server on Linux or Unix-like system? How do I configure an Ubuntu server and postfix as the relay server (smarthost)?
Halal Vitamins

Powered by WPeMatico

cron Error: bad username; while reading /etc/cron.d file on Linux

cron Error: bad username; while reading /etc/cron.d file on Linux

I am getting the following error in my cron job log file /var/log/cron.log:
       Aug 22 01:59:01 server2 cron[7510]: Error: bad username; while reading /etc/cron.d/backups I have job entry as follows to run a job at 00:50 every day for root user:
       50 0 * * * /etc/cron.d/backups How do I fix this problem on Linux or Unix-like system?
Halal Vitamins

Powered by WPeMatico

Accessing Internet from cloud VM when you have only private network enabled

Accessing Internet from cloud VM when you have only private network enabled
We have a couple of virtual servers hosted with Softlayer for processing data and backup purpose. The public interface is completely turned off i.e. no Internet access. We can only access VMs using a VPN. It resulted in decreased costs and many security problems for backend servers. However, when you order “Private Network Only” cloud VM, you cannot route outgoing traffic to the Internet using your VM.

Halal Vitamins

Powered by WPeMatico

How to configure a static IP address on CentOS 7 / RHEL 7

How to configure a static IP address on CentOS 7 / RHEL 7

I am a new sysadmin and CentOS user. My system is configured to use DHCP. How can I switch from DHCP to static IP address configuration in a CentOS 7 desktop system? How do I setup a static TCP/IP address on my CentOS Linux 7 or Red Hat Enterprise Linux 7 server using command line option?
Halal Vitamins

Powered by WPeMatico

How to see PCI devices info on CentOS 7 and RedHat Enterprise Linux 7

How to see PCI devices info on CentOS 7 and RedHat Enterprise Linux 7

I wanted to see PCI devices information on my CentOS/RHEL 7 box. But, I’m getting an error that read as, “-bash: lspci: command not found”. How do I solve this problem and see PCI devices information on CentOS/RHEL 7?
Halal Vitamins

Powered by WPeMatico