Bài đăng

Đang hiển thị bài đăng từ Tháng 4, 2015

How to install activiti with mysql

Introduction In this tutorial we are going to explain how to install activiti, activiti-explorer and activiti-rest applications to your server connect activiti to your mysql database server skip creation of demo data Download and install  Download Activiti here  :). Installing Tomcat Windows: download tomcat from  here Linux: type this command or download apache-tomcat package: sudo apt-get install tomcat7 In the downloaded zip you can find activiti-rest.war and activiti-explorer.war files, copy them into tomcat/webapps Start the Tomcat Find activiti on next addresses: http://yanado.com:8080/activiti-explorer Activiti REST can be found here http://yanado.com:8080/activiti-rest/services Login using username and password kermit/kermit MySQL Server Activiti by default uses in memory database H2 ,that menas that each time you restart your tomcat server you are going to lose all of your tasks,  users and so on. In case you do not have MySQL server installe

FreeRadius 3.0.x Installation and configuration with Mysql

This document describes how to setup a FreeRADIUS server. A MySQL server is used as backend and for the user accounting. RADIUS is an industry-standard protocol for providing authentication, authorization, and accounting services. Authentication is the process of verifying a user’s identity and associating additional information (attributes) to the user’s login session. Authorization is the process of determining whether the user is allowed on the network and controlling network access values based on a defined security policy. Accounting is the process of generating log files that record session statistics used for billing, system diagnosis, and usage planning. Installation: Download freeradius source from http://freeradius.org/ tar -xzvf freeradius-server-3.0.3. tar.gz cd freeradius mkdir -p /opt/freeradius ./configure --with-mysql-lib-dir=/usr/lib64/mysql --prefix=/opt/freeradius make sudo make install sudo ldconfig Configuration: 1.Create softlink

How to authenticate FreeRadius with OpneLdap

System Information: IP Address of FreeRadius Server: 192.168.2.200 IP Address of FreeRAdius Client Server: 192.168.2.100 Install FreeRadius on Server: yum install freeradius2 freeradius2-utils freeradius2-ldap Download radius ldap schema file and copy to ldap schema directory # wget http://open.rhx.it/phamm/schema/radius.schema # cp radius.schema /etc/openldap/schema/ Include file in ldap configuration file /etc/openldap/ slapd.conf include /etc/openldap/schema/radius.schema Edit /etc/raddb/modules/ldap and add below entry   vi /etc/raddb/modules/ldap ldap { server = "ldap01. example.com " #identity = "cn=Manager,dc=example,dc=com" #password = password basedn = "dc=example,dc=com" filter = "(uid=%{%{Stripped-User-Name}:-%{User-Name}})" base_filter = "(objectclass=posixAccount)" start_tls = no dictionary_mapping = ${raddbdir}/ldap.attrmap ldap

Install and configure rsyslog Centralized logging server in CentOS 6.5

Hình ảnh
In this tutorial we will learn, how to install and configure rsyslog 7.6 version on RHEL 6.5/CentOS 6.5 .The scenario is,install and setup rsyslog Centralized Logging Server in RHEL/CentOS 6.5. All the logs from client servers will be sent to Centralized logging server i.e rsyslog server. Check Pre-installed rsyslog package Step 1: First of all check the rsyslog package is installed in your system.Generally by-default we get rsyslog version 5.x , after minimal installation of CentOS 6.x / RHEL 6.x We will install the latest rsyslog package. At the time of writing this post, rsyslog stable version 7.6 was available . You can find the latest package information from rsyslog official website Note: By default, RHEL 6.x and CentOS 6.x has rsyslog version 5.x. So here we will update the rsyslog with new version. You can get the rsyslog version information,by using below given two commands rpm -qa|grep rsyslog And rsyslogd -v See the below given screenshot Instal

Torrent Guide – Install Transmission Client to RHEL / CentOS 6

Hình ảnh
Transmission Bittorrent Client Transmission is an open source and extremely lightweight Bittorrent client. It is available for any OS and comes with it’s own GUI interface. Although Transmission is not as popular as rTorrent/ruTorrent for seedboxes, it is still a strong solid choice as it does not require a web server to be deployed on the OS and has a light memory footprint allowing for it to run in very-low ram VPS environments. Installing Transmission-BT to CentOS 6 For this guide I will be using CentOS 6, but any RHEL distro should work with similar commands. Transmission can be installed quite easily through the repositories, however it is not part of the default Red Hat repositories. First we will need to install the EPEL repository to our server: You can find the lastest EPEL repositories here: https://fedoraproject.org/wiki/EPEL For simplicity sake you can always just following my guide with version as of time of this writing, as it will be updated when

Install svn server on centos 6

SVN – Apache subversion SVN – Subversion is a versioning and revision control system used by developers to track and keep up earlier versions of their source codes. In this article we can see how to setup svn server on centos 6. Lets start , Install svn server on centos 6 Update yum repositories and packages by typing the below command [root@krizna ~]# yum update Before installing SVN packages, you must install and configure apache ( Webserver ) . Install and configure apache Step 1 » Type the below command to install apache along with dependencies. [root@krizna ~]# yum install httpd Step 2 » Open the file /etc/httpd/conf/httpd.conf . Find "#ServerName www.example.com:80" (line no : 276 ) . # #ServerName www.example.com:80 and add this line below . “ServerName youripaddress:80″ # #ServerName www.example.com:80 ServerName 192.168.1.2:80 Step 3 » Issue the below command to start apache service . [root@krizna ~]# service httpd start an