Quantcast
Channel: Linux Archives | Unixmen
Viewing all 194 articles
Browse latest View live

10 Useful Utilities For Linux Users

$
0
0


Introduction

In this tutorial, I have collected 10 useful utility tools for Linux users which will include various network monitoring, system auditing or some another random commands which can help users to enhance their productivity. I hope you will enjoy them.

1. w

Display who is logged into the system and what process executed by them.

$w

Selection_023

for help

$w -h

for current user

$w <username>

Selection_024

2. nmon

Nmon or nigel’s monitor is a tool which displays performance information of the system.

$ sudo apt-get install nmon
$ nmon

Selection_001

nmon can dump information related to netwrok, cpu, memory or disk uses.

nmon cpu info (press c)

Selection_002

nmon network info (press n)

Selection_003

nman disk info (press d)

Selection_004

3. ncdu

A Command utility is a cursor based version of ‘du’,  this command is used to analyze disk space occupied by various directories.

$apt-get install ncdu
$ncdu /

Selection_006

Final output:

Selection_007

Press n to order by name or press s to order by file size(default).

4. slurm

A command line utility used for command based network interface bandwidth monitoring, it will display ascii based graphic.

$ apt-get install slurm

Examples:

$ slurm -i <interface>
$ slurm -i eth1

Selection_009

options

Press l to display lx/tx led.

press c to switch to classic mode.

press r to refresh screen.

press q to quit.

5.findmnt

Findmnt command is used to find mount file systems. It is used to list mount devices and can alos mount or unmount devices as and when required, it comes as a part of util-linux.

Examples:

$findmnt

Selection_010

To get output in list format.

$ findmnt -l

Selection_011

List file systems mounted in fstab.

$ findmnt -s

Selection_012

List mounted  files systems by file type

$ findmnt -t ext4

Selection_013

 6. dstat

A combined and flexible tool  which can be used to monitor memory, process, network or disk space performance, it is a good replacement of ifstat, iostat, dmstat etc.

$apt-get install dstat

Examples:

A detailed info about cpu, hard disk and network.

$ dstat

Selection_014

-c cpu

$ dstat -c

Selection_015

Some more detailed information about cpu

$ dstat -cdl -D sda1

Selection_017

-d disk

$ dstat -d

Selection_016

7. saidar

Another  cli based system statistics monitoring tool, provide information about disk uses, network, memory, swap etc.

$ sudo apt-get install saidar

Examples:

$ saidar

Selection_018

Enable colored output

$ saider -c

Selection_019

8. ss

ss or socket statistics is a good alternative to netstat it directory gather information from kernel space nad play fast in comparision to the netstat utility.

Examples:

List all connections

$ ss |less

Selection_020

Greb only tcp traffic

 $ ss -A tcp

Selection_021

Grab process name and pid

$ ss -ltp

Selection_022

9. ccze

A tool that decorate your logs :).

$ apt-get install ccze

Examples:

$ tailf /var/log/syslog | ccze

Selection_023

List ccze modules:

$ ccze -l

Selection_024

Save log as html.

tailf /var/log/syslog | ccze -h > /home/tux/Desktop/rajneesh.html

Selection_025

10. ranwhen.py

A python based terminal utility that can be used to display system activities graphically. Details are presented in a very colorful histogram.

Install python:

$ sudo apt-add-repository ppa:fkrull/deadsnakes

Update system:

$ sudo apt-get update

Download python:

$ sudo apt-get install python3.2
$ unzip ranwhen-master.zip && cd ranwhen-master

Run the tool.

$ python3.2 ranwhen.py

Selection_026

Conclusion

These are the less popular, yet important Linux administration tools. They can help user in their day to day activities. In our upcoming articles, we will try to bring some more Admin/user tools.

Have fun!

The post 10 Useful Utilities For Linux Users appeared first on Unixmen.


Review of Fedora 23

$
0
0


We have tested many versions of Fedora Linux. Yet they have always remained in desktop format. I have been involved with Fedora usage dating right back to the days of Fedora Core 5.

For the release of Fedora 23, we are taking a look at both the Desktop and Server versions. The latter of which admittedly, we will be giving more focus in this Review.

Cockpit

The Fedora 23 package comes with the state-of-the-art Cockpit. It is a web-based management console which is accessed through a web browser and aims to make the server status and monitoring tasks much simpler.

F23-s-1

Fedora Server aims to provide a solid, server focused operating system within the Fedora line-up and also competes with Ubuntu Server. Whilst the latter remains a console-based operating system, Fedora combined with Cockpit does feel like it has filled the void and taken it one step further by including a web-based server management tool by default.

Web server

Once Fedora 23 Server is installed, the Cockpit console can be accessed from a web browser. Once accessed, you can login to the server via the Regular User (with or without administrative privileges) or the Server Administrator account. This will really depend how it has been configured upon installation.

F23-s-2

F23-s-3

Once you log in to Cockpit, you will be presented with the following interface. This presents a Summary of the system specifications and the Fedora software system details.

F23-s-4

You can click on Services to view all running System Services and also change using the displayed buttons, which can modify which Services you see displayed.

F23-s-5

The Storage component of Cockpit can be very useful. We only have a simple setup running and configured inside Oracle VM VirtualBox. But when running in full server mode with multiple or many drives operational, the Storage component and management tool is critical.

F23-s-6

The Networking component is pretty self explanatory. It’s your usual network monitoring tool which displays relevant networking details.

Again, we are running a very simple setup, so our own example details are bare at best. But it’s enough to display Sending/Receive packet data, list the network device and any relevant Logs.

F23-s-7

The Administrator Accounts component simply lists the users who are registered to login to the server. On our server, we have an account for myself and the Root account. My personal account is set for limited role, therefore any proper administrative tasks must be carried out by the Root account to allow for full system access. As we stated earlier in the Review, this will depend on how the server is configured in the early stage of Anaconda.

F23-s-8

F23-s-9

The Terminal component is probably going to be a place of comfort for seasoned Administrators who like to have absolute access to the very core of their system. Usually, this means by having access to a Terminal shell. Cockpit has this covered of course, all accessible from within the Cockpit console and through the web browser interface.

But note, what actions you perform from the Terminal essentially depends on what access the account has that you have logged into Cockpit with. Unless you gain root privileges, of course. We really shouldn’t have to delve into this in great detail, as its behavior is exactly the same as what it is running directly on desktop Linux, only this time its running within the web browser interface of the Cockpit console.

F23-s-10

For system monitoring information and data, you can simply enter the Dashboard tab.

F23-s-4c

Here you will find a set of system monitoring tabs – CPU, Memory (RAM), Network and Disk I/O. This can be useful to have them all in separate tabs, away from the distractions of all the other Cockpit components if you want to specifically focus your monitoring task on one specific area.

CPU monitor:

F23-s-11

Memory (RAM) monitor:

F23-s-12

Network monitor:

F23-s-13

Disk I/O monitor:

F23-s-14

For simple server testing, we attempted to install Apache and did experience some trouble with getting the service to start properly. After several failed attempts, we did decide to drop Apache and give Lighttpd a shot. It worked on first attempt and we were able to get the server directly delivering web files in just minutes.

When you have finished your tasks within Cockpit, the user can easily log out of the interface much like the Desktop version, by using the Username options in the top-right corner.

F23-s-4d

Anaconda – Graphical installer for Server

F23_1-ds

The installer uses the same Anaconda package as the Desktop version of Fedora. This is excellent. Despite our initial gripes we’ve raised in the past about the new Anaconda package, we reckon it has matured very much and is ready to redeem itself as one of the best Linux installers available.

It is interesting tho note that Fedora has chosen to build the Server installation around the Anaconda package and use a graphical installer for a server-based Linux operating system. But like we pointed out earlier, it’s as though the Fedora Developers have looked at Ubuntu Server and taken a more user-friendly approach and direction for a server-based operating system. This is a good thing and the extra attention given, does show.

Desktop

To complement this Review, we decided to additionally run the Desktop version of Fedora 23. This was also installed inside Oracle VM VirtualBox.

F23_2-ds

Fedora 22 was an excellent release. We were so impressed we would declare it our favorite release of Linux to date. Although we missed out on the deadline to publish a review of Fedora 22, we have loved every minute of it and it’s an awesome display of modern Linux, running the very best of everything. It was also one of the first Linux distributions to come through our Labs running the Linux 4.x kernel branch.

It’s a big claim, yes, we know. What does that mean for our thoughts on Fedora 23? Well it’s safe to say that not much has changed. This is nothing bad though as that’s just how good we believe Fedora 22 was. Fedora 23 has built upon that strength and robust reliability and delivered a new release which continues the trend of its predecessor.

Fedora 23 runs excellent. Our Desktop version was installed running a slightly older version of the Linux kernel than what we have installed on the Server version. But this is easily fixed by running a system-wide update using DNF. This will install the latest available kernel for Fedora 23, in addition to all other software packages on the system.

Our Desktop version contained the XFCE desktop-environment, which is nice to see has been updated to the latest package – 4.12.

There’s not much else different other than the usual available packages shipped with Fedora and XFCE, albeit updated versions.

F23_3-ds

Conclusion

Fedora 23 Server can be whatever you want it to be. We put it to work as a simple web server. You can really go full steam ahead and install an entire LAMP stack, but we opted for a limited Lighttpd configuration instead. You could simply leave it on your network as a file server with out-of-the-box SSH access configured. Or you could get more tricky and put it into a full server role which would require a lot more in-depth configuration and detail than what we can cover in this Review. That’s before we have even brushed on its potential for Cloud options. It’s worth noting that this is all deployed and supported completely free of any contract fees associated with Fedora, unlike its big commercial partner, Red Hat.

Fedora 23 is great for small business who are looking at options for cutting down on IT costs related to software. If Fedora doesn’t suit the task at hand, we remind our readers not to forget about CentOS 7.0. Sure, Ubuntu is also an equal potential option with solid and reliable performance. But it’s difficult to look past Fedora’s fine polish and overall friendly take on a server operating system. Additionally, the simple fact that Cockpit is so well equipped and installed by default with the core system, makes Fedora 23 that little bit more tempting.

The post Review of Fedora 23 appeared first on Unixmen.

Install Kloxo-MR Control Panel In CentOS

$
0
0


Introduction

Kloxo-MR is an open source web based control panel hosting and useful for those who do not wants to install LAMP stalk manually. As per my knowledge till date this control panel is availabe only fro RedHat Family (CentOS 5.x, CentOS 6.x).

Features

It comes with with lots of Server/web applications.

  • MAIL SERVER: Qmail toaster.
  • Database: Mysql, MariaDB.
  • Database Manager:  PHPMYAdmin, Adminer, Mywebsql.
  • DNS: BIND, djbdns.
  • FTP: Pure-ftpd.
  • ADDON: Clamav, Spamassassin,RKhunter.
  • WEBMAIL:  Squirrelmail, Roundcube, horald.
  • BILLING: Host Bill, the hosting bill, Blesta, AccountLAB Plus.

Installation

We will use CentOS 6.3 VPS for demo installation purpose.

Update system:

# yum update -y

Install required packages:

# yum install yum-utils yum-priorities vim-minimal subversion curl zip unzip yum install yum-utils yum-priorities vim-minimal subversion curl zip unzip

Install Kloxo-MR:

# cd /tmp

Download required .rpm package:

# wget https://github.com/mustafaramadhan/kloxo/raw/rpms/release/neutral/noarch/mratwork-release-0.0.1-1.noarch.rpm --no-check-certificate

Install .rpm package:

# yum install mratwork-release-0.0.1-1.noarch.rpm -y

Change directory:

# cd /
# yum update mratwork-* && yum install kloxomr7 -y

Image 3

Run  following script after above step get complete

# sh /script/upcp

Open your browser and type

https://<IP_ADDRESS>:7777

Default username : admin

Default password : admin

Image 6

After Login default panel will appear.

Image 7

At this step you Installation process is complete.

Examples

Add a domain name

Click to admin->Select Domain Tab->Add a domain, in our scenario it will be “unixmen.lan”, Provide document root directory.

Image 8

Click Add and and this step must be complete successfully, now scroll down on the same screen, your newly created domain will be listed.Click on your listed domain (in our case unixmen.lan)

Image 9

Now you can manage this domain

image10

You can manage domain, features, PTR Record etc. Let us  click Manage domain icon and have a look.

Image 11

You can Manage all of your MX records, CNAME, or even can add sub domains.

Configure FTP Services

Click on ftp users, create a ftp user account, leave virtual directory as empty and define quota for this newly created ftp user, click add.

Image 12Similarly manage another services.

Conclusion

Kloxo MR is not so popular yet (as per my knowledge) but still could be useful for SMB environment. You can start or stop services as and when required,  you can mange ssh port, can handle log files, SSL certificates etc. One more important feature possessed by this tool is “Advanced” tab which has lost’s of security featured which you can manage by your own.

Image 13

You can upload your own logo, you can block some specific ip address, or can delete some server.

That’s all for now have fun!!

The post Install Kloxo-MR Control Panel In CentOS appeared first on Unixmen.

How To Install Odoo In CentOS 7

$
0
0


Introduction

Odoo is an free open source ERP which comes with enterprise class features. It is an web based fully featured application, and comes with Open Source CRM, Point of Sales, Human Resource Management, Point of Sales, Billing and Accounting, Event Management, Email Marketing, Order Tracking etc. This application is helpful to maintain the ERP in any business.

Installation

We will be using Centos 7 OS for demo setup.

Update System

# yum update -y

Install Postgresql:

# yum install  postgresql-server -y

Enable and  start  postgresql service:

# postgresql-setup initdb
# systemctl enable postgresql &&  systemctl start postgresql

A user  ‘postgres’ is created by default with postgresql by default, this user is created with black password and can not login su except from root. We have to change password first

su - postgres
$ psql
# \password postgres
Enter new password:
Enter it again:
# \q
$ exit
logout

Add Odoo Repo

After successful configuration of Database, we require to install EPEL (Extra Package for Enterprise Linux) first.

# yum install epel-release
# yum install yum-utils

Install Odoo yum Repo:

# yum-config-manager --add-epo=https://nightly.odoo.com/8.0/nightly/rpm/odoo.repo

Update repositories list:

# yum update

Install Odoo:

# yum install -y odoo

Start and enable odoo services:

# systemctl enable odoo
# systemctl start  odoo

Configure firewall settings to enable  ports used by odoo service

# firewall-cmd --zone=public --add-port=8069/tcp --permanent

# firewall-cmd --reload

By default Odoo allow connections only from localhost, if you wants to access the service across the network then put following entry in last line of file  “/var/lib/pgsql/data/pg_hba.conf”

# nano /var/lib/pgsql/data/pg_hba.conf

Image 1

At this stage your installation is over, open any browser and type <ip_address>:8069. By default master password is ‘admin’, create a database and provide password for that newly created password.

Image 3

After completion of above step a list of available modules will appear, let us install some of them.

Image 5

Let us install CRM and Account package.

Image 6

Edit  setting as per need.Image 7

Create Invoice:

Go the Website icon on the upper left corner -> click invoicing

Image 11

Now in “Invoicing” Module you can create, customers, can edit Products.

Image 8

Create a Invoice which  can be print, or send via email.

Image 10

Similarly create a shop cart.

Image 12

Try some another modules by your own.

Conclusion

Open ERP (Odoo) is a very flexible and user friendly ERP package, after installation no technical expertise are required, you can add, remove or manage various modules with a single click. You can create a shop cart for endless products, can customize your showcase, easy Human resource and customers handling, this is one of the finest ERP available in open source.

Have fun!!

The post How To Install Odoo In CentOS 7 appeared first on Unixmen.

Install Apache OpenMeetings On CentOS 6.5

$
0
0


Introduction

Apache OpenMeetings is an open source software used for online training, web conferencing, collaborative white board drawing and documents editing.This software is based on a number of open source tools like OpenLaszlo RIA framework and Red5 Media Server. The communication takes place in a virtual meeting room.It is availabe in 30 + languages and got downloaded more then 25,00000 times. It comes with lots of features.

Features

  • Audio Communication
  • Video Conferencing
  • Meeting recording
  • Screen Sharing
  • Collaborative Document editing
  • Chat and White boarding
  • User and  room management

Source: Wikipedia

Installation

We;ll be using Centos 6.5 to setup OpenMeetings.

Update system:

# yum update

First of all modify Selinux Security level to permissive mode.

Image 13

Start Installing required packages:

# yum install wget gcc-c++ unzip zlib-devel libjpeg-devel freetype-devel giflib-devel ghostscript ImageMagick sox gedit wget

Make sure that LibreOffice is installed.

Configure MySQL Database for OpenMeetings

Create database password for root user:

# yum install mysql-server mysql
# service mysqld  start

Create MySQL password for root:

# mysqladmin -u root password "password"

Create database database named ‘openmeetings’ and a database user ‘openmeetings’, assign password to that user.

# mysql -u root -p 
mysql> CREATE DATABASE openmeetings DEFAULT CHARACTER SET 'utf8';
Query OK, 1 row affected (0.00 sec)
mysql> CREATE USER 'openmeetings'@'localhost' IDENTIFIED BY 'openmeetings';
Query OK, 0 rows affected (0.00 sec)
mysql> GRANT ALL PRIVILEGES ON openmeetings.* TO 'openmeetings'@'localhost';
Query OK, 0 rows affected (0.00 sec)
mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)
mysql> exit
Bye

Verify Java version installed:

# java -version

Image 1

Now we need to install various add on  tools required to configure openmeetings.

Install LAME

It is an open source tool used to compress audio to mp3 format.

# curl -L -O http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz
# tar -xvf lame-3.99.5.tar.gz
# cd lame-3.99.5
# ./configure --libdir=/usr/lib --bindir=/usr/bin  
# make 
# make install

Install swftools

Tool is required to support .swf file formats.

cd /opt

# wget http://www.swftools.org/swftools-2013-04-09-1007.tar.gz

# tar -xvf swftools-2013-04-09-1007.tar.gz

# cd swftools-2013-04-09-1007

# ./configure --libdir=/usr/lib --bindir=/usr/bin

# make

# make install

Install Jodconverter

A document converter which converts various office formats.

# /opt

# wget http://jodconverter.googlecode.com/files/jodconverter-core-3.0-beta-4-dist.zip

# unzip jodconverter-core-3.0-beta-4-dist.zip

Install ffmpeg

A tool used to convert and stream audio, videos.

# wget http://ffmpeg.org/releases/ffmpeg-1.1.1.tar.gz

# tar -xvf ffmpeg-1.1.1.tar.gz

# cd ffmpeg-1.1.1

# ./configure --libdir=/usr/lib --bindir=/usr/bin --enable-libmp3lame --disable-yasm

# make

# make install

Download and configure JAVA MySQL Connector

A tool used to connect OpenMeetings with mysql.

# wget http://dev.mysql.com/get/Downloads/Connector-J/mysql-connector-java-5.0.8.tar.gz
#tar -xvf mysql-connector-java-5.0.8.tar.gz

Finally install openmeetings:

# mkdir /openmeetings && cd /openmeetings 
# wget http://ftp.cixug.es/apache/openmeetings/3.0.7/bin/apache-openmeetings-3.0.7.zip

Unzip package:

# unzip apache-openmeetings-3.0.7.zip

Now copy .jar file from Mysql-connector folder to /openmeetings/webapps/openmeetings/WEB-INF/lib.

# cd ~/mysql-connector-java-5.0.8
# cp mysql-connector-java-5.0.8-bin.jar  /openmeetings/webapps/openmeetings/WEB-INF/lib

Go to /openmeetings/webapps/openmeetings/WEB-INF/classes/META-INF/ and get backup of persistence.xml.

# cd /openmeetings/webapps/openmeetings/WEB-INF/classes/META-INF/
# cp persistence.xml persistence.xml.backup_rku

Rename mysql_persistence.xml to persistence.xml:

# cp mysql_persistence.xml persistence.xml

Edit persistence.xml and provide username and password details

#nano persistence.xml

Sample Output:

 
<property name="openjpa.ConnectionDriverName" value="org.apache.commons.dbcp2.BasicDataSource" />
<property name="openjpa.ConnectionProperties"
value="DriverClassName=com.mysql.jdbc.Driver
, Url=jdbc:mysql://localhost:3306/openmeetings?autoReconnect=true&amp;useUnicode=true&amp;createDatabaseIfNotExist=true&amp;cha$
, MaxActive=100
, MaxWait=10000
, TestOnBorrow=true
, poolPreparedStatements=true
, Username=openmeetings
, Password=openmeetigns" />
<property name="openjpa.jdbc.SynchronizeMappings" value="buildSchema" />
<property name="openjpa.Log" value="DefaultLevel=WARN, Runtime=INFO" />

Ok, now you are very close to finalize Apache Openmeetings server configuration.

Navigate to /openmeetings folder and run red5.sh script:

# cd /openmeetings
# ./red5.sh

After script run is over do not close terminal and run apache service through new terminal.

# service httpd start

Open Browser and type <ip_addr>:5080,  a welcome window will appear, proceed to next screen.

Image 2

Specify username of database (‘openmeetings’ in our example scenario) and click next.

Image 3

Provide username, password which were defined in persistence.xml file, click next.

Image 4

Leave this step as default and click next.

Image 5

Leave default and click next.

Image 6

Image 7

Now Openmeetings installation will start automatically. after this step is over click next.

Image 8

Click on enter the application link and proceed.

Image 9

Provide username and password and login to Apache OpenMeetings.

Image 10

Now you are ready to run this wonderful application.

Image 11

Note: One important thing to note is that I got error while running red5.sh script with updated Java version, but when I tried to configure this application with older version i.e. 1.7, it worked successfully.

Have Fun!

The post Install Apache OpenMeetings On CentOS 6.5 appeared first on Unixmen.

Install OrangeHRM On Linux Mint 17

$
0
0


Introduction

OrangeHRM is a free open source HR management system, it provides all essentials modules required for HR management. It is very popular tool which comes with very rich features.

Features

Modules which are provided with Open Source version are as follows:

Dash Board and Administration

Dash board provides integrated and collective information from all of the modules in the form of real time trend graphs, it provides updated information regarding any pending task. Administration part provided a secure management system with the help of which admin user can manage employee information, organization information, organization’s property management etc.

Personal Information Management

Provides a centralized employee database, provide pay grades, salary and another information. Keep employee contact and travelling information updated,  you can search information of any particular employee as and when required.

Time off, Attendance  and Leave management

This module allow employee to apply for  a leave, admin can handle leave requests, define type of leaves, can send automatic email notifications.You can create time sheets to monitor employee information.

Recruitment and performance management

With the help of recruitment modules HR can streamline complete recruitment process.With the help of performance management module employee is enables for self assessment, he can understand management exceptions in terms of performance.

For more details: http://www.orangehrm.com/OpenSource#myModal_1

Install OrangeHRM On Linux

We will be using Linux Mint 17 for demonstration purpose but is can be installed easily to CentOS 7, or latest Ubuntu versions. Minimum 2 GB RAM, Dual Core Processor and Minimum  4 GB space will be sufficient.

Update system:

sudo su
# apt-get update

Install mysql-server, assign password during installation:

# apt-get install mysql-server

Install apache2:

# apt-get install apache2

Install php:

# apt-get install php5 php5-mysql

Download OrangeHRM package from this link

# cd /tmp && wget http://nchc.dl.sourceforge.net/project/orangehrm/stable/3.3.2/orangehrm-3.3.2.zip

Extract that package to web root directory:

# unzip orangehrm-3.3.2.zip /var/www/html

Rename orangehrm-3.3.2.zip to orangehrm:

# cd /var/www/html/
# mv orangehrm-3.3.2 orangehrm

Change permissions for that directory:

# chown -R www-data:www:data /var/www/html/orangehrm
# chmod -R 755 /var/www/html/orangehrm

Restart apach2 service:

# apt-get restart  apache2

Open a browser and type:

<ipaddress>/orangehrm

A welcome screen will appear click next:

Selection_001Accept license agreement and click next:

Selection_002

Provide database credentials and click next:

Selection_003 System will check all parameters, click next or make changes if required:

Selection_004 Provide Administrator password which will be used for web log in:

Selection_005

Verify confirmation step and click  install:

Selection_006

When installation is complete proceed to next:

Selection_007

Provide company name and proceed to finish:

Selection_008

Login with admin user and password:

Selection_009

A dash board will appear after logging in:

Selection_010

Installation process is over  at that step, let us explore some of the features.

Add employee details:

Open PIM tab -> Click Employee List -> Click Add.

Selection_011

Provide details of Employee:

Selection_012

Will look something like this:

Selection_013

Similarly explore Admin Panel in which you can edit Departments, designations, pay scale or other details:

Selection_014

Try rest of the modules by yourself.

Conclusion

OrangeHRM is a very simple and easy to use application, no technical expertises are required. It could be very helpful to manage HR resources in any SOHO or SMB level organisation.

Have fun!!

The post Install OrangeHRM On Linux Mint 17 appeared first on Unixmen.

Install Tiki CMS Groupware On Ubuntu 15.10

$
0
0


Introduction

Tiki is a free open source and we based CMS, it is an international project supported in many languages, it is developed in php and some in Java script. Tiki includes all of the basic features common in CMSs such as ability to maintain individual user accounts with flexible permissions, creating and management of menu etc.

Features

Tiki comes with all-in-one model that incorporate every feature in one code, main highlight of Tiki wiki CMS project as as follows:

Wikis

A simple web-page that anyone can edit without any knowledge of html. User can put comments or can attach graphics.Hundred of extensions are available for editor to use.

Blogs

With tiki you can have mutliple blogs for your websites.

Forums

A forum is a collection of topics related to some particular subject. Forums are enables with tiki.

RSS Syndication

RSS is a web feed format used to publish updated works frequently. Tiki allow users to create RSS feeds for every tiki feature.

Calendars and Events

Calender in integrated with tiki, you can track all of the events, users can have their individual calendars.

User and group management

By placing website users to some specific group. With more then 200 feature specific permissions admin can define what user can access and what can not.

Survey and Quiz

You can construct simple polls for voting or interactive surveys with different response options. You can create a quiz even for some learning program.

Reference Link: Link1, Link2

Installation

We will use Ubuntu 15.10 with 1 GB RAM, minimum 5 GB disk space.

Update system

# apt-get update

Install php5, mysql-server and apache2

$ sudo apt-get install apache2 mysql-server php5 php5-mysql

Assign MySQL password during installation and create a new database user for tikiwiki and assign permissions of that database to a user.

Sample output:

user@user-VirtualBox:~$ sudo mysql -u root -p
Enter password:
mysql> create database tiki;
Query OK, 1 row affected (0.00 sec)
mysql> grant all privilages on tiki.* to 'unixmen'@'localhost' identified by 'password';
mysql> grant all privileges on tiki.* to 'unixmen'@'localhost' identified by 'password';
Query OK, 0 rows affected (0.00 sec)
mysql> flush privileges;
Query OK, 0 rows affected (0.00 sec)
mysql> quit;
Bye

Download tiki package and copy to your web directory

$ cd /tmp/ && wget http://nchc.dl.sourceforge.net/project/tikiwiki/Tiki_14.x_Peony/14.0/tiki-14.0.zip
$ sudo unzip tiki-14.0.zip -d /var/www/html/tiki/

Assign appropriate permissions and run following script

$ cd /var/www/html/tiki-14.0/ && sudo ./setup.sh

Simply press enter for some next steps:

Selection_016

Now open browser and type <ip_address>/your_web_directory/tiki-14.0

Installation process is really long, so will skip some of the easy steps in this tutorial:

Selection_017

Continue for installation:

Selection_018

Continue to proceed:

Selection_018

Simply Click next:

Selection_019

Provide data base user name, password and database name:

Selection_020

Click Install:

Selection_021

Click On continue:

Selection_022

Provide credentials and continue:

Selection_023

Click highlighted and continue:

Selection_024

Selection_025

Start configuration setup:

Selection_026

Next few steps are related to various wizards configuration simply click next:

Selection_027

Selection_028

Finally your setup wizard will be complete, click to finish:

Selection_033

Login with Admin user and password:

Selection_034

Finally installation part is finished at that stage,  let us have a look on administration part, You can edit your home page  appearance/content :

Selection_035

You can create a new wiki page:

Selection_036

A complete control panel is  available under settings section:

Selection_037

You can create Groups, user and can restrict their rights:

Selection_038

Explore rest of the part by your self.

Conclusion

Although a lots of CMS tools are available in Open source, but Tiki is All-in-One kind of group ware, you have wiki, blogging, forums, quiz in a single package. No HTML knowledge is required to administrate that tool. Go ahead and try it. You won’t be disappointed.

Have Fun!!

The post Install Tiki CMS Groupware On Ubuntu 15.10 appeared first on Unixmen.

Installing Jekyll on Ubuntu 15.10

$
0
0


Introduction

Jekyll is a site generator which is useful to generate static and simple website for personal, project or organizational purpose. It is like some file based CMS which works without any data base or complexity. It takes your text content and generate a complete and static website which is ready to be server by any web server like Apache, nginx or other.

Features

Simple

No more databases, comment moderation, or pesky updates to install—just your content.

Static

Markdown (or Textile), Liquid, HTML & CSS go in. Static sites come out ready for deployment.

Blog-aware

Permalinks, categories, pages, posts, and custom layouts are all first-class citizens here.

Reference Link: https://jekyllrb.com/

Installation

Jekyll installation is very easy and straight. It will  take only few minutes to install.

Requirement

Ubuntu 15.10 VPS with minimum 512 MB RAM, minimum 4 GB Storage.

Ruby, RubyGems, NodeJS, and Python 2.7 (minimum) is required as software.

Installation Steps

Update Ubuntu Server

# apt-get update

Install Ruby package

# apt-get install ruby-full

Install Jekyll package with gem

# gem install jekyll

Selection_001

Verify version of jekyll to ensure whether it is installed or not

# jekyll -v

Change to home directory

# cd /home

Create a new website

$ sudo jekyll new unixmen.lan

Selection_002

The above command will create a new web directory under /home

# cd /home/unixmen.lan &&  ls

Selection_003 Time to start jekyll application, replace below mentioned ip address with your ip.

# jekyll server --host 192.168.1.122 &

Selection_004

Now Open your browser and type

<ip_addr>:4000

Selection_005

Installation part is done! follow official documentation to learn  advanced : http://jekyllrb.com/docs/posts/

Conclusion

Have a look in  _config.yml file to define your base url. new blog posts will live under  _posts directory. No database is required to build static web pages.

The post Installing Jekyll on Ubuntu 15.10 appeared first on Unixmen.


Quick How To Install Linux-Dash with Linux

$
0
0


About Linux-Dash

Linux-Dash  is a Performance monitoring  dashboard written in PHP. Very lightweight web base application, and drop-in applets are provided, admin can have a look on Network performance, RAM status, Disk space available, Installed software information or currently running processes.

Installation and Prerequisites

A CentOS 7 and Ubuntu 15.10 machine, git, Apache web server, PHP package.

Let us install the package with  CentOS 7 first

update system
#yum update

Install Apache, php and git packages

#yum -y install httpd git php php-json  php-xml php-common

Start httpd service

# systemctl start httpd
# systemctl enable httpd

Change working directory to /var/www/html

# cd /var/www/html

Download linux-dash usiing git

# git clone https://github.com/afaqurk/linux-dash.git

Restart  apache service

# systemctl restart httpd

Open Browser and Type

<IP_address>/linux-dash

Install linux-dash with Ubuntu 15.10

Update system

# apt-get update

Install required packages

# apt-get install apache2 curl php5 php5-curl php5-json git

Change working directory to /var/www/html or your web directory

Download package

git clone https://github.com/afaqurk/linux-dash.git

Start apache service

# /etc/init.d/apache2 start

Open Browser and start linux-dash monitoring system

Selection_004

Network monitoring dashboard will look something like below

Selection_005

User accounts details

Selection_006 The basic info section is quite simple and helpful module of linux-dash application, cron jobs, cpu information and memory details are well displayed

Selection_007

That’s it!

Conclusion

Some times administrators do not have time to dig in detailed log files in such situation this monitoring utility can be useful, very lightweight and featured with very beautifully displayed statistics and graphs.

 

 

The post Quick How To Install Linux-Dash with Linux appeared first on Unixmen.

Penetration testing with Spiderfoot using Ubuntu 15.10

$
0
0


Introduction

Spiderfoot is a very unique application used as footprint tool. It is open source tool available for both Linux and Microsoft windows platform. A very quick to use tool written in python, simply give a domain name which you wants to scan and define which modules you will be using as active, it can be used to gather information of a target and a user can identify what information your organization is  freely accessible for outside attackers.It can be used either offensively to gather important informations of the target or defensively to test what your organization is providing freely to outside attackers.

FEATURES

1.fully open source and you can fork it on git.
2. based on java script and data can be export in csv form which can be utilized by using other tools.
3. a web based application which hardly require any dependencies.
4. based on pyhton and highly modular. whenever a module discover some data the data is transferred to all of other other modules which are interested in that piece of information.Modules included in spiderfoot are really a long list.
5. All of the collected data is stored in SQLite data base which make this unique piece of pen tester to run faster.
6. User can perform penetration testing for more then one targets simultaneously.

Installation

Prerequisites

Installation of Spiderfoot will take very fewer and uncomplicated steps.It require a Ubuntu 15.10 machine with minimum 2 GB RAM, 4 GB of free hard disk space and dual core process, it is recommended to have a good internet speed during penetration testing process. Apache2 server, git and python modules are required to be installed first.

Install required packages

$ sudo apt-get install git python-dev python-pip python-m2crypto python-netaddr python-pypdf python-stem python-lxml

Additionally you will require to install cherrypy and mako to install

$ sudo pip install cherrypy
$ sudo pip install mako

Download the package finally

$ sudo cd /tmp && wget http://downloads.sourceforge.net/project/spiderfoot/spiderfoot-2.6.1-src.tar.gz

Decompress the package

$ tar -xvfx spiderfoot-2.6.1-src.tar.gz

Go the the directory and run Spiderfoot

$ cd spiderfoot-2.6.1 
$ ./sf.py

Sample output

Starting web server at http://127.0.0.1:5001 ...


*************************************************************
Use SpiderFoot by starting your web browser of choice and
browse to http://127.0.0.1:5001
*************************************************************


[09/Dec/2015:21:43:13] ENGINE Listening for SIGHUP.
[09/Dec/2015:21:43:13] ENGINE Listening for SIGTERM.
[09/Dec/2015:21:43:13] ENGINE Listening for SIGUSR1.
[09/Dec/2015:21:43:13] ENGINE Bus STARTING
[09/Dec/2015:21:43:13] ENGINE Started monitor thread '_TimeoutMonitor'.
[09/Dec/2015:21:43:14] ENGINE Serving on http://127.0.0.1:5001
[09/Dec/2015:21:43:14] ENGINE Bus STARTED

Open browser and type 127.0.0.1:5001

Selection_008

Start scanning for certain  target

Start a new scan go to home page of sash board give any name to the operation and provide name of the website for which you wants to run this operation

Selection_009Select modules which  you want to be applied for that pen test

Selection_010

Let us begin the scan process by clicking on run scan, graph will look something like below at the beginning time of scan process

Selection_011

This is how the status bar  will  look like after few minutes

Selection_012

 

Graphs status will look something like below

Selection_013 Data can be exported for future use

Selection_014

 

By click on Browser you can have a look on data based on various types

Selection_015.csv format of data con be downloaded

Selection_016

Now click on any Browser link to have visuals and data elements

In discovery path mode data view will be something like

Selection_017

This is how the bubble view will look like

Selection_018 You can explore rest of the parts by yourself.

 

conclusion

A must have for users performing penetration settings, avoid to use directly on running or live web  services as this  application does not provided with user authentication but this features will be soon available in future. very easy to use, a running  scan can be delete, pause or resume at any time.

Have Fun!!

The post Penetration testing with Spiderfoot using Ubuntu 15.10 appeared first on Unixmen.

Install NetXMS with Ubuntu 15.10

$
0
0


NetXMS is an enterprise grade network management and performance monitoring system. It provides a detailed reports in the form of graphs, logs etc. It grab almost all of the required information which will be necessary for any kind of monitoring system like  mac or ip based information discovery, easy to handle event processing or web based or console based management, it is an Open Source tool available for Microsoft and Linux based operating systems.

Some of the highlighter features

General

  1. Data is collected either from SNMP or from native NetXMS agents.
  2. SMS and email alerts like features are provided.
  3. Event forwarding to another netXMS server.
  4. Automatic network discovery for OSI layer 2 and 3.
  5. Uses very low system resources.

Security

  1. Authenticated with username and and password.
  2. Group level user level rights can be managed.
  3. Smart cards, RADIUS server are supported.

Integration

  1. Native C and JAVA (Tomcat) API for rapid customization.
  2. Based on modular server and agent architecture.
  3. Built in interface with help desk system.
  4. Firewall friendly communication.

Please refer following link for more details

https://www.netxms.org/details/

Prerequisites and Installation steps

We will need a Fresh Ubuntu 15.10 System with at least 4 GB RAM, 8 GB free disk space. In form of software we will required tomcat6 or tomcat7, mysql-server and some other supporting tools.

Step 1. Prepare system by installing all of the prerequisites

Update system

# apt-get update

Install  mysql

# apt-get install mysql-server

Install latest version of apache tomcat

# apt-get install tomcat7

Install  libmysqlclient-dev and libssl packages

   # apt-get install libmysqlclient-dev
   # apt-get install libssl-dev

Create a database and a user to have access this newly created database.

# mysql -u root -p mysql
mysql> CREATE DATABASE netxms;
mysql> GRANT ALL ON netxms.* TO netxms@localhost IDENTIFIED BY 'password';
mysql> \q

Step 2. Now download NetXMS server package

Download latest copy of NetXMS server package from this link

# wget http://www.netxms.org/download/archive/netxms-1.2.17.tar.gz

Extract package

# tar -xvf netxms-1.2.17.tar.gz

Step 3. Configure package

# sh ./configure --with-server --with-mysql --with-agent
# make 
# make install

If package is successfully installed you will got a message something like below

Configure results
---------------------------------------------------------------------

Prefix                  : /usr/local
Platform                : Linux
Shared library suffix   : .so
Build Server            : YES
Server libs             :  -lssl -lrt
LDAP support            : NO
XMPP support            : YES
Encryption enabled      : YES
Build DB-Drivers        : mysql
Build Clients           : NO
Build Agent             : YES
Subagents list          : linux
Build Static Agent      : NO
UNICODE build           : NO
Use internal libexpat   : YES
Use internal libtre     : YES
Use internal libjansson : YES
Use internal zlib       : NO
Force 32bit build       : NO
C compiler              : gcc
C++ compiler            : g++
CPPFLAGS                :  -D_THREAD_SAFE -DTRE_WCHAR=1 -D_GNU_SOURCE -O2 -Wformat -I/usr/local/include -DPREFIX=\"${prefix}\" -DDATADIR=\"${pkgdatadir}\" -DBINDIR=\"${bindir}\" -DLIBDIR=\"${libdir}\" -DPKGLIBDIR=\"${pkglibdir}\" -DNDEBUG
CXXFLAGS                : -g -O2 -fno-rtti -fno-exceptions
CFLAGS                  : -g -O2
LDFLAGS                 :   -L/usr/local/lib
LIBS                    : -lresolv -lz -ldl  -lpthread -lcrypto
MySQL CPPFLAGS          : -I/usr/include/mysql
MySQL LDFLAGS           : -L/usr/lib/mysql
MySQL LIBS              : -lmysqlclient

Everything looks good up to this stage let use make next move and download following two sample files to /etc from package directory.

# cp contrib/netxmsd.conf-dist /etc/netxmsd.conf 
# cp contrib/nxagentd.conf-dist /etc/nxagentd.conf

Open  /etc/netxmsd.conf  file and contents fo the file must be something like below, make sure you to match Database password.

# nano /etc/netxmsd.conf

Sample output

DBDriver = mysql.ddr
DBServer = localhost
DBName = netxms
DBLogin = netxms
DBPassword = password
LogFile = /var/log/netxmsd
LogFailedSQLQueries = yes

Open /etc/nxagentd file and put following line at the end of the file

# nano  /etc/nxagentd
MasterServers = 127.0.0.1, 192.168.1.4

When you are done initialize the database

 # /usr/local/bin/nxdbmgr init /usr/local/share/netxms/sql/dbinit_mysql.sql

Initialize agent and server services

 # /usr/local/bin/nxagentd -d
 # /usr/local/bin/netxmsd -d

Step 4. Download and run we b based management  utility

Download latest version of nxmc package required for web based management from this link

# wget https://www.netxms.org/download/archive/webui/nxmc-1.2.17.war

Copy that downloaded package to   tomcat webapp directory which is  /var/lib/tomcat7/webapps/

#  cp nxmc.x.x.war  /var/lib/tomcat7/webapps/

Rename that pacakge to nxmc

# rename nxmc-1.2.17 nxmc

Open your browser and type

http://ip_address:8080/nxmc

Login with default user: admin default password: netxms

Selection_020

Change admin password

Selection_021

You can manage all of your network resource with this  console

Selection_022

 

Explore features available with NetXMX by yourself.

Selection_023

 

Have fun!!

The post Install NetXMS with Ubuntu 15.10 appeared first on Unixmen.

How to configure CacheGurard web gateway

$
0
0


About CacheGuard

CacheGuard is an dedicated Gateway application OS along with web based management system. It protects users along with web applications, it is open source and free for maximum 100 users.

Features

Networking

CacheGurad secure and optimize web traffic and comes with multiple “mode” features, all of features or modes can be activated or deactivated as and when required,This application can be used as router with ip forwarding feature with just a single command.CacheGuard enables with DHCP service which can be managed using web management console, Multiple VLANs can be added to manage different type of users.

IP Security

Web proxy, IP firewall with NAT and PAT, Port scanning, Internal/external zoning, secured access lists etc are the features included in IP Security bunch.

Content filtering and web security

URL filters with back lists and white lists, blacklists get updated time by time.Additionally web access got filtered based on regular expressions.Web authentication integrated with LDAP is available, intrusion detection, content filtering, logging of web access is features in this gateway application.

Administration

Can be configured with commands, remote ssh access or via web based management console.

Please refer following links for more details Please refer following links for more details

http://www.cacheguard.net/doc/command/index.html http://www.cacheguard.net/doc/command/index.html

http://www.cacheguard.net/doc/guide/overview.html http://www.cacheguard.net/doc/guide/overview.html

Installation and configuration

Prerequisites

It will need a dedicated hardware which must possess al least two Ethernet cards, 200 GB of hard disk, 4 GB RAM and a core2duo processor will be sufficient for at 100 users environment.

Download .iso image of the gateway application from this link.Burn media into a disk and install. Press enter at the boot prompt:

Selection_004

Press next when a welcome scree appear:

Selection_006

Select default keyboard language:

Selection_005

Press q then press Y or simply press enter:

Selection_007

 

It will detect hardware dependence  which are required for firewall:

Selection_008

If everything is ok, a screen like below will appear:

Selection_009

 

Press ok and select  your native Continental:

Selection_010

Select time zone:

Selection_011

We are skipping some of the steps as they will simply require to press enter then you will be asked for admin password:

Selection_012

Let the installation process begins:

Selection_013

After installation process is complete remove boot media ans reboot the system, a login window will appear, login with admin user name and password assigned by you:

Selection_014

Login and define gateway , internal network ip address, external ip address and gateway by giving following simple commands(replace ip addresses as per your scenario):

ip internal 192.51.15.2 255.255.255.0

For external ip

ip external 192.168.1.60 255.255.255.0

To add default gateway give following command

ip route ad default  192.168.1.1

Apply  settings

apply

Selection_016

Press Yes and now you can access your firewall from remote web browser, simply open a remote browser and type:

https://<ip_adress>:8090

Give user name ‘admin’  and password

Selection_002

Now server is ready to configure:

Selection_017

Installation process is over now, let us have some configuration examples.

Examples

Configure DHCP  server

Go to network-> interface configuration-> DHCP IP range  and assign IP address range which you wants to make allow:

Screenshot from 2015-12-15 10-38-02

Click add, provide desired IP pool, click submit:

Selection_018

In security section we can configure NAT rules for external web traffic:

Selection_019

 

Conclusion

CacheGuard web security gateway although is not much popular application but can be tried for any SMB level of organization, very easy to use and can be used in integration of LDAP server for web based authentication which makes user management quite easy.

Have Fun!!

 

The post How to configure CacheGurard web gateway appeared first on Unixmen.

Install lamp with PHP7 on Arch Linux

$
0
0


Arch Linux is a simple, fast, powerfull distrobution and it always provides the last version of kernel and softwares so if you wanna have the latest version of PHP, Apache, MySQL and etc it’s really good and recommanded for web developing.

In this tutorial we ganna install Lamp on Arch Linux with the latest version of PHP (PHP7) from AUR, but you should know that installing Lamp with PHP7 may makes some problems because it’s in unofficial repositories, so you should take the risk by yourself !

1- Installation and runing services

First install PHP7 and it’s needs from AUR by the following command :

yaourt -S php7 php7-apache php7-mcrypt

Now install Apache and Mysql (mariaDB) :

sudo pacman -S apache mysql php-apache mariadb

Enable and start Apache service by this command :

sudeo systemctl enable httpd
sudo systemctl start httpd

See the status and make sure it’s okay :

systemctl status httpd

The last line output should be like this :

Started Apache Web Server

hossein@hossein:-home-hossein_002

Start and enable MySQL now by this commands :

sudo systemctl enable mysqld
sudo systemctl start mysqld

Check the status :

systemctl status mysqld

If you get the following sentence in output your service is okay :

Started MariaDB database server.

hossein@hossein:-home-hossein_003

If your status shows MySQL is not okay use following command and try again :

sudo mysql_install_db --user=mysql --basedir=/usr --datadir=/var/lib/mysql

2-MySQL Configuration

You should secure MySQL so use this command to start :

sudo mysql_secure_installation

Look at the following picture :

hossein@hossein:-home-hossein_001
After the sentence ” Enter current password for root (enter for none): ” give your root password the then it will asks you few questions answer them all with yes.if you wanna use Jommla or WordPress as localhost on your Arch Linux you need to know how to create or remove database in MySQL but first you should enter to MySQL by this command :

mysql -u root -p

After you enterd, make a user in MySQL by following commands :

CREATE USER 'hossein'@'localhost' IDENTIFIED BY 'your_pass';
GRANT ALL PRIVILEGES ON mydb.* TO 'hossein'@'localhost';
FLUSH PRIVILEGES;
quit;

Don’t forget to put your own information in creating user commands. After you creat a user you can manage your databases for example for creating a database you can use this command :

CREATE DATABASE;

If you want to see your databes use following command :

SHOW DATABASES;

Or for removing a database you can “DROP” like this :

DROP DATABASE database_name;

For getting out of MySQL use this command :

quit;

For more information about MySQL command see here.

3- Apache Configuration

Here we config Apache so enter following command :

sudo nano /etc/httpd/conf/httpd.conf

Now that text file is open add the following lines to bottom of it :

<IfModule dir_module>
	<IfModule php7_module>
		DirectoryIndex index.php index.html
		<FilesMatch "\.php$">
			SetHandler application/x-httpd-php
		</FilesMatch>
		<FilesMatch "\.phps$">
			SetHandler application/x-httpd-php-source
		</FilesMatch>
	</IfModule>
</IfModule

Restart Apache service :

sudo systemctl restart httpd

Apache is successfully configured now :))

4-PHP

For getting your php information first you should make a text file so do like following command :

sudo nano /srv/http/info.php

Add this lines to the file :

<?php
phpinfo();
?>

Save the file with ctrl + o and close it with ctrl +x then enter this command :

cd /srv/http

Let info.php to have excute permission :

sudo chmod u+x info.php

Run the file :

php info.php

If php7 were okay first of the output should be like this with other informations :

[hossein@hossein http]$ php info.php
phpinfo()
PHP Version => 7.0.0

If it is, Lamp is ready !!
( Thanks to my friend Saeed for contribute )
Enjoy

dpe7_kazam_screenshot_000031

 

The post Install lamp with PHP7 on Arch Linux appeared first on Unixmen.

How to Install WebERP with Ubuntu 15.10

$
0
0


Introduction

WebERP is an open source, very popular and business process management system which comes in more then 33 languages, it is open source and totally free application which is based on PHP, is is one of the best available business administration software with very low footprint and minimum network traffic.

Features

Some of the highlighted features are:

General Features

totally web based, platform independent and can be easily integrated with a wiki, it comes with customizable themes.

Security

Role base authentication for users, all inputs are sanitised to prevent mysql injections and cross site scripting, pages can be encrypted using SSL. Users can permitted to see defined portions/modules only.

Inventory

Stock management, stock movement history, selling price in various currencies, reorder level can be maintained, Bill of Material can be maintained.

Accounts and finance management

Supplier management, invoice management, bank accounts can be added and bank accounts reconciliation statements can be generated.

Manufacturing

Work order costing, automated issue of components required as per Bill of Material, issue of labour time or other services to work order.

Installation and prerequisites

This ERP be is easy to install in a straightforward manner, you will need a a fresh Ubuntu 15.10 based machine with minimum dual core processor, minimum 4 GB RAM, A web server  apache2/nginx, mysql database, php packages are required in form of software.

Steps

Update system

# apt-get update

Install Database server

# apt-get install mysql-server

Install your favourite web server

# apt-get install apache2

Install php

# apt-get install php5

Create a database and a database user which will have all access to this newly created database

#mysql -u root -p mysql

mysql>create database weberp;

mysql> grant all on weberp.* to 'unixmen'@'localhost' identified by 'password';

mysql>flush privileges;

mysql>/q

Download package from this link

Extract package to /var/www/html/

# unzip webERP_4.12.3.zip -d /var/www/html

Change permissions

# chmod -R 755 /var/ww/html/webERP

Change ownership

# chown -R www-data: /var/www/html/webERP

Restart services

# /etc/init.d/apache2 restart

Open browser of your choice and type

<ip_address>/webERP

Selection_004

When I click next, got encountered with following screen

Selection_002

So, I install phph5-mysql then restart apache service to resolve the issue

# apt-get install php5-mysql
# /etc/init.d/apache2 restart

Click next fill required credentials

Selection_004

 

 

You can browse your organization logo, provide admin password, click next

Selection_005

Login with newly created admin password

Selection_006

Configure primary setting in setup section

Selection_008

Company preference section will look something like

Selection_007

Installation steps are finished at that stage we can explore some of the features in examples.

Examples

Add customers

Go to customer tab-> click to add new customer

Selection_009

Inventory

Go to item menu  and you can add your inventory items with a detail

Selection_011

 

Asset management

Software provide a detailed feature of asset management, go to main menu and click on asset management

Selection_012

There are lots and lost of feature which you can explore by yourself.

Conclusion

This ERP is ready to use type of application, very effective for even Larger Enterprises, no hidden license charges, usable for retailers, stockists, production companies or other enterprises, a must have for any business who are seeking a  low budget or free open source ERP application.

Have fun!

 

The post How to Install WebERP with Ubuntu 15.10 appeared first on Unixmen.

Create XFS file system based on LVM with Ubuntu

$
0
0


Introduction

LVM is a tool used for volume management which includes striping, resizing and mirroring of logical volumes, and XFS is an high performance file system created by silicon graphics, it is the default file system for Rhel7/CentOS 7 operating systems, it supports quick crack recovery, is is used when large amount of data is required to be stored.Some of LVM based articles has been published already with unixmen.com, you can access some of them on following links:

Increase Disk Space And Memory In Linux VMware Virtual Machines

How To Backup And Restore LVM On openSUSE 42.1

Procedure

We will be using Ubuntu 15.10 ,add some extra hard disk space to Your demo system, let us have a extra piece of 10 GB space:

Selection_021

# fdisk /dev/sdb

Create primary file system, change File system, by typing t, and have a look on available file systems and select 8e type file system, save and exit:

Welcome to fdisk (util-linux 2.26.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Device does not contain a recognized partition table.
Created a new DOS disklabel with disk identifier 0x8d3381ac.

Command (m for help): p
Disk /dev/sdb: 1.1 GiB, 1138817024 bytes, 2224252 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x8d3381ac

Command (m for help): n
Partition type
   p   primary (0 primary, 0 extended, 4 free)
   e   extended (container for logical partitions)
Select (default p): o
Value out of range.
   p   primary (0 primary, 0 extended, 4 free)
   e   extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1): 
First sector (2048-2224251, default 2048): 
Last sector, +sectors or +size{K,M,G,T,P} (2048-2224251, default 2224251): 

Created a new partition 1 of type 'Linux' and of size 1.1 GiB.

Command (m for help): t          <-FILE SYSTEM TYPE
Selected partition 1
Partition type (type L to list all types): 8e      <-SELECTED FILE SYSTEM TYPE
Changed type of partition 'Linux' to 'Linux LVM'.

Command (m for help): w          <-SAVE AND EXIT
The partition table has been altered.
Calling ioctl() to re-read partition table.
Syncing disks.

Selection_022

Create LVM

First Create physical volume, then Volume group followed by Logical volume:

root@user:/home/user# pvcreate /dev/sdb1
 Physical volume "/dev/sdb1" successfully created
root@user:/home/user# vgcreate um_vg /dev/sdb1
 Volume group "um_vg" successfully created
root@user:/home/user# lvcreate -L +1G -n xfs_lv um_vg   
 Logical volume "xfs_lv" created.

Now, create XFS file system, before that install xfs file system utilities in Ubuntu

# apt-get install xfsprogs

Create a directory where this xfs file system will be mounted

# mkdir /home/user/xfs

Create .xfs file system

# mkfs.xfs /dev/um_vg/xfs_lv

Sample output

Display all 214 possibilities? (y or n)
root@user:/home/user# mkfs.xfs /dev/um_vg/xfs_lv 
meta-data=/dev/um_vg/xfs_lv      isize=256    agcount=4, agsize=65536 blks
         =                       sectsz=512   attr=2, projid32bit=1
         =                       crc=0        finobt=0
data     =                       bsize=4096   blocks=262144, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0 ftype=0
log      =internal log           bsize=4096   blocks=2560, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0

Mount file system on the created  directory

# mount -t xfs /dev/um_vg/xfs_lv /home/user/xfs/

Have a look

# df -Th /home/user/xfs/
Filesystem               Type  Size  Used Avail Use% Mounted on
/dev/mapper/um_vg-xfs_lv xfs  1014M   33M  982M   4% /home/user/xfs

Extend LVM size

root@user:/home/user# lvextend -L +10M /dev/um_vg/xfs_lv -r

Sample output

  Rounding size to boundary between physical extents: 12.00 MiB
  Size of logical volume um_vg/xfs_lv changed from 1.01 GiB (259 extents) to 1.02 GiB (262 extents).
  Logical volume xfs_lv successfully resized
meta-data=/dev/mapper/um_vg-xfs_lv isize=256    agcount=4, agsize=65536 blks
         =                       sectsz=512   attr=2, projid32bit=1
         =                       crc=0        finobt=0
data     =                       bsize=4096   blocks=262144, imaxpct=25
         =                       sunit=0      swidth=0 blks
naming   =version 2              bsize=4096   ascii-ci=0 ftype=0
log      =internal               bsize=4096   blocks=2560, version=2
         =                       sectsz=512   sunit=0 blks, lazy-count=1
realtime =none                   extsz=4096   blocks=0, rtextents=0
data blocks changed from 262144 to 268288

Again have a look on mounted file system whether it got extended or not

#df -h /dev/um_vg/xfs_lv

Sample output

Filesystem                Size  Used Avail Use% Mounted on
/dev/mapper/um_vg-xfs_lv  1.1G   33M 1006M   4% /home/user/xfs

Now, compare with previous file size, you will notice that file system size got increased automatically as we are using XFS file system.

Have a nice day!!

 

The post Create XFS file system based on LVM with Ubuntu appeared first on Unixmen.


How to configure APF Firewall with ubuntu 15.10

$
0
0


Introduction

Advanced Policy Firewall or APF is iptable based firewall system which is a free distribution, this firewall is designed to meet today’s security based essential needs.The firewall is designed to be very informative and present the user with an easy to use follow process.

Features Highlight

The filters perfromed by APF can be catagourised in three parts

static rule based policy.

It define how firewall should handle certain traffic in specific conditions while giving access to certain port or adding some ip address as trusted one.

Connection based stateful policy

Firewall will identify valid/legitimated packets from the different types of connections and will allow only valid connections which are allowed in firewall rules and other will be rejected.

Sanity based policy

Can identify network attacks by screening or scrutinizing packets, it will discard and log any data which is considered as inappropriate.

Installation

It is recommended to have at least 2 LAN cards, 4 GB RAM, dual core processor and 1 GB free disk space to dedicate  your system as APF firewall.

Update Ubuntu 15.10

# apt-get update

Download package

# wget http://www.rfxn.com/downloads/apf-current.tar.gz

Extract package

# tar -xvf apf-current.tar.gz

Extract and install package

# cd apf-9.7-2/
# ./install.sh

Sample output

Installing APF 9.7-2: Completed.

Installation Details:
  Install path:         /etc/apf/
  Config path:          /etc/apf/conf.apf
  Executable path:      /usr/local/sbin/apf

Other Details:
  Listening TCP ports: 53,631
  Listening UDP ports: 53,68,631,5353,23566,47956
  Note: These ports are not auto-configured; they are simply presented for information purposes. You must manually configure all port options.

Now have a look in /etc/apf/conf.apf

# The installation path of APF; this can be changed but it is not recommended.
INSTALL_PATH="/etc/apf"

# Untrusted Network interface(s); all traffic on defined interface will be
# subject to all firewall rules. This should be your internet exposed
# interfaces. Only one interface is accepted for each value.
IFACE_IN="eth0"
IFACE_OUT="eth0"

# Trusted Network interface(s); all traffic on defined interface(s) will by-pass
# ALL firewall rules, format is white space or comma separated list.
IFACE_TRUSTED="eth0"

# This option will allow for all status events to be displayed in real time on
# the console as you use the firewall. Typically, APF used to operate silent
# with all logging piped to $LOG_APF. The use of this option will not disable
# the standard log file displayed by apf --status but rather compliment it.
SET_VERBOSE="1"

Let us explain some of the important parameters which are important in this configuration file

IFACE_IN=”eth0″
IFACE_OUT=”eth0″

Interface in and interface out define which interface you will be using for firewall as inbound and outbound

DEVEL_MODE=”1″

Keep Developer mode as 1

IG_TCP_CPORTS

Define allowed TCP ports

Selection_024

IG_UDP_CPORTS

Define allowed UDP ports

Selection_025

 

Command Examples

To start firewall

# apf -s

To stop firewall

# apf -f

Output

apf(7480): {glob} flushing & zeroing chain policies
apf(7480): {glob} firewall offline

To restart firewall

# apf -r

To dump current status of firewall on terminal

# apf -st

Selection_026

To deny some host

# apf -a 192.168.1.1

It will add IP ADDR to trusted address  and entries goes to  /etc/apf/allow_hosts.rules

# apf -d 192.168.1.1

Above command will add IP ADDR to deny, entries goes to  /etc/apf/deny_hosts.rules

# apf -u 192.168.1.1

Remove entries either from trsuted or from deny hosts rules

Selection_028

Now your firewall is ready to work in an easy to use and deploy manner.

Have fun

The post How to configure APF Firewall with ubuntu 15.10 appeared first on Unixmen.

How to install Univention Corporate Server

$
0
0


Preface

Most of the IT or non-IT organization/companies generally possess hybrid environment .i.e. they have Linux based as well as Microsoft based desktops or servers.It becomes a challenge of IT/System administrators to ensure availability of all of the resources such as printer sharing, directory sharing, Internet sharing etc, especially when some organization is looking for some low cost solutions for such resource management. Although a lots of firewalls are available in open source but very rare dedicated OS are available which can act as complete All-in-One IT infrastructure management solution provider. Zentyal is one of such available application server, a article based on zentyal was published few months before refer following link to know more about zentyal http://www.unixmen.com/how-to-setup-zentyal-server-4-1/

We were searching for some other alternative and we found uninvention corporate server as alternative open source which can be used in the form of complete IT infrastructure management Application.

About Univention Corporate Server

UCS is a operating system derived from Debian. It is an cross platform, centralized and integrated management system used for administration of Groups, users, application and resources.

Features

Network and Intranet services

UCS include all of the important functions required for effective management of Network Infra. BIND DNS server is ready for quick use, multiple internal ip address can be used to manage multiple domain name services.DHCP server is integrated in UCS. A very effective web proxy is provided with customisable web access control.

Printer management

UCS have built in CUPS based printer management system with the help of which printer can be installed on to the server which be available for Mac OS, Windows or Linux users with the help of SAMBA.

File Share

With the help of NFS and samba a centralised web based access can be provided to various groups and users, there maximum disk quota limits can be managed with the help of policy based administration.

Network Monitoring

Nagios comes as builtin feature of UCS which can be used for network monitoring purpose.

Mail Services

UCS can be used as ready to use mail server with Postfix and Dovecot services, assignment of email addresses, aliases users is manageable centrally as usual. Zarafa, Horde, Egroupware, OX App suite comes as mail and groupware with UCS.

Microsoft windows support and virtualization

The AD take over wizard of UCS enables migration of complete Microsoft Active Directory domains UCS server very easily.This wizard is available in UCG app centre which can be installed with a single click, UCS can join an existing Active Directory domain.With the native component “services or windows” UCS offers Active Directory  compatible services with SAMBA.

Virtualization

With the help of UCS Virtual Machine Manager (UCMM) which is available in App Centre offers a effective central administration tool for cloud management, it allows to administer virtual machines OpenStack EC2 Environment.

Installation

We will need good speed lease line/broadband internet connection, 2 Ethernet cards 40-80 GB hard disk, 4 GB RAM, and minimum corei3 process will be sufficient to establish a server for 25-30 users.

Download .iso image of UCS from this link

Boot system

Selection_001

 

Press Enter with default settings, select language and proceed

Selection_002

Proceed to install, define root password

Selection_003

Configure clock

Selection_004

Define Partition and proceed

Selection_007

Start installing software

Selection_008

Create a new UCS domain and click next

Selection_009

Provide required credentails

Selection_010

Define FQDN and proceed

Selection_011

Selecr your desired softwares and start configuration

Selection_012

Selection_013

Now this configration/installation step make take some time to be complete

Selection_014

When Installtion process is over screen will look something like below, open browser and start rest of configuration settigns

Selection_015

Open browser and login with Administrator and configure your server

Selection_016

Login with Administrator user and password

Selection_018

After successful login, all features will be avialabe which you can explore and manage.

Selection_019

With App Center, you can download all of the avlaiable applications as and when required for your specific requirements, it will show available and installed applications

Selection_020

 

 

Configuration is over at this stage, you can configure all of your services using this managemnt console.

Have Fun!!

The post How to install Univention Corporate Server appeared first on Unixmen.

Install ClipBucket with Ubuntu 15.10

$
0
0


Introduction

ClipBucket is open source script used for video sharing.It comes with very effective features like  HQ video customization, Multiple language support, several video moderation tools.It uses FFMpeg, flash and HTML5 for streaming.It comes with media management and user management features. Recently ClipBucket article was published on unixmen.com based on CenOS Linux, refer below link to have a look

Setup Your Own YouTube Like Website Using ClipBucket

Installation and prerequisites

We will need a fresh installed Ubuntu 15.10, Apache. MySQL,FFMpeg, ImageMagic, and FLVTool.

Update  system

apt-get update

Install Apache, MySQL

apt-get install apache2 mariadb-server

Install php and ruby packages

apt-get install php5 php5-mysql php5-curl php5-gd php5-cli ruby

Install other dependencies

Install FFMPEG

apt-add-repository ppa:mc3man/trusty-media

Sample output

Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmp624ee04k/secring.gpg' created
gpg: keyring `/tmp/tmp624ee04k/pubring.gpg' created
gpg: requesting key ED8E640A from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp624ee04k/trustdb.gpg: trustdb created
gpg: key ED8E640A: public key "Launchpad PPA for Doug McMahon" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK

Update System and install ffmpeg package

apt-get update && apt-get install ffmpeg

Install imagemagic

apt-get install imagemagick php5-imagick

Install flvtool2

gem install flvtool2

Sample output

Fetching: flvtool2-1.0.6.gem (100%)
Successfully installed flvtool2-1.0.6
Parsing documentation for flvtool2-1.0.6
Installing ri documentation for flvtool2-1.0.6
Done installing documentation for flvtool2 after 1 seconds
1 gem installed

Install GPAC

apt-get install gpac mediainfo

Download package

wget http://netix.dl.sourceforge.net/project/clipbucket/ClipBucket%20v2/clipbucket-2.8.v3354-stable.zip

Create a database and a database user

mysql -u root -p
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 43
Server version: 10.0.22-MariaDB-0ubuntu0.15.10.1 (Ubuntu)

Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> create database unixmen;
Query OK, 1 row affected (0.00 sec)

MariaDB [(none)]> grant all on unixmen.* to 'unixmen'@'localhost' identified by 'P@ssw0rd';
Query OK, 0 rows affected (0.01 sec)

MariaDB [(none)]> \q;

Unzip downloaded folder and copy to web directory

unzip clipbucket-2.8.v3354-stable.zip -d /var/www/html/

Rename Package

cd /var/www/html 
mv clipbucket-2.8.v3354-stable/ clipbucket

Change permissions and ownership of Package

 chown -R www-data:www-data clipbucket/
 chmod -R 777 /var/www/data/clipbucket

Restart Apache service

/etc/init.d/apache2 restart

Open Browser

and type

ip_addr/clipbucket and proceed

Selection_042

Accept License Agreement and click to next, if all things looks good click to next

Selection_043

All file permission looks good, click next

Selection_044

Provide database credentials which you have created in database

Selection_045

Change admin password, save settings and continue

Selection_047

Skip and finish

Selection_048

Login to admin panel first then upload videos

Selection_049

 

Selection_050

Click to upload video and try to upload some videos

Selection_051

 

Thats It!

Conclusion

ClipBucket is very easy to use and deploy video sharing tool, first it was developed as a clone of YouTube but now is a very popular open source video sharing platform.

Have fun!!

The post Install ClipBucket with Ubuntu 15.10 appeared first on Unixmen.

How to install Chamilo with CentOS 7

$
0
0


Introduction

Chamilo is a  software which is used for virtual/online trainings or Learning Management System. Chamilo is absolutely free and comes under GPL License, with Chamilo you can store and organize all of study materials which can be utilized by tutors and students.

Some of the important features of Chamilo are

  1. Course and user management based on various user’s profiles like students, Teachers, Session Managers, Administrators.
  2. You can Download, upload or hide some course contents as and when required.
  3. Create, add , delete questions in the form of multiple choice, fill in the blank, matching type questions or open questions.
  4. Various types of survey can be conducted with the help of Chamilo.
  5. You can enable deadline based assignments.
  6. Users can be generated in bulk.
  7. CSV/Excel data can bde downloaded or uploaded and Instant results reports can be generated.

Installation

Prerequisites

A CsntOS 7 machine configures with 4 GB RAM, 10 GB Free disk space, and Dual core processor. Apache, Mariadb, php are required for software support.

Steps

Install and update CentOS machine

# yum update

Install required packages

# yum install mariadb mariadb server httpd php
# yum install gcc-c++ libuuid-devel

Start web service

# systemctl start httpd 
# systemctl enable httpd

Start and Configure Database services

# systemctl start mariadb
# systemctl enable mariadb

Create database for chamilo

# mysqladmin -u root password password
# mysql -u root -p

Create some database and  user for this newly created database

Sample output

Enter password:
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 4
Server version: 5.5.44-MariaDB MariaDB Server

Copyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]> create database chamilo;
Query OK, 1 row affected (0.00 sec)

MariaDB [(none)]> create user 'chamilo'@'localhost' identified by "P@ssw0rd";
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]> grant all on chamilo.* to 'chamilo'@'localhost';
Query OK, 0 rows affected (0.00 sec)

MariaDB [(none)]> \q
Bye

Download latest version of Chamilo

 # wget https://github.com/chamilo/chamilo-lms/archive/v1.10.0.zip

Sample output

--2015-12-28 10:25:29--  https://github.com/chamilo/chamilo-lms/archive/v1.10.0.zip
Resolving github.com (github.com)... 192.30.252.131
Connecting to github.com (github.com)|192.30.252.131|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/chamilo/chamilo-lms/zip/v1.10.0 [following]
--2015-12-28 10:25:30--  https://codeload.github.com/chamilo/chamilo-lms/zip/v1.10.0
Resolving codeload.github.com (codeload.github.com)... 192.30.252.144
Connecting to codeload.github.com (codeload.github.com)|192.30.252.144|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: ‘v1.10.0.zip’
[                                      <=>                              ] 25,82,225 120KB/s

Append /etc/php.ini and add following line at the end of file

date.timezone = 'America/New_York'
max_execution_time = 300
max_input_time = 600
memory_limit = 256M
post_max_size = 100M
upload_max_filesize = 100M
short_open_tag = Off
safe_mode = Off
magic_quotes_gpc = Off
magic_quotes_runtime = Off
session.cookie_httponly = On
extension = xapian.so

Decompress Downloaded folder

# unzip v1.10.0.zip

Move to your web directory and change permission

#  mv chamilo-lms-1.10.0/ /var/www/html/chamilo
# chmod -R /var/www/html/chamilo
# chown -R apache: /var/www/html/chamilo
# setenforce 0

Restart web service

# systemctl restart httpd

Open Browser and type

<IP_ADDR>/chamilo

Click to Install chamilo and start

Selection_029

Select language you wants to prefer

Selection_030

System will check all of the required dependencies are fulfilled or not, proceed for next step

Selection_033

Accept license agreement and proceed

Selection_032

Provide your database and user credentials

Selection_033

Give Admin password and other informative credentials

Selection_034

Cross verify your settings and proceed

Selection_035

Let the installation process be complete and login to portal

Selection_037

After login now you will be able to manage you curriculum

Selection_038

Installation process is over, let us have some demonstration examples.

Import users in bulk, click on Administration and click to import users list, now you can import users in bulk, exmple format is provided

Selection_040

 

Create a Course

Go to your home page and on Left hand side all of the course  management links are provided from where you can manage all of your courses

Selection_041

Conclusion

Although moodle is already available as very efficient Online Exam Management system, but Chamilo looks to be refreshing and well featured which comes with exciting themes and rich features.

Have fun!

 

The post How to install Chamilo with CentOS 7 appeared first on Unixmen.

Tribute to Debian Founder, Ian Murdock

$
0
0


On December 28, 2015, the free software world lost of one its smartest programmers and software engineers, Ian Murdock. Ian was most well known for his founding and creation of one of the most respected Linux distributions to date, Debian.

ian-murdock-bio

Through Ian’s creation of Debian, the Linux operating system has gained a reputation for being one of the most solid, reliable and versatile Linux operating systems for the server and desktop sectors.

Debian has provided the basis for many Linux based operating systems, including the world’s most popular Linux system, Ubuntu.

Debian development continues today through the volunteer efforts of thousands of software developers and engineers. Whilst Linus Torvalds is often considered the grandfather of Linux, Debian is equally considered the grandfather of Linux based operating systems.

The tireless work Ian Murdock put into Debian and other projects earned him the respect that he deserved.

In January 2006 Ian’s hard work led him to a role as Chief Technology Officer (CTO) with the Free Standards Group, which eventually evolved into the Linux Foundation. Ian continued his role as CTO until the following year of March 2007 where he was employed at Sun Microsystems to lead Project Indiana. When Sun Microsystems merged with software giant Oracle, Ian resigned from the company.

From 2011-2015 Ian was employed by Salesforce Marketing Cloud, until in November 2015 he joined Docker Inc. His role with Docker was short-lived, when on December 30, 2015, Docker announced his tragic passing.

Whilst specific circumstances surrounding his passing have not been officially released, there are indications that Ian Murdock had taken his own life. Absolutely tragic and deeply saddening for Ian’s family, friends, colleagues and all of the free and open-source software community.

It’s important to remember the legacy that Ian left behind, through his work as a free and open-source software developer and engineer. More specifically, Ian will always be remembered for the founding and creation of the world’s most loved and respected Linux operating systems, Debian. May you rest in peace Ian Murdock, you will be sorely missed.

As a sign of our respect to Ian, today we finish our tribute by publishing the Debian Manifesto written by Ian Murdock in 1994.

A.1 What is Debian Linux?

Debian Linux is a brand-new kind of Linux distribution. Rather than being developed by one isolated individual or group, as other distributions of Linux have been developed in the past, Debian is being developed openly in the spirit of Linux and GNU. The primary purpose of the Debian project is to finally create a distribution that lives up to the Linux name. Debian is being carefully and conscientiously put together and will be maintained and supported with similar care.

It is also an attempt to create a non-commercial distribution that will be able to effectively compete in the commercial market. It will eventually be distributed by The Free Software Foundation on CD-ROM, and The Debian Linux Association will offer the distribution on floppy disk and tape along with printed manuals, technical support and other end-user essentials. All of the above will be available at little more than cost, and the excess will be put toward further development of free software for all users. Such distribution is essential to the success of the Linux operating system in the commercial market, and it must be done by organizations in a position to successfully advance and advocate free software without the pressure of profits or returns.

A.2 Why is Debian being constructed?

Distributions are essential to the future of Linux. Essentially, they eliminate the need for the user to locate, download, compile, install and integrate a fairly large number of essential tools to assemble a working Linux system. Instead, the burden of system construction is placed on the distribution creator, whose work can be shared with thousands of other users. Almost all users of Linux will get their first taste of it through a distribution, and most users will continue to use a distribution for the sake of convenience even after they are familiar with the operating system. Thus, distributions play a very important role indeed.

Despite their obvious importance, distributions have attracted little attention from developers. There is a simple reason for this: they are neither easy nor glamorous to construct and require a great deal of ongoing effort from the creator to keep the distribution bug-free and up-to-date. It is one thing to put together a system from scratch; it is quite another to ensure that the system is easy for others to install, is installable and usable under a wide variety of hardware configurations, contains software that others will find useful, and is updated when the components themselves are improved.

Many distributions have started out as fairly good systems, but as time passes attention to maintaining the distribution becomes a secondary concern. A case-in-point is the Softlanding Linux System (better known as SLS). It is quite possibly the most bug-ridden and badly maintained Linux distribution available; unfortunately, it is also quite possibly the most popular. It is, without question, the distribution that attracts the most attention from the many commercial "distributors" of Linux that have surfaced to capitalize on the growing popularity of the operating system.

This is a bad combination indeed, as most people who obtain Linux from these "distributors" receive a bug-ridden and badly maintained Linux distribution. As if this wasn't bad enough, these "distributors" have a disturbing tendency to misleadingly advertise non-functional or extremely unstable "features" of their product. Combine this with the fact that the buyers will, of course, expect the product to live up to its advertisement and the fact that many may believe it to be a commercial operating system (there is also a tendency not to mention that Linux is free nor that it is distributed under the GNU General Public License). To top it all off, these "distributors" are actually making enough money from their effort to justify buying larger advertisements in more magazines; it is the classic example of unacceptable behavior being rewarded by those who simply do not know any better. Clearly something needs to be done to remedy the situation.

A.3 How will Debian attempt to put an end to these problems?

The Debian design process is open to ensure that the system is of the highest quality and that it reflects the needs of the user community. By involving others with a wide range of abilities and backgrounds, Debian is able to be developed in a modular fashion. Its components are of high quality because those with expertise in a certain area are given the opportunity to construct or maintain the individual components of Debian involving that area. Involving others also ensures that valuable suggestions for improvement can be incorporated into the distribution during its development; thus, a distribution is created based on the needs and wants of the users rather than the needs and wants of the constructor. It is very difficult for one individual or small group to anticipate these needs and wants in advance without direct input from others.

Debian Linux will also be distributed on physical media by the Free Software Foundation and the Debian Linux Association. This provides Debian to users without access to the Internet or FTP and additionally makes products and services such as printed manuals and technical support available to all users of the system. In this way, Debian may be used by many more individuals and organizations than is otherwise possible, the focus will be on providing a first-class product and not on profits or returns, and the margin from the products and services provided may be used to improve the software itself for all users whether they paid to obtain it or not.

The Free Software Foundation plays an extremely important role in the future of Debian. By the simple fact that they will be distributing it, a message is sent to the world that Linux is not a commercial product and that it never should be, but that this does not mean that Linux will never be able to compete commercially. For those of you who disagree, I challenge you to rationalize the success of GNU Emacs and GCC, which are not commercial software but which have had quite an impact on the commercial market regardless of that fact.

The time has come to concentrate on the future of Linux rather than on the destructive goal of enriching oneself at the expense of the entire Linux community and its future. The development and distribution of Debian may not be the answer to the problems that I have outlined in the Manifesto, but I hope that it will at least attract enough attention to these problems to allow them to be solved.

The post Tribute to Debian Founder, Ian Murdock appeared first on Unixmen.

Viewing all 194 articles
Browse latest View live