Techminded

Install Samba PDC + LDAP on Debian Squeeze

1. Prepare the system

Lets assume that domain will be called - ldap, server name - openldap.ldap and samba domain will be LDAP. This settings will be automatically taken while install procces, but we should set host parameters before. In file /etc/hostname as follows:

openldap

and in file /etc/hosts:

10.0.0.42 openldap.ldap

Read More »

LDAP & Samba management with LAM on Debian Squeeze

1. Console Tools

There are a number of console tools for LDAP and Samba control:

  • smbldap-groupadd
  • smbldap-groupmod
  • smbldap-passwd
  • smbldap-useradd
  • smbldap-userinfo
  • smbldap-usermod
  • smbldap-groupdel
  • smbldap-groupshow
  • smbldap-populate
  • smbldap-userdel
  • smbldap-userlist
  • smbldap-usershow

Your are free to use them in interactive way or write some scripts. Some operations e.g. import of users can be done much more faster with their help than in any GUI tool. Names tell enough about their functioinality.

2. Ldap-account-manager

This tool is quite good for LDAP+Samba combination

Read More »

Apacheless web-server on Debian Squeeze with nginx and php-fpm

Threre are tons of information on now to setup "parts" that making fully functional web server plaftorm, but usually without giving summary view. We're going to explain all steps on you how to get your LAMP web server up. Things you should have:

  1. Virtual or real personal (dedicated) server hosting. You'd better have 5Gb of disk space and 256 RAM. Not

Read More »

Build kernel from 3rd-party sources on Debian 5

There are several way to build your kernel on Debian Linux and building it from kernel-sources is most recomended way, but it's possible that you need to build it from original tarball or some non-offical patchset. This artical describes the way to do this without turning your system into Slackware.

Install necessary packages:

$sudo apt-get install debhelper mc kernel-package libncurses5-dev tar bzip2

Download

Read More »

Install Liferay 6 on Linux with external MySQL database

Introduction

Liferay is bundled with HSQL database included, but you can install with external database usage enabled. Assume you have installation of MySQL and your linux distribution is not very different from Ubuntu, CentOS or other widely used.

Database

First of all check your database server supports TCP connections in addition to default socket. You should have the following line uncommented in [mysqld]

Read More »

Tomcat6, Nginx and PHP in one Linux box

Tomcat

You should install tomcat either from packages

$sudo apt-get install tomcat6 tomcat6-admin

or from downloadable bundle and ensure it's running on port 8081 by finding in server configuration file (server.xml) lines similar to the following:

<Connector port="8081" protocol="HTTP/1.1" connectionTimeout="20000"

Read More »