SHINE CORPORATION — SHINE ONE SHINE CORPORATION — SHINE ONE
Client login
← Knowledge base

Linux

Add a Redirect Script to your .htaccess File

This support article walks you through the process of adding a redirect to your .htaccess file.  You can use this script to redirect your site to www.domain.com or to a different d

Add custom SpamAssassin rules for content filtering

Your local SpamAssassin rules should be stored in a file called /etc/mail/spamassassin/local.cf if you want the rules applied to every user on the system, or ~/.spamassassin/user_p

Add PHP Extensions with No Control Panel or Plesk

This article will cover how to compile a shared object file for PHP without having to recompile Apache entirely. This article does not apply to WHM (Cpanel) as Cpanel has its own i

Adding FTP Users For VSFTP

You will need to log into your Linux server using SSH / Shell. If you are on a Windows workstation you will need to download Putty or if you are using a MacOSX based workstation yo

Adding Users To A Usergroup

Using the following two commands will allow you to add either a new user or an existing user to correct permissions issues that you may encounter in a Linux OS. Adding A New User T

Adjusting the Amount Of Swap

Swap or Swappiness is the amount of storage that the Linux OS can use as virutal memory, just like how a Windows OS can use storage and use it as virtual memory. This works side by

Administer a Website Using Webmin

Once a website is setup within Webmin it is very easy to be able to edit the different options for the website to have the site function exactly as you want.  Below is a brief expl

Apache mod_status

The Apache module mod_status allows for an administrator to monitor the performance and activity of their web server. mod_status will provide the following information to the viewe

Bind IP's to a server in Linux (CentOS/RedHat)

This article will go over how to bind IP addresses that were assigned and routed to your server. This applies only to Cloud and Dedicated accounts. SSH into the server. If you are

Bind Multiple IP Addresses to a Single Network Interface Card (NIC)

This tutorial demonstrates how to bind multiple IP addresses to a single NIC I'll be using LAN IP's in this example, so replace them with the ones you'll be using. The network scri

Binding multiple IPs to one interface in Centos 6

The steps to add additional IP's to one network card / interface in Centos are as follows: 1.) Login into the server as the root user 2.) Navigate to /etc/sysconfig/network-script

Changing hostname in Centos

The steps to change the hostname on your Dedicated Server / VPS in Centos are as follows: 1.) Login to SSH as root 2.) Type "vi /etc/sysconfig/" 3.) Press insert on the keyboard a

Changing Time Zone In Linux Servers

If you want to change the time zone for your server to match your own time zone then this can be done very easily by doing the following: 1.) Remove the existing time zone setup

Check your disk usage in Linux

A good way to check your disk usage for folders on your Linux server is via shell. Download Putty.exe for this location http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe Ope

Clear Memory Cache on Linux Server

By default the Linux OS has a very efficient memory management process that should be freeing any cached memory on the machine that it is being run on. However when it comes to Cac

Configure Keep Alives on SSH Server in Linux

This article goes over how to configure your SSH server to make sure keep alives are active on the server. This applies to Linux Cloud and Dedicated solutions.  Open /etc/ssh/sshd_

Create Search Engine Friendly URLs with mod_rewrite

Search engine friendly URLs avoid the use of symbols when passing URL variables. Providing clean URLs adds to the user experience by removing characters neither your visitors nor s

Define the Default Document Order for a Shared Linux Server

The Default Document order defines what files the Apache server will try to load from your website's home directory. It is defined in the apache configuration file, but can be over

Enable and Use the Apache Info Module

The Apache Info Module (mod_info) provides a comprehensive overview of the server configuration. This article will walk you through enabling and using the Apache (mod_info) module.

Evaluate Disk Usage on Linux Plesk Server

The following commands will assist you in evaluating your disk usage on a Linux Server with Plesk. Get overview of available and used spacedf -h On this server the primary partiti

How Do I Update Linux Packages Using the Webmin Control Panel?

This article will describe how to update the various packages on a Linux system using the Webmin control panel.  This is a very useful way to ensure your Linux system is running th

How To Compress And Extracting Files

To Compress A File Or DirectoryLog into your Linux server. Locate the files or directory that you want to compress Type the following commands: For compressing a file; "tar czvf na

How to Disable IPv6 for Redhat and Centos

Some applications or policies require that IPv6 be disabled on the server, since the IPv6 protocol is currently not a requirement. This article will explain how to disable IPv6 for

How To Install The Mumble VoIP Server to Redhat/Centos

Mumble is an opensource, low-latency, high quality VoIP voice chat software that is primarily intended for gaming. It's a free and worthy (often consider superior) alternative to m

Install NCDU on a Linux Server

This article walks you through the process of installing and using NCDU on a Linux server.  NCDU can be used to track disk usage in Linux. Download the latest version of NCDU by br

Install OSSEC on a Linux server

OSSEC is an open source intrusion detection system that runs in the background on a server that can alert the system administrator to problems or break-in attempts. SSH into the se

Install phpMyAdmin on a Linux server

This article will go over the steps of installing phpMyAdmin on a Linux server. phpMyAdmin is a web-based program that can create and drop databases, create/drop/alter tables, dele

Install Tomcat on a Linux Server

This article walks you through installing Tomcat on your Linux server. This has been tested on a Linux server with Cent OS release 5.5 (Final) and no control panel (e.g., Plesk or

Installing htop

htop is an interactive process viewer for Linux, which is a powerful alternative to the start 'top' utility. Some of the benefits of htop: Supports mouse interactions Better sortin

Installing Railo in Linux (with Apache)

Railo is an open source, and free, CFML (Coldfusion) compiler. Railo translates CFML (Coldfusion Markup Language) into Java classes, which are then executed by a Java server. The d

Locate Newly Created Files in Linux

This articles goes over the Linux locate command, how to see when the locate database was last updated, and how to update the database the locate command pulls from to make sure it

Manage the Qmail queue with qmHandle

qmHandle is a tool which can be used to manage the qmail message queue. Check if qmHandle is already installed on the VPS using the Linux command::which which qmHandleIf qmHandle i

Monitoring Bandwidth with VNstat

VNstat is a bandwidth monitoring tool that will let you monitor your bandwidth and provide daily, weekly and monthly tracking metrics.  To install and setup Vnstat, you will need

Retaining Directory Permissions While Using SCP

SCP is a secure file transfer protocol that is used in Linux. SCP is similar to FTP that it allows you to connect to a remote server and transmit your files via the connection. How

Set the time on a Linux server

Log into the server via SSH At the shell prompt run the following command:date MMDDHHmmYYYY For Example) To change the date and time to April 3, 2009 6:44 pm you would run the comm

Tuning the Apache Prefork MPM

Apache uses a set of values called the Prefork MPM to determine how many servers it will utilize and how many threads each server can process. Out of the box all Apache installatio

Upgrade PHP on a Linux Server

This article will walk customers without a control panel through upgrading PHP using YUM. Connect to the Linux server via SSH using a program such as Putty. Configure the YUM repo

Use a Redirect Script in PHP

This article walks you through the process of using a 301 redirect script in PHP.  The 301 redirect  is a very efficient method of webpage redirection.  More importantly, it is sea

Using the .Htaccess File for PHP Directives

The .htaccess file is pretty handy as it can also allow you to set various PHP flags that you may not want enable for all of you websites and in turn will let you run just about ev

Using the .htaccess File to Block IP Access

Using a .htaccess file will grant you greater control over your website, such as safe guarding it from hacking attempts or even keeping out spammers who may frequent your website.