How To Use Vim Tutorial

Vim is a powerful editor that has many commands, so many that it would be impossible to teach in a tutorial like this. This tutorial is designed to display enough commands so that you are comfortable to easily use Vim as a generic text editor. MOVING THE CURSOR ** To move the cursor, press the h, j, k, l keys as shown. ** Hint: The h key is on the left and moves left Hint: The l key is on the right and moves to the right Hint: The j key looks like the down arrow Hint: and of-course, the k […]

Read more

How To Install Webmin On Debian/Ubuntu

How To Install Webmin On Debian/Ubuntu

If you are using the DEB version of webmin, first download the file from the downloads page , or run the command : wget http://prdownloads.sourceforge.net/webadmin/webmin_1.831_all.deb then run the command : dpkg –install webmin_1.831_all.deb The install will be done automatically to /usr/share/webmin, the administration username is set to root and the password to your current root password. You should now be able to login to Webmin at the URL http://localhost:10000/ or if accessing it remotely, replace (localhost with your system’s IP address). If Debian complains about missing dependencies, you can install them with the command : apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python If […]

Read more

How To Install mod_geoip For Apache2 On CentOS 6

How To Install mod_geoip For Apache2 On CentOS 6

This guide explains how to set up mod_geoip with Apache2 on a CentOS 6 system. mod_geoip looks up the IP address of the client end user. This allows you to redirect or block users based on their country. You can also use this technology for your OpenX (formerly known as OpenAds or phpAdsNew) ad server to allow geo targeting. 2 Installing mod_geoip Because mod_geoip is not available from the official CentOS repositories, we need to enable the EPEL repository: rpm –import https://fedoraproject.org/static/0608B895.txt wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm rpm -ivh epel-release-6-7.noarch.rpm yum install yum-priorities Edit /etc/yum.repos.d/epel.repo… vi /etc/yum.repos.d/epel.repo … and add the line priority=10 to the [epel] section: [epel] name=Extra Packages for Enterprise Linux […]

Read more

How To Add Extra Repositories On Ubuntu 16.04 LTS

How To Add Extra Repositories On Ubuntu 16.04 LTS

Repositories on Ubuntu are the locations that you can download software from. As a general rule, the default repositories don’t contain the right locations for most software packages that you’ll want to install. You will want to open up the /etc/apt/sources.list file, find and delete the comments from the following lines: deb http://us.archive.ubuntu.com/ubuntu xenial universe main restricted universe deb http://security.ubuntu.com/ubuntu xenial-security universe Note that if you are using a different version than Ubuntu 16.04, you will probably see a different name there, something like breezy or edgy. Once you are done adding the repositories, you’ll need to run this command: sudo […]

Read more

How To Install Apache Tomcat 8.0.8 Server On CentOS & RHEL 6 VPS

How To Install Apache Tomcat 8.0.8 Server On CentOS & RHEL 6 VPS

Apache Tomcat (or simply Tomcat, formerly also Jakarta Tomcat) is an open source web server and servlet container developed by the Apache Software Foundation (ASF). Tomcat implements the Java Servlet and the JavaServer Pages (JSP) specifications from Sun Microsystems, and provides a “pure Java” HTTP web server environment for Java code to run in. In the simplest config Tomcat runs in a single operating system process. The process runs a Java virtual machine (JVM). Every single HTTP request from a browser to Tomcat is processed in the Tomcat process in a separate thread. In this tutorial we will show you […]

Read more