Currently viewing the category: "LINUX Help"

Rescuing system with Linux Rescue

On November 12, 2011 By

You are reading this article, most probably you faced trouble booting your Linux. Follow the steps below to fully chroot into your system as you booted regularly. Please note that we offer you to take a disk clone before doing anything in your boot configuration. To do so, you can use dd or dd_rescue to [...]

Continue Reading

If you want to show console output from a Serial device such as RS-232 interface, you need to make minor modifications in pfsense 2.0 distro.

Switch to shell by pressing 8 from the pfsense console menu and edit the file /boot/loader.conf by typing:

vi /boot/loader.conf

Add the below lines to the file after pressin “i” [...]

Continue Reading

Using vi Editor

On April 27, 2011 By

Vi is the one of the mostly used editor in Linux via terminal. In most cases where Linux is used as a server operating system, admins use the terminal, where GUI uses more system resources & network bandwidth. Since Vi is used from the terminal, the lack of GUI force the user to learn function [...]

Continue Reading

How to update Linux with Yum

On April 26, 2011 By

Updating RedHat & CentOS with Yum

 

If you are using RedHat & its clones like CentOS or CloudLinux etc. you can use Yum or up2date to upgrade your current system.

Please note that is you have a RedHat Enterprise Linux Subscription we offer you to use the command up2date, to upgrade your server with [...]

Continue Reading

You can use du command to see the folder size in LINUX including subfolders.:

With du

du -h # including subfolders (-h means human readable format in MB, GB or TB)

If you want to exclude subfolders, type:

du -h –max-depth=1

 

If you want to know a specific folders size (easy to remember) type:

[...]

Continue Reading

Disabling IPv6 in Linux

On April 25, 2011 By

In default LINUX installation IPv6 is enabled. IPv6 might use system resources.

Run this command as root:

echo “alias net-pf-10 off” >> /etc/modprobe.conf echo “alias ipv6 off” >> /etc/modprobe.conf

You need to restart your server after this command.

Continue Reading

LINUX Version Info

To learn the architecture and kernel version info use the shell command below:

less /etc/redhat-release

The output will be like

CentOS release 5.6 (Final)

To learn the architecture & kernel version:

uname -a

you can use the command above, the last numbers marked as red below is your architecture:

Linux [...]

Continue Reading

Setting time with NTP

On April 25, 2011 By

NTP (Network Time Protocol) could be used to set time synced with ntp clocks, to do this use the shell command below:

Setting time with NTP:

yum install ntp -y
\cp -f /usr/share/zoneinfo/Europe/Istanbul /etc/localtime
ntpdate -v -b in.pool.ntp.org

And set the hardware clock with:

hwclock -w

Continue Reading

You can make a search inside files within a a directory using the command “find“, to do that:

with the find command
cd /to_folder
find . -iname ‘*conf’ | xargs grep ‘string’ -sl

-iname ‘*conf’ states that the seach will only check the files ending with *conf,
using -iname ‘*’ will search [...]

Continue Reading

If you own your DNS servers, you should probably want to close recursive queries being gathered from your servers.

In named.conf edit the options directive and add:

options {

allow-transfer {Secondary Server IP; }; allow-recursion { 127.0.0.1; A.B.C/24; };

};

In secondary server:
add to options:

allow-transfer { none; }; allow-recursion { [...]

Continue Reading

Looking for something?

Use the form below to search the site:


Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

Archives

All entries, chronologically...