How To

How is a friendly Community site where people can share hints and tips on how to do just about everything.

 Admin

List of available RTMP servers

List of available RTMP servers

    Adobe: – Flash Media Server http://www.adobe.com/products/flashmediaserver/ – LiveCycle DS http://www.adobe.com/products/livecycle/dataservices/ Non-Adobe: – Red5 http://osflash.org/red5 (Java) – Wowza http://www.wowzamedia.com/ (Java) – WebOrb http://www.themidnightcoders.com/products.html (.NET, Java) – ErlyVideo http://erlyvideo.org/ (Erlang) – RubyIzumi http://code.google.com/p/rubyizumi/ (Ruby) – RTMPD http://www.rtmpd.com/ (C++) – Cygnal http://wiki.gnashdev.org/Cygnal (C++) – RTMPy http://rtmpy.org/wiki/RTMP (Python) – RTMPlite http://code.google.com/p/rtmplite/ (Python) – MammothServer (OpenFMS) http://mammothserver.org/ (C++)      

 Admin

Install Red5 1.0 RC1 on CentOS Latest

Install Red5 1.0 RC1 on CentOS Latest

  1. Install Java # yum -y install java-1.6.0-openjdk java-1.6.0-openjdk-devel 2. Install Ant # cd /usr/local/src # wget http://red5.svnlabs.com/apache-ant-1.8.2-bin.tar.gz # tar zxvf apache-ant-1.8.2-bin.tar.gz # mv apache-ant-1.8.2 /usr/local/ant 3. Export path for Ant and Java # export ANT_HOME=/usr/local/ant # export JAVA_HOME=/usr/lib/jvm/java # export PATH=$PATH:/usr/local/ant/bin # export CLASSPATH=.:$JAVA_HOME/lib/classes.zip Also add these lines in /etc/bashrc at last to [...]

 Admin

How to Change the Window Border Size in Windows 8

How to Change the Window Border Size in Windows 8

The window borders on Windows 8’s desktop are fairly thick by default, but they don’t have to be – you can customize the side of the window borders with an easy-to-use application or a quick registry tweak. You can shrink the window borders and make them fairly thin, just as they were on previous versions [...]

 Admin

How to Install Nginx on CentOS with Yum

How to Install Nginx on CentOS with Yum

Nginx is a popular lightweight alternative to Apache. Installing it with the yum package manager is simple: # yum update # rpm -Uvh http://download.fedora.redhat.com/pub/epel/5Server/x86_64/epel-release-5-4.noarch.rpm # yum install nginx Start Nginx: # /etc/init.d/nginx start Check if Nginx is running at: http://xx.xx.xx.xx – You should see a default Nginx page. Set Nginx to start automatically in case of reboot: [...]

 Admin

How To Install NGINX on Debian VPS

How To Install NGINX on Debian VPS

Introduction: nginx (“engine x”) is a webserver and reverse proxy actively developed by Russian programmer Igor Sysoev and his development team. nginx, by comparison, has a small market share compared to Apache and Microsoft’s IIS however nginx’s popularity is increasing. Many large websites, such as Hulu, WordPress, Netflix, and others, have all moved from Apache to [...]

 Admin

How to Setup WordPress Multisite with Subdomain

How to Setup WordPress Multisite with Subdomain

How many blogs do you have? Have you ever feel bored when it’s time to update wordpress, themes and plugins, because you have to do it one by one? Do you want to have your own blog network, like WordPress.com? If yes, then I think you should consider to setup a wordpress multisite. Step by step to [...]

 Admin

How to Install Nginx on Ubuntu 12.04

How to Install Nginx on Ubuntu 12.04

After struggling in Lighttpd, I’ve decided to uninstall Lighttpd, and change my web server to Nginx. Here’s how to install Nginx on Ubuntu 12.04. sudo apt-get install nginx Start the Nginx service: sudo service nginx start In some cases, you may need to reboot your system: sudo reboot Now, go to http://localhost/ from your browser. That’s it, Nginx has been installed. [...]

 Admin

How to install LibreOffice (3.4.5 and 3.5.0) on Linux (Fedora, RHEL, CentOS)

How to install LibreOffice (3.4.5 and 3.5.0) on Linux (Fedora, RHEL, CentOS)

LibreOffice, no doubt a great office suite, doesn’t come pre-installed with major Linux distributions so here we are explaining how to install Libreoffice 3.4.5 or 3.5 on Fedora, CentOS and RHEL. Well you have a privilege of installing LibreOffice on Fedora 16 through command line. Following code can do the trick : yum install libreoffice [...]

 Admin

How To backup data with rsync under Linux

How To backup data with rsync under Linux

As a system administrator or just a backup-conscious home user, sooner or later (usually sooner) you will have to deal with backups. Disasters do happen, ranging from electrical storms to drive failures, and one needs to be prepared. We cannot stress enough the importance of having copies of important data. While the whole concept of [...]

 Admin

How to view contents of a file in Linux

How to view contents of a file in Linux

You can use any of the method given below to view contents of a file in Linux. Let us say the file name is “filename”. Then you can view its content… 1. using cat command user@internet:$ cat filename or user@internet:$ cat < filename 2. using head command user@internet:$ head filename 3. using tail command user@internet:$ tail filename 4. using pg command user@internet:$ pg filename 5. using more command user@internet:$ more [...]

 Admin

How to install Linux Mint’s Cinnamon Desktop on Ubuntu

How to install Linux Mint’s Cinnamon Desktop on Ubuntu

Recently Linux Mint’s developer team released Cinnamon for Linux Mint 13 which is the new desktop environment, it follows the layout of traditional desktops. If you want to try out Cinnamon but you don’t have Linux Mint installed on your system and you are using Ubuntu instead, then you can use the method given below to install [...]

 Admin

How to block a country using iptables?

How to block a country using iptables?

If you are an admin of a website and you see a lot of bogus traffic coming from some countries which give no profit to you, and you want to block those countries from accessing your website then you can use the bash script given below. There are two ways to block countries. First is [...]

 Admin

How to delete spaces from file name in Linux?

How to delete spaces from file name in Linux?

If your file name has spaces in it and there are many such files that it is not possible for you to rename each file’s name manually then you may use the command given below. It will rename all the file names which have spaces by replacing the spaces with an underscore ( _ ). [...]

 Admin

How to install rpm package on linux ?

How to install rpm package on linux ?

  RPM was the most famous way of installing packages on a Red Hat based linux box, nowadays other distros are also using RPM to support their software, Suse and Mandriva fall in the zone. RPM stands for Red Hat Package Manager. RPM lets you install a package, upgrade and uninstall the same. It also [...]

 Admin

How to find the CPU information from terminal in Linux?

How to find the CPU information from terminal in Linux?

You can use lscpu command or can view the file /proc/cpuinfo to get the CPU information from terminal. Man page description of lscpu command: lscpu gathers CPU architecture information like number of CPUs, threads, cores, sockets, NUMA nodes, information about CPU caches, CPU family, model and stepping from sysfs and /proc/cpuinfo, and prints it in human-readable format. Alternatively, it [...]

 Admin

How to delete all files of a directory in Linux?

How to delete all files of a directory in Linux?

To delete all files of a directory in Linux there are 2 methods available. Suppose you want to delete all files of the directory dirname whose path is /home/usr/dirname then to delete all files of this directory you may use the 2 methods give below: Method 1: Use rm command $ rm /home/usr/dirname/* or $ cd /home/usr/dirname/ [...]

 Admin

How to install software in linux from source file (.zip, .tar.gz, .tar.bz2) ?

How to install software in linux from source file (.zip, .tar.gz, .tar.bz2) ?

Before getting your hands on it, here is a heads up, installing package from source is not the most preferred method. Few might find in a difficult method. It is recommended for experienced Linux users or those who have a thing for exploring more. Generally mostly used software are shipped with the OS and the [...]

 Admin

How to run a Linux Shell Script?

How to run a Linux Shell Script?

Have you ever wondered how you can run a script in Linux? Every script that needs to run should have a execute permission. By default it is refrained from such permission. One has to assign execute bit manually. In order to do so execute following command: #chmod +x SomeScriptFile OR #chmod 0755 SomeScriptFile ls command [...]

 Admin

How to find the partition of hard disk belonging to a specific file?

How to find the partition of hard disk belonging to a specific file?

How to check to which partition a particular file belongs? Following procedure will guide you to discover that partition on which a “file” resides. We do this with the help of df command. It is used get a report of space utilized on disk and also mentions files/directories. This command is used as follows: $ [...]

 Admin

How to automount partition in Linux

How to automount partition in Linux

Automount partition in linux like never before. Introducing a tool that can automount partition for you as soon as you boot up your linux box. One of the Linux Guru’s characteristics is to use command line for everything. One can accomplish anything when well versed with command line tips. After booting up a linux box, one [...]

 Admin

How to display a digital clock in Linux terminal?

How to display a digital clock in Linux terminal?

A clock is nothing special, we have tons of it but when it comes to linux the joy of accomplishing anything on command line is heavenly. In this document we are going to see how to display a digital clock in terminal (which updates). You can see the current data/time with Linux’s default command date. We will [...]

 Admin

Unity keyboard Shortcuts

Unity keyboard Shortcuts

Your Unity keyboard shortcuts documentation is here! Bookmark this page for future reference or download the wallpaper containing all unity keyboard shortcuts, download link in later half of this page. A “Super” user will make most out of his keyboard with less/no use of mouse as it slows one down. Here we have documented some [...]

 Admin

View log files in real time

View log files in real time

Most of the log files in linux can be found in /var/log . You can go to this directory with cd command but root permission is required. cd /var/log To view the log files in real time: tail -f /path/toFile.log For example, to view the live version of yum log files execute tht following command: tail -f [...]

 Admin

Linux Command Line tips that every Linux user should know

Linux Command Line tips that every Linux user should know

Below is the collection of Linux command line tips which I’ve found useful for Linux users. To get more information about the command mentioned below just open your terminal and type man <command>. Things a Linux user must learn Learn bash: No need to refer a lengthy bash guide or something else. Just read the [...]

1 2 3 5