BIP KB Tag: Linux

A Comparative Introduction To FreeBSD For Linux Users

Introduction To Free BSD FreeBSD is a free and open source Unix-like operating system and a popular server platform. While FreeBSD and other BSD-based systems share much in common with systems like Linux, there are points where these two families diverge in important ways. In this guide, we will briefly discuss some commonalities between FreeBSD and Linux before moving on to a more extended discussion of the important differences be...
By daniel, January 23, 2015


How To Get Started With FreeBSD 10.1

This tutorial is part 2 of 7 in the series: Getting Started with FreeBSD FreeBSD is a secure, high performance operating system that is suitable for a variety of server roles. In this guide, we will cover some basic information about how to get started with a FreeBSD server. Step One — Log In with SSH The first step you need to take to begin configuring your FreeBSD server is to log in. On BIP media, you must provide a publ...
By jason, January 23, 2015


How To Install A New FreeBSD 10.1 Servers

This tutorial is part 4 of 7 in the series: Getting Started with FreeBSD 10.1 Introduction To FreeBSD 10 When setting up a new FreeBSD 10 server, there are a number of optional steps you can take to get your server into a more production-friendly state. In this guide, we will cover some of the most common examples. We will go over how to set up a simple, easy-to-configure FreeBSD 10 firewall that denies most traffic. We ...
By fro, January 23, 2015


An Introduction To Linux Permissions

This tutorial is part 3 of 4 in the series: Getting Started with Linux Introduction Linux Permissions Linux is a multi-user OS that is based on the Unix concepts of file ownership and permissions to provide security, at the file system level. If you are planning on improving your Linux skills, it is essential that have a decent understanding of how Linux ownership and Linux permissions work. There are many intricacies when dealing w...
By frank, January 23, 2015


How To Block IP Addresses Using IPtables

The following article describes various ways to block IPs using the built-in RedHat firewall, iptables. The following command will drop all incoming connections from IP xx.xx.xx.xx: iptables -I INPUT -s xx.xx.xx.xx -j DROP To block a range, such as xx.xx.xx.* specify the CIDR block as follows: iptables -I INPUT -s xx.xx.xx.0/24 -j DROP If you wanted to later remove this entry you would replace...
By samantha, January 24, 2015


How To Change The Shell Type For A Specific User

If you would like to change the shell type for a specific user you can do the following. In this example we will change the shell type for username jimmysmith to Bash: chsh -s /bin/bash jimmysmith If you have any questions feel free to leave me a note below and I will get back to you....
By wen, January 24, 2015


How To Lock And Unlock A System User Account

Disabling shell access doesn't fully lock a user out of a server. They can still login via ftp/pop/imap/smtp servers if they are running on the local server and are checking local user authentication. Below you will find instructions on how to fully lock a system users account. In this example, we will lock the system user peterhope /bin/passwd -l  In this example, we will unlock the system user peterhope ...
By justin, January 24, 2015


How To Use wget For Recursive FTP

We have found that using wget to recursively grab FTP contents is useful in the following situation: You cannot use rsync or scp due to restricted or no shell access on the remote server You need to recursively get directories and globbing with mget * isn't working as expected Transferring files to an intermediate workstation first are not feasible due to time/filesize constraints If all of these apply ...
By pam, January 24, 2015


How To Synchronize A Directory From One Linux Server To Another Using Rsync

In this tutorial we will be using Rsync to synchronize a directory from Linux ServerA to Linux ServerB over SSH using two CentOS servers. To begin we recommend you setup SSH keys between the two servers. To do this you can follow our below tutorials though is not required : How to Set Up SSH Keys with Linux Commandline How to add your SSH public key to CentOS First lets make sure RSYNC is installed. yum install rsync Ok ...
By jason, March 17, 2015


Ten Linux Commands For Beginners

Introduction to basic Linux Commands If you are new to Linux VPS Hosting, this article is for you. As everyone needs to learn from somewhere, we are going to use this space to present 10 basic Linux commands which every budding Linux system admin needs to know. With that said, let’s get on with it. CD cd The CD command is the change directory command. CD, as its name suggests, allows users to jump and change from one direc...
By bobby, March 18, 2015


MySQL: How To Show All Tables Running INNODB Engine

mysql server This short tutorial will show you how to show all database tables running INNODB engine on a mysql server. Login into MySQL mysql> use mysql; mysql> SELECT table_schema, table_name, engine FROM INFORMATION_SCHEMA.TABLES WHERE engine = 'innodb'; Results: +--------------+-----------------------+--------+ | table_schema | table_name | engine | +--------------+-----------------------+---...
By daniel, March 18, 2015


How TO Configure Apache Virtual Hosts On A VPS

Introduction to Apache Virtual Hosts One great benefit of VPS hosting is being able to easily host multiple websites off the same server. Owning a VPS offers much more than just web hosting but in this tutorial we will show you how to setup virtual hosts with Apache. Apache HTTP Server is probably one of the most influential pieces of open-source software that let to the explosive growth of the World Wide Web today. Still going stro...
By tabitha, March 19, 2015


How To Create New Directory / Folder In Linux

Introduction to make new directory In this post we will learn, how to create new directory in a Linux system. To create a new directory in a Linux system we will use the command called mkdir. To create a directory in Linux Use the below given command to create single directory in current path Syntax: mkdir dir-name To create multiple directory in Linux Use the below given command to create multiple directories in cu...
By bobby, April 11, 2015


How To Check If Linux OS Is 32 Bit Or 64 Bit

Check If Linux is 32-bit or 64-Bit Sometimes new Linux users get confused while downloading a software package because the download page offers both 32 bit and 64 bit versions of the same software. It is important to know whether your OS is 32-bit or 64-bit to download the correct version  In this tutorial, we will discuss four different ways to check if your Linux OS is 32-bit or 64-Bit. Please note that the methods mentioned ...
By jason, April 14, 2015


How To - Install And Get Started With Docker

Install Docker VPS Install Docker VPS. If you use Linux, setting up Docker VPS is fairly easy. You can find great instructions straight from Docker's website here. You can also set up Docker on MacOS and Windows - it's a little more complicated, so I recommend using Vagrant's new Docker support feature.   Docker Online Documentation Docker has great documentation and a useful interactive online tutorial. Using The ...
By chris, May 6, 2015


How To Install Drupal 7 On Ubuntu Linux

Install Drupal 7 In this tutorial you will learn how to Install Drupal 7 ( CMS ) on Ubuntu Linux using Apache web server and MySQL database. This installation guide assumes that Apache web server and MySQL database are already installed on your Linux system. These instructions can be also used on a Debian server or any other Debian based Linux systems. All commands below are run as root. If you are a sudo user, prefix all comma...
By peggy, May 6, 2015


How To Start Ghost With Forever

The node module, forever, can be used to start Ghost in the background, and monitor to make sure it stays up. If Ghost crashes, forever will automatically start another instance of Ghost. Installing Forever Install forever with this command from within your Ghost directory: npm install -g forever. Start Ghost with Forever To start Ghost with forever, run the following command from the Ghost directory (/var/www/gho...
By steve, May 6, 2015


How To Install And Configure TYPO3 On Ubuntu

The following tutorial will walk you through the install TYPO3 4.5.4 on a pure, freshly installed Ubuntu 10.04 Install TYPO3 Package Even if synaptic does not install the most recent version of TYPO3, it's very usefull to do a sudo apt-get install typo3 as all the necessary packages like apache, mysql, php, imagemagick, etc... are installed too. Also, some usefull other settings are made ... Anyway, what's the problem is, t...
By jimmy, May 7, 2015


How To Clear Linux / UNIX BASH Shell Command Line Cache / History

Introduction to Shell Q. I just noticed faq about clearing dns cache and there are lots of commands stored in my cache. Can you tell me the command to clear out my command history or cache from a shell prompt? A. Many programs read input from the user a line at a time. The GNU history library is able to keep track of those lines, associate arbitrary data with each line, and utilize information from previous lines in composing ne...
By tommy, June 3, 2015


How To Set Up Logrotate on RedHat Linux

  1. Introduction Logrotate is a utility designed for administrators who manage servers producing a high volume of log files to help them save some disk space as well as to avoid a potential risk making a system unresponsive due to the lack of disk space. Normally, a solution to avoid this kind of problem is to setup a separate partition or logical volume for a /var mount point. However, it may also be a viable solution to this prob...
By jack, June 24, 2015


How To add a new user Linux command

1. useradd (User Linux Command) If you do not wish to add a new user account by using a GUI tools, you can do it from a User Linux Command line with the useradd command. useradd -mc "user name" -s /bin/bash john The previous command will create a new user account for user john. -mc options instruct a useradd comment to put a comment about new user which is very often used to specify user's full name. -s option will select the path for...
By tommy, June 24, 2015


How to upgrade Debian Linux system from Wheezy to Jessie stable release

This tutorial describes the process to upgrade Debian from Debian Wheezy to Debian Jessie. Debian Linux, code name "Jessie" is the latest stable Debian release. It is important to point out that nothing is full proof so proper backup procedure should be discussed before you start the upgrade process. The rule of thumb is, the less software installed on your system the higher chance for a successful upgrade. Before you move ...
By kevin, June 26, 2015


How To Extract A User List From Your Linux System

Here is a simple way to extract the User Name and full name for all the users on your Linux system. Both methods divide the /etc/passwd file into columns and print column 1 and 5 where ":" is used as a common delimiter. Column 1 contains the username and column 5 contains the full name. Using awk: BEGIN { FS=":" } { print $1 "\t" $5 } save this as extractnames.awk . Now execute awk and include this file: $ awk ...
By kevin, June 26, 2015


How To Check A Current Runlevel Of Your Linux System

Unix System V-style implement conventionally 7 runlevels. This runlevel implementation varies across many Linux distribution. Usually runlevel 0, 1 and 6 are the same. 0 - halt 1 - single mode 6 - reboot On Debian distributions runlevel 2-5 are dedicated to full multi-user mode with graphical managers and console login. Redhat/Fedora has two separate runlevels for each mode. To check the runlevel, you can use the runlevel comm...
By kevin, June 26, 2015


How To Use Cron To Its Full Power

What is cron? Cron the name of a program that enables unix users to execute commands or scripts (groups of commands) automatically at a specified time/date. It is normally used for sys admin commands, like makewhatis, which builds a search database for the man -k command, or for running a backup script, but can also be used for just about anything. A common use for it today is for your email program to connect to the internet and ...
By alexander, October 11, 2015


How To Install Joomla on a CentOS 7 Linux VPS

In this tutorial you will learn now to install Joomla on a Centos 7 VPS using Apache web-server and MySQL database. OVERVIEW Install Joomla. Joomla is one of the most popular free content management systems (CMS) in the world that allows you to easily create and manage a dynamic website. It has an intuitive management interface to control all the features and functionality this powerful CMS poss...
By brian, November 11, 2015


PHP jquery autocomplete search

The Auto complete search box provides the suggestions when you enter data into the PHP jquery field. The below example demonstrate, How to use auto complete text box using with php. We need to create these 2 PHP jquery files: --- index.php ---livesearch.php PHP jquery Database Design And Table Database : contry_list Table : tapps_countries Copy paste the following mysql PHP jquery code into your PH...
By salem, August 1, 2016


10 Linux Commands For Beginners

Introduction Linux Commands is a program that takes commands from the keyboard and gives them to the operating system to perform. This tutorial explains some of the most used Linux commands and their basic usage. All these commands should be entered at the command prompt and you must press the ENTER button to execute the desired command. To open your command prompt, just press Ctrl + Alt + T or you can search for it...
By anne, February 8, 2016


Mechanism of Unicode Collation Algorithm

4. Mechanism of Unicode Collation Algorithm The Algorithm takes as input a Unicode string and a Collation Element Table and returns a sort key. This sort key can then be compared with any other sort key , to give the correct comparison between the strings for which they were generated. Design of Unicode collation algorithm allows implementations to produce culturally acceptable collation, while putting the least burden on implementat...
By jeevan01, August 1, 2016


Proxmox NoVNC not working

Well, if you are having problem with PROXMOX NoVNC not working and has been ignoring it up until now, its time to make it work. NoVNC basically uses web socket and html5 to allow you to remote access your virtual machine. So make sure you use a browser such as Chrome instead of Safari which has a full compatibility of web socket implementation on the browser. If not, you will most likely get yourself an error such as this. ...
By BIP, August 12, 2016


How to Setup ZPanel CP on Linux CentOS 6

  Today we are going to show you about one of the most important solution of web hosting control panel which is more than an open source application that works on Windows and Linux that is zPanel CP. Its written in PHP and uses different other open source software packages to provide secure web hosting control panel. Using zPanel CP you can use it to manage every aspect of your web server, including email accounts, MySQL databases, doma...
By yang-li, October 25, 2016


Create Compress Archive Almost Any File in Linux (tar, tar.gz, tar.bz2, gz, bz, zip, 7z, rar, etc…)

Compress file Command's like rar, tar, unzip, zip on a VPS Server This is a Linux command line guide/cheat sheet that will help you archive or compress file. More options are also available by reading the man pages! Most compression or archiving methods that you may want are already built into popular distributions (Ubuntu, Fedora, Suse, etc…), but some of them aren’t. I would recommend installing this group of packages using ap...
By yang-li, March 7, 2017