Siddesh BG's Build Release Config mgmt Blog

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Tuesday, 7 October 2008

SSH password less log-in problem

Posted on 22:46 by Unknown
Machine1: re-solx86 (A Solaris x86 machine)
Machine2: vm-rh21-lager (A RHEL machine)

Requirement: Need to establish a password less login from Machine2 -> machine1

Solution:
Login machine1 -> machine2
1) Created RSA keys by running command "ssh-keygen -t rsa" on Machine1
2) Added content of "id_rsa.pub" file from machine1 to the file "authorized_keys" in machine2
Login from machine1 -> machine2 is success

Login machine2 -> machine1
1) Added
content of "id_rsa.pub" file from machine2 to a file "authorized_keys" in machine1
Login from machine2 -> machine1 still asking for password.

Problem: Permissions of ~/.ssh directory in machine1 is 755. ssh won't work if permission of ~/.ssh is other than 700.
Solution: Changed permission of
~/.ssh to 700, now it is successful






Read More
Posted in commands | No comments

Tuesday, 2 September 2008

ESP package manager

Posted on 10:28 by Unknown
EPM (ESP package manager), is the second package manager, which I used. In my previous organization Synopsys, I used Synopsys Installer, which is an internal package management tool used only in Synopsys. But it is good to know EPM is a free package manager developed by Easy software products.

The design goal of EPM is to solve the problem of software distribution with Unix/Linux OS. The problem is every OS supports it's own packaging tools and each has unique requirements for the software development environment. EPM provides solution to this problem by providing it's own portable distribution format and also vendor specific formats like rpm, depot, dpkg, pkgadd, etc. This allows you to build software distribution files for any OS from the same sources.

You can download EPM from http://www.epmhome.org/ and the EPM book at http://www.epmhome.org/documentation.php teaches you how to use EPM.

EPM requires few pre-installed softwares. They are C compiler, make utility, Bourne (or Korn or bash) shell and gzip. The optional Graphical setup program requires a C++ compiler, FLTK library. End user systems require Bourne shell, df, tar & gzip utilities to install portable distributions.

Basically EPM reads one or more software list files that describe a single software package. These list files needs to be written in specific format, Chapter 3 of EPM book explains it in detail.

To build a software package, epm program is used. For example to build a portable software package for an application called foo, type the following command
epm foo
This expects a list file by name foo.list. If your list file is created with different name, then you can mention the list file name by command line argument as
epm foo base.list

You can install the portable packages by calling an installation script product.install where product is the name of the package.
cd os-release-arch
./product.install
After answering few yes/no questions, product will be installed.

To create vendor specific packages use -f option
epm -f rpm foo base.list

EPM also supports preinstall, postinstall, prepatch, postpatch, preremove & postremove scripts. These scripts are bourne shell scripts, needs to be called from list file
It also supports init scripts and also patch software distributions.

For detailed usage refer EPM book at http://www.epmhome.org/documentation.php

Enjoy building software packages with EPM ..... :)
Read More
Posted in package | No comments

Sunday, 27 July 2008

HP UX start/stop/restart sshd service

Posted on 23:00 by Unknown

To start/stop sshd service, you must use "root" account"

System startup configuration file

/etc/rc.config.d/sshd

Stop HP UX SSH Service

/sbin/init.d/secsh stop

Start HP UX SSH Service

/sbin/init.d/secsh start


If /sbin/init.d/secsh is not found, you can try the following if found

/sbin/init.d/S91sshd start
Read More
Posted in hpux | No comments

Thursday, 17 July 2008

Unix Operating System Name Abbreviations and Processor Architecture Abbreviations

Posted on 00:17 by Unknown
Operating System Name Abbreviations
Operating SystemName
AIXaix
Compaq Tru64 UNIX
Digital UNIX
OSF/1
tru64
FreeBSDfreebsd
HP-UXhpux
IRIXirix
Linuxlinux
MacOS Xmacosx
NetBSDnetbsd
OpenBSDopenbsd
Solarissolaris


Processor Architecture Abbreviations
Processor(s)Abbreviation
Compaq Alphaalpha
HP Precision Architecturehppa
INTEL 80x86intel
INTEL 80x86 w/64bit Extensionsx86_64
MIPS RISCmips
IBM Power PCpowerpc
SPARC
MicroSPARC
UltraSPARC
sparc




Read More
Posted in Miscellaneous | No comments

Wednesday, 16 July 2008

Software Packaging Formats

Posted on 02:02 by Unknown
Software Packaging Formats (Reference - s/w distribution using ESP)
In Unix there are many open source packaging systems, it is always better to have a list and to compare among them.
FormatOperating Systems1Binaries Cross- PlatformPatches Up- gradesCon- flictsRe- quires Re- placesConfig FilesMap FilesUn- install
installp AIXYes NoNo NoYes YesNo NoNo Yes
pkg_add FreeBSDYes Yes2NoNoNo No NoNo NoYes
pkg_add NetBSD
OpenBSD
Yes Yes2NoNoYes Yes NoNo NoYes
dpkg Corel Linux
Debian GNU/Linux
YesYes2 NoYes YesYes YesYes NoYes
depot HP-UXYes NoYes YesYes YesNo YesYes Yes
inst IRIXYes NoYes YesYes YesYes YesYes Yes
Install.app MacOS XYes NoNo YesNo NoNo NoNo No
pkgadd SolarisYes NoYes NoYes YesNo YesYes Yes
rpm Mandrake
Red Hat
SuSE
TurboLinux
YesYes2 NoYes YesYes NoYes NoYes
setld Tru64 UNIXYes NoNo NoYes YesNo NoNo Yes
slackware Slackware LinuxYesNoNo No YesYes NoNo NoYes
Read More
Posted in package | No comments

Friday, 11 July 2008

dpkg-deb (subprocess): control: internal gzip error: read(4096) != write(0): No space left on device

Posted on 03:43 by Unknown
set TMPDIR environment variable to a free disk space path
Read More
Posted in build-failures, hpux | No comments

Wednesday, 9 July 2008

How to install Perl modules

Posted on 23:10 by Unknown
For example to install Mail::Mailer module, you can use below
command

perl -MCPAN -e 'install Mail::Mailer'

Also refer http://www.cpan.org/modules/INSTALL.html for another
approach

Offline Installation of Perl module
perl Makefile.PL
make
make test
make install

How do I find out what modules are already installed on my system?

Each time a module is installed on your system, it appends information like the following to a file called perllocal.pod which can be found in /usr/local/lib/perl5/version number/architecture/ or something akin to that. The path for your specific installation is in your @INC which you can divine with perl -V.
=head2 Wed May 12 13:42:53 1999: C L
=over 4
=item *
C
=item *
C
=item *
C
=item *
C
=back

Each entry includes the Module name, date and time it was installed, where it was installed, linktype [ static or dynamic ], version and executables, if any, included with the module.

Another way to do this is http://vijayk.blogspot.com/2008/06/list-all-installed-perl-modules.html
Read More
Posted in Perl | No comments
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Popular Posts

  • Installing and configuring Fortify on Linux and Windows machines
    Installing Fortify on Linux (RHEL 5 32 bit) Download Fortify archive Fortify-360-2.6.5-Analyzers_and_Apps-Linux-x86.tar.gz and extract it to...
  • AIX: make: 1254-055 Dependency line needs colon or double
    We get this compilation issue "make: 1254-055 Dependency line needs colon or double" while compiling C/C++ code in AIX machines. I...
  • fortifyclient uploadFPR An internal error has occurred
    When you try to upload a .fpr file to Fortify 360 server and you get the below mentioned error. Then, this blog provides one of the route ca...
  • Posting a JIRA bug using Perl Mechanize
    Perl provides modules which can be used as command line browser to automate tasks dependent on web pages. Among them LWP and mechanize are i...
  • Solution to Project Euler Problem 10 - Find the sum of all the primes below two million
    http://projecteuler.net/problem=10 Problem The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. Find the sum of all the primes below two mi...
  • Perforce - can't edit exclusive file already opened
    In perforce, whenever a binary file like doc, xls or ppt files are checked out, it is opened in exclusive lock mode. So no other person can ...
  • What is Apache Hadoop?
    Newbies can get a clean and simple introduction to Hadoop from the following Pivotal blog posts 1)  Demystifying Apache Hadoop in 5 Pictures...
  • Tweak single instance of tinderbox to work on two different perforce servers
    Tinderbox is a tool developed by Mozilla, which collects build logs and presents the logs and the result it in a nice, clear and concise way...
  • How to know architecture of a AIX machine?
    We can easily know the architecture type in Linux or Solaris systems with the help of "uname" command. But uname command in AIX do...
  • Few words about windows service
    What is windows service? it's a program that runs invisibly in the background. But can't the same thing be said for a number of prog...

Categories

  • AIX
  • AIX ssh
  • ANT
  • apache
  • appliance
  • awk
  • branching
  • build-failures
  • cgi-perl
  • code-signing
  • commands
  • continuous Integration
  • cvs
  • cygwin
  • DNS
  • Drupal
  • EPM
  • euler
  • Fortify
  • hadoop
  • hpux
  • html
  • InstallShield
  • iptables
  • iso
  • jenkins-hudson
  • Jira
  • kiwi
  • linux
  • Makefile
  • maven
  • Miscellaneous
  • mysql
  • nexus
  • NFS
  • package
  • Perforce
  • Perl
  • php
  • rbuilder
  • rpath
  • rpm
  • rsync
  • Solaris
  • ssh
  • SuseStudio
  • tinderbox
  • unix
  • Visual studio 2008
  • vmware
  • war
  • webserver
  • wget
  • windows
  • xterm

Blog Archive

  • ▼  2013 (12)
    • ▼  December (1)
      • How to restart windows from command line ?
    • ►  July (2)
    • ►  April (2)
    • ►  March (2)
    • ►  February (3)
    • ►  January (2)
  • ►  2012 (43)
    • ►  December (2)
    • ►  November (1)
    • ►  October (4)
    • ►  September (7)
    • ►  August (5)
    • ►  July (4)
    • ►  June (2)
    • ►  May (3)
    • ►  April (4)
    • ►  March (3)
    • ►  February (1)
    • ►  January (7)
  • ►  2011 (23)
    • ►  December (4)
    • ►  November (9)
    • ►  October (4)
    • ►  September (1)
    • ►  June (2)
    • ►  May (1)
    • ►  April (1)
    • ►  March (1)
  • ►  2010 (15)
    • ►  December (2)
    • ►  November (1)
    • ►  September (3)
    • ►  April (1)
    • ►  February (6)
    • ►  January (2)
  • ►  2009 (28)
    • ►  November (5)
    • ►  October (3)
    • ►  September (2)
    • ►  August (1)
    • ►  July (1)
    • ►  June (5)
    • ►  May (3)
    • ►  April (1)
    • ►  February (2)
    • ►  January (5)
  • ►  2008 (20)
    • ►  December (6)
    • ►  November (3)
    • ►  October (1)
    • ►  September (1)
    • ►  July (8)
    • ►  June (1)
Powered by Blogger.

About Me

Unknown
View my complete profile