Sending logs to a syslog server

If you are running a linux server, go ahead and install rsyslog. yum install rsyslog You will need to edit the rsyslog config file. vi /etc/rsyslog.conf Add the following line. # ### begin forwarding rule ### # The statement between the begin … end define a SINGLE forwarding # rule. They belong together, do NOT […]

Read More Sending logs to a syslog server

Building a Syslog Server

Go ahead and deploy your server, if you havent yet take a moment to do so. Installing rsyslog: yum install rsyslog After the files have been installed, edit /etc/rsyslog.conf vi /etc/rsyslog.conf Once in, you’ll need to uncomment the following two lines $ModLoad imudp $UDPServer Run 514 $ModLoad imtcp $InputTCPServerRun 514 Save the file and close […]

Read More Building a Syslog Server

System Load

Your server or computer is currently running slower than normal. You know that its been online for days or even weeks. So, you’ re Troubleshooting Here are the commands and steps you can use to troubleshoot a machine that is running slow or is freezing up constantly. uptime Uptime is a command used to view […]

Read More System Load

Troubleshooting a slow system

Problem A server or computer is currently running slow, but you are able to log into it. You want to see what is causing the problem. Troubleshooting Here are the commands and steps you can use to troubleshoot a machine that is running slow or is freezing up constantly. uptime Uptime is a command used […]

Read More Troubleshooting a slow system

FILE SYSTEMS AND HIERARCHIES

Linux File System A file system is the method and data structures that an operating system uses to keep track of files on a disk or partition. Basically how things will be stored. Before a partition or disk can be used as a file system, it needs to be initialized, and the bookkeeping data structures […]

Read More FILE SYSTEMS AND HIERARCHIES

Compress a file with tar

Last time we spoke about unzipping an archive/compressed with tar. This time we’re going to show you how to compress a file with tar. Tar as you know it is most commonly used for unzipping compressed files and unzipping archived files. Both archived files and compressed files contain multiple files combined into one. This makes […]

Read More Compress a file with tar

TAR | EXTRACTING FILES

Archiving combines several files into one file. While compressing combines several files into a smaller file. Key difference being that a compressed file is stored in a smaller file. Why is compressing a file useful? It helps package up many files into one file. This can save space and helps when sending files from one […]

Read More TAR | EXTRACTING FILES

FSCK – FILE SYSTEM CHECK

File System Check, is a tool used to check and repair one or more Linux file systems. Fsck is best used when a device is receiving I/O errors. Alternatively, one can use it to just check the file system as a precaution You can use the -A option to automatically start checking all file systems […]

Read More FSCK – FILE SYSTEM CHECK

TEN BASIC COMMANDS

Here are a few basic Linux commands that all new users should know. Of course most of these commands have options to alter their output. 1) Print Working Directory –  This command will display the full path name $ pwd 2) List –  This command will list content in a directory. Additionally, the -l and […]

Read More TEN BASIC COMMANDS

DEADLY LINUX COMMANDS

Everyone should know that there are several deadly commands for Linux. The worst part is that some commands do not need confirmation. Which is where we step in, Trolls will recommend using these commands to new or newish Linux users. Note that these commands require sudo as a prefix or privileged access. rm -rf /* […]

Read More DEADLY LINUX COMMANDS