You are here

article

Install BIND 10 on Fedora

Install BIND 10 on Fedora 19.

Follow the instructions at http://bind10.isc.org/wiki/SystemNotesFedora18 and the examples below.

Undefined macro AC_PROG_LIBTOOL. Install package libtool.

Tags: 

Install GitLab (GitLabHQ) on RHEL and CentOS

gitlab-installer
Installer for GitLab/GitLabHQ on RHEL 5 and 6 (Red Hat Enterprise Linux and CentOS)

- Fully unattended
- MySQL or SQLite database (defaulting to MySQL)
- Localhost mail relay

Follow the instructions on this page:
https://github.com/mattias-ohlsson/gitlab-installer

Flattr my profile to support this!

Tags: 

How to get a DNS TXT record in Java

This guide applies to:
Java

Use this function to get the first txt record from DNS.

Example: String myTxtRecord = getTxtRecord("inprose.com");

public static String getTxtRecord(String hostName) {

    // Get the first TXT record

    java.util.Hashtable<String, String> env = new java.util.Hashtable<String, String>();
    env.put("java.naming.factory.initial", "com.sun.jndi.dns.DnsContextFactory");

How to ping a host in Java

This guide applies to:
Java
Windows
Linux
Mac OS X

The Java function isReachable() will use ICMP ECHO requests if the privilege can be obtained, otherwise it will try to make a TCP connection on port 7 (echo protocol rfc862) of the destination host. In most situations, it will fall back to the echo service method.

This function make a real ICMP ECHO ping.

Tags: 

Create your own blockquote in Joomla

This guide applies to:
Joomla 1.5
Joomla 1.5.3

How to create a nice blockquote with Cascading Style Sheets (CSS)

Edit the template css file
Navigate to 'Extensions > Template Manager' and click on your default template name. In the 'Template: [ Edit ]' view, click on the 'Edit CSS' button. Now you see a list of CSS files. Select template.css with the radio button and click on 'Edit'.

Insert this CSS code in an empty line.

blockquote {padding: 8px; border: 1px #DDD dashed }

Save the changes.

How to Enable mod_rewrite in Apache on Fedora

This guide applies to:
Fedora 8
Fedora 9

This page contains information about how to enable mod_rewrite in Apache Server on Fedora Linux.

Edit the configuration file
In httpd.conf (/etc/httpd/conf/httpd.conf), change 'AllowOverride None' to 'AllowOverride All'

Tags: 

Enable ASP.NET support in Fedora Linux

This guide applies to:
Fedora 9

How to enable ASP.NET support in Fedora

Install packages

Use yum to install Apache, mod_mono and the dependencies to xsp.
yum install httpd mod_mono mono-web

Install xsp from rawhide

If you install xsp from the standard Fedora repository, you get this error in httpd error_log.

Tags: 

Custom Joomla module for Google Analytics

This guide applies to:
Joomla 1.5.X

How to Create a custom module for Google Analytics in Joomla 1.5

Define the new module position

Open your template XML configuration file (/templates/<templatename>/templateDetails.xml). Locate the <positions> tag in your XML file. It looks something like this:

Tags: 

Install OpenNMS on RHEL and CentOS

How to install OpenNMS on RHEL and CentOS.

This guide applies to:
Red Hat Enterprise Linux 5 (RHEL5)
Red Hat Enterprise Linux 6 (RHEL6)
CentOS 5
CentOS 6
OpenNMS 1.8
OpenNMS 1.9

- Install PostgreSQL

Install portgresql-server

yum install postgresql-server -y

Initiate the database

Tags: 

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer