It is highly recommended that you have a firewall protecting your server. Pre-Flight Check These instructions are intended specifically for enabling and starting firewalld CentOS 7. I’ll be working from a Liquid Web Self Managed CentOS 7 server, and I’ll be logged in as root. Check the Status of Firewalld To check the status of…
Year: 2016
How to check status, stop, and disable firewall on CentOS 7
Firewalld is a complete firewall solution that has been made available by default on all CentOS 7 servers, including Liquid Web Core Managed CentOS 7, and Liquid Web Self Managed CentOS 7. On occasion, perhaps for testing, disabling or stopping firewalld may be necessary. Follow the instructions below to disable firewalld and stop firewalld. It…
Find files hiding in a lot of sub directories
So I was moving a lot of my music to Amazon Cloud Drive, and ended with a lot of files still showing under a lot of sub directories. Problem was – how do I know which files are in what sub directory with out going into each of them. Here is the answer:
1 |
K:\Music\dir /b /s /A-D /o:gn>list.txt |
This…
How to Install VMware Tools on RHEL 7/CentOS 7
VMware Tools is one of important components for virtual machine (VM) in order get excellent performance. It is a group of utilities that help to enhances the overall performance of the virtual machine’s guest operating system (OS) and improves management of the VM. Without the VMware Tools, guest OS performance will lacks some of the…
Get a list of shared mailboxes that are accidentally licensed
We know that in a hybrid scenario or during migration all shared mailboxes are migrated as a user account and then converted in a shared mailbox. Sometimes admin forget to remove the license for the shared box after conversion and there is no GUI alternative to see if the shared mailbox is licensed. Shared mailbox…
How to configure static ip address on CentOS 7
In this small tutorial i will explain how to configure static ip address on CentOS 7 minimal. First, need to edit the set up for the ethernet. Let’s start with editing “/etc/sysconfig/network-scripts/ifcfg-enp0s3″ file:
1 |
vi /etc/sysconfig/network-scripts/ifcfg-enp0s3 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
HWADDR=08:00:27:6C:FF:91 TYPE=Ethernet BOOTPROTO=static DEFROUTE=yes PEERDNS=yes PEERROUTES=yes IPV4_FAILURE_FATAL=no IPADDR=192.168.0.88 IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_PEERDNS=yes IPV6_PEERROUTES=yes IPV6_FAILURE_FATAL=no NAME=enp0s3 UUID=ea68db6e-461e-427d-b9a8-bfcf6e1a4fc6 ONBOOT=yes |
Save and exit. Now, configure default getaway:
1 |
vi /etc/sysconfig/network |
And add following line:
1 2 3 |
NETWORKING=yes HOSTNAME=centos7 GATEWAY=10.1.1.253 |
Configure DNS Server
1 |
vi /etc/resolv.conf |
add following line:
1 2 |
nameserver 8.8.8.8 nameserver 8.8.4.4 |
Now restart…
How to setup network after RHEL/CentOS 7 minimal installation
After installing RHEL/CentOS 7 minimal, You may not able to connect network in that machine. This will happen because Ethernet interfaces are not enabled by default. This guide explain you to setup network on RHEL/CentOS 7. Setup network on CentOS 7 minimal First, type “nmcli d†command in your terminal for quick list ethernet card…
Deleting contents of a mailbox
So came across an account that had 450000 items that were log files that were being captured in a mailbox. I wanted to delete all the enteries with powershell instead of going through the GUI. Here the command I used to get it done:
1 |
Search-mailbox -Identity user@domain.com -DeleteContent -Force |
Creating a Picture Policy to use with Office365
With Office365 you can have profile pictures, and this setting is enabled by default. In larger organizations you may not want this policy enabled or have a customized policy for different departments. Here’s what I had to do to disable the picture upload capability by default and use powershell to update it for individuals by…
Find out Windows version from an ISO file
So we download a lot of .ISO file from various sources. I needed to install Windows 10 x64 Pro and was having trouble identifying which was which from the different versions I had been testing. This was important to me because I needed to know if it was Retail, VL, or MSDN. This should work…