It is currently Sat Apr 27, 2024 8:15 am

News News of Lik`s forum

Site map of Lik`s forum » Forum : Lik`s forum

cPanel/WHM/OpenVZ/Xen/Linux/IPMI Lik`s forum


Cron syntax helper

You can insert following code to simplify cron times edit:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * command ...
Read more : Cron syntax helper | Views : 2063 | Replies : 0 | Forum : Linux specific






Centos4 to Centos5 upgrade

How to update Centos4 to Centos5 without complete OS reload/re-setup

1. First of all we need to ensure that we have the latest Centos4 system:
Code: Select all
yum -y update

2. Make sure you disable all other repos and only have CentOS Base and Updates repositories enabled. It will require a bit more manual steps to perform an update in case other (non-default ones) repos were in use.
Code: Select all
cd/etc/yum.repos.d/

/etc/yum.repos.d/CentOS-Base.repo :
# CentOS-Base.repo
#
# The mirror ...
Read more : Centos4 to Centos5 upgrade | Views : 5193 | Replies : 0 | Forum : Linux specific


Spam Assassin Ruleset Bug

Spam Assassin Ruleset Bug

The Quality Assurance team discovered a bug within the SpamAssassin ruleset that will mark messages sent in the year 2010 (that's today) and beyond with a higher spam score than expected. This bug can result in legitimate mail being flagged as spam.

The cPanel Development team has issued a hot fix that will address this issue and will automatically update the SpamAssassin ruleset to resolve this issue. If you have automatic ...
Read more : Spam Assassin Ruleset Bug | Views : 2562 | Replies : 0 | Forum : Server Side Actions


FreeBSD nextboot (alternate kernel and boot flags)

nextboot -- specify an alternate kernel and boot flags for the next reboot

SYNOPSIS

nextboot -k kernel
nextboot -D

DESCRIPTION

The nextboot utility allows specifying an alternate kernel and/or boot
flags for the next time the machine is booted. Once the loader(8) loads
in the new kernel information, it is deleted so in case the new kernel
hangs the machine, once it is rebooted, the machine will automatically
revert to its previous ...
Read more : FreeBSD nextboot (alternate kernel and boot flags) | Views : 2867 | Replies : 0 | Forum : FreeBSD specific


Basic Router Configuration

Basic Router Configuration

The first prompt appears at user mode. User mode allows you to view the state of the router, but does not allow you to modify its configuration. Do not confuse the term "user" as used in user mode with users of the network. User mode is intended for the network technicians, operators, and engineers who have the responsibility to configure network devices.

Router>

The enable command is used to enter the privileged ...
Read more : Basic Router Configuration | Views : 13941 | Replies : 1 | Forum : Cisco tips


Linux force fsck on the next Reboot/Boot

Force fsck on boot using /forcefsck

By creating /forcefsck file you will force the Linux system (or rc scripts) to perform a full file system check.

Login as the root. Create a file called forcefsck:
Code: Select all
touch /forcefsck

Now reboot the system:
Code: Select all
reboot


Force fsck on next boot using shutdown command

The -F option force fsck on reboot, login as root and type the following command to reboot and run fsck:
Code: Select all
shutdown -rF now
Read more : Linux force fsck on the next Reboot/Boot | Views : 2844 | Replies : 0 | Forum : Linux specific


cPanel`s main shared IP

You can find main cPanel`s IP in the following files:
Main cPanel IP: /var/cpanel/mainip
Basic cPanel/WHM setup: /etc/wwwacct.conf
Read more : cPanel`s main shared IP | Views : 2066 | Replies : 0 | Forum : Server Side Actions


 

Login


Statistics

Total posts 505 • Total topics 442 • Total members 22

cron