How to Configure Logrotate

It’s always important to keep your server logs around for as long as it makes business sense.¬†You’ll need them for auditing system access, discovering abuses, or to identify root causes to problems, among other reasons. The challenge, though, is that depending on the service being provided and the amount of traffic received, your logs are capable of growing to gargantuan sizes, consuming every last bit of disk space available.

Logrotate allows us to better manage our logs to prevent from consuming too much disk space. Depending on the schedule you decide on, your logs can be rotated every day, week, or month. Each rotation renames your existing log file, usually by appending a ‘.’ and number to the end, and then creates a new file. To preserve storage the logs that have been rotated can be compressed using Gzip.

Mounting SMB Shares on CentOS 7

Microsoft CIFS or SMB, whichever name you prefer to call the protocol, mounting these shares onto a CentOS 7 server or desktop is possible. Not just limited to shares hosted from Microsoft Windows, we can also mount shares from any network device that uses the SMB protocol. This includes just about any NAS device on the market.

Mounting SMB \ CIFS shares onto CentOS

Learn how to mount CIFS shares in Linux using the mount command and by modifying fstab.

How to setup an NFS Server on CentOS 6

Step-by-step guide on how to share files between computers using the Network File System protocol on your CentOS 6 server.

How to Deploy a Distributed File System Server on CentOS 6

Learn how to access all of your Linux file servers from a single DNS name, using Samba to configure a Distributed File System (DFS).

Joining Samba 3 on CentOS 6 to Active Directory

Learn how to add your Samba 3 deployment to Active Directory, to allow Windows users to authenticate and connect to your Linux file services.


© 2014 Shane Rainville