Tutorial Tag

Linux

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

    Compress file Command's 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 apt-get, yum, or an equivalent before using this guide (unless of course you already know what you need):su -c 'yum install unzip zip p7zip rar unrar bzip2 gzip lzma'Command's .tartar cvf...
  2. How to Setup ZPanel CP on Linux CentOS 6

    By Yang Li tagged in HOWTO,install,Linux,OPEN SOURCE TOOLS,zPanel
     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, domains, FTP, DNS and other advanced configurations like Cron jobs.The installation setup of zPanel CP is extremely easy to getting it up and running....
  3. 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,TASK ERROR: command '/bin/nc -l...
  4. PHP jquery autocomplete search

    By Salem chammam tagged in education,jquery,Linux,php
    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_countriesCopy paste the following mysql PHP jquery code into your PHPMyAdmin to create table.CREATE TABLE IF NOT EXISTS `apps_countries` ( `id` int(11) NOT NULL AUTO_INCREMENT, `country_code` varchar(2) NOT NULL DEFAULT...
  5. Mechanism of Unicode Collation Algorithm

    By jeevan senanayake tagged in Algorithm,education,Linux,Unicode
    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 implementations in terms of memory requirements and performance. In particular, Collation Element Tables only require storage of 32 bits...
  6. 10 Linux Commands For Beginners

    By Anne Jamine Sevilla tagged in cat,cd,Commands,cp,df,free,Linux,Linux Commands,ls,mkdir,mv,passwd,rm
    IntroductionLinux 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 pressing "Windows" key and typing "terminal".Please note that all Linux commands...
  7. How To Install Joomla on a CentOS 7 Linux VPS

    By Brian Jackson tagged in centos,centos 7,install,install joomla,Joomla,Linux
    In this tutorial you will learn now to install Joomla on a Centos 7 VPS using Apache web-server and MySQL database.OVERVIEWInstall 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 possesses. There are also hundreds of free extensions written for Joomla that allows users to...
  8. 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 download your email on a regular basis.cron...
  9. How To Check A Current Runlevel Of Your Linux System

    By Kevin Young tagged in command,Linux,Runlevel,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 - rebootOn 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 command with no arguments:$ runlevelanother way to check your runlevel is to use:$ who -rTo see what services are starting during which runlevel you can use:# chkconfigThe same command also allows you to...
  10. How To Extract A User List From Your Linux System

    By Kevin Young tagged in Extract,Full User List,Linux,list,user
    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 -f extractnames.awk /etc/passwdThe same output can be produced by cut command:$...
  11. 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 on with the upgrade consider the following recommendations.1. Upgrade Debian...
  12. 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 johnThe 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 the default shell.2. adduser Another way to add a user is to use the adduser command. However...
  13. 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 problem especially if it is too late to move all logs under different partition. In this article we will talk about usage and...
  14. 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 new ones. Bash and other shell may...
  15. How To Install And Configure TYPO3 On Ubuntu

    By jimmy tagged in Configure,install,Linux,TYPO3,ubuntu
    The following tutorial will walk you through the install TYPO3 4.5.4 on a pure, freshly installed Ubuntu 10.04Install 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 typo3as 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, that when using the package nowadays, in /etc/typo3-dummy/apache.conf is an alias "cms" defined. So...
  16. 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/ghost/): forever start index.jsGhost defaults to loading the development configurations from config.js. If you want to start Ghost with the production configurations with Ghost run ...
  17. 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 commands below with sudo.Prerequisites Installation # apt-get install php5-mysql apache2 \ mysql-server...
  18. 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 Repository The repository of images with your Docker VPS Server is one of it's best features. The...
  19. How To Check If Linux OS Is 32 Bit Or 64 Bit

    By Jason tagged in 32 bit,64 Bit,check,Linux,Software
    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 in this article are tested on Ubuntu 13.10.Execute the ‘uname...
  20. How To Create New Directory / Folder In Linux

    By Bobby tagged in Folder,Linux,mkdir,New Directory
    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 pathSyntax: mkdir dir-nameTo create multiple directory in Linux Use the below given command to create multiple directories in current path.Syntax: mkdir dir-name1 dir-name2 dir...
  21. 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 strong it is the leading web server used across the internet today. Apache...
  22. 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 MySQLmysql> use mysql; mysql> SELECT table_schema, table_name, engine FROM INFORMATION_SCHEMA.TABLES WHERE engine = 'innodb'; Results: +--------------+-----------------------+--------+ | table_schema | table_name | engine | +--------------+-----------------------+--------+ | pdns | domains | InnoDB | | pdns ...
  23. 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 directory to the next. An example of a CD command is: cd downloadsTOP top The...
  24. How To Synchronize A Directory From One Linux Server To Another Using Rsync

    By Jason tagged in centos,Directory,Linux,rsync,ssh,synchronize
    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 CommandlineHow to add your SSH public key to CentOSFirst lets make sure RSYNC is installed. yum install rsyncOk now that we have confirmed rsync is installed lets synchronize a directory from one server to another...
  25. 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 is not feasible due to time/filesize constraintsIf all of these apply to you, then a recursive wget via ...
  26. 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/bin/passwd -u peterhope...
  27. 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 jimmysmithIf you have any questions feel free to leave me a note below and I will get back to you....
  28. 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 DROPTo block a range, such as xx.xx.xx.* specify the CIDR block as follows:iptables -I INPUT -s xx.xx.xx.0/24 -j DROPIf you wanted to later remove this entry you would replace the -I with -D as follows:...
  29. An Introduction To Linux Permissions

    This tutorial is part 3 of 4 in the series: Getting Started with LinuxIntroduction 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 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 with file ownership and permissions, but we will...
  30. How To Install A New FreeBSD 10.1 Servers

    This tutorial is part 4 of 7 in the series: Getting Started with FreeBSD 10.1Introduction 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 will also make sure that...
  31. How To Get Started With FreeBSD 10.1

    This tutorial is part 2 of 7 in the series: Getting Started with FreeBSDFreeBSD 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 public SSH key when...
  32. A Comparative Introduction To FreeBSD For Linux Users

    IntroductionFreeBSD 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 on the important differences between them. Many of the points below can accurately be applied to the greater family of BSD-derived systems,...