Varinder Singh

Entries tagged as ‘Uncategorized’

LTSP (Linux Terminal Server Project)

April 18, 2009 · 3 Comments

LTSP Installation
Its simple and easy to setup a LTSP (Linux Terminal server Project) server.The link given below has the installion steps. Follow them and its done

Link to LTSP Installation Steps

OS. Fedora 9
Hardware used: Dell LATITUDE | D610 1GB RAM Pentium M 1.8GHZ


The steps I followed

1. # yum install ltsp-server
2. # yum install ltsp-vmclient
3. #echo “/opt/ltsp *(ro,async,no_root_squash)” >> /etc/exports
4. #ifup ltspbr0

# service xinetd start
# serivce ltsp-dhcpd start
# service rpcbind start
# service nfs start
# service sshd start

# chkconfig ldminfod on [ it Gives me follwoing error message]

[root@station11 ~]# chkconfig idminfod on
error reading information on service idminfod: No such file or directory

# chkconfig nbdrootd on
# chkconfig nbdswapd on
# chkconfig tftp on

# ltsp-build-client [ to begin installation of the /opt/ltsp/i386 client chroot.]

Building the ltsp client

Building the ltsp client

Its Done. Now run the command to launch LTSP Client to test.

# ltsp-vmclient

 LTSP Client booting up

LTSP Client booting up

LTSP client Login Scrren

LTSP client Login Scrren

Server and client desktop screen after login

Server and client desktop screen after login

Troubleshooting:

My server has already running dhcp server. It cause and problem while booting the LTSP client with message NO IP Found

After stopping dhcpd and restarting ltsp-dhcpd restart it works fine.

Categories: Uncategorized
Tagged:

Yumcmd (release 0.9) Methods submiited to func list

April 17, 2009 · Leave a Comment

Release 0.9

The code for all yumcmd methods(install(), remove(), groupinstall(), groupremove()) has been submitted to Func list for suggestions.

Project Code
Project Wiki page

Categories: Uncategorized
Tagged:

Func Modules Merged yumjhand+rpms = packages (Release 0.8)

March 27, 2009 · Leave a Comment

yumcmd release 0.8
The two func modules(yumjhand & rpms) merged in new module named ‘packages’

Here is link to code to try

Link to code

To list methods inside the module ‘packages’
[root@station77 ~]# func station66 call packages list_methods
{’station66′: ['verify',
'glob',
'save_config',
'remove',
'inventory',
'install',
'groupinstall',
'groupremove',
'module_description',
'module_version',
'get_method_args',
'module_api_version',
'list_methods']}

To remove packages named ‘Fonts’
[root@station77 ~]# func station66 call packages groupremove Fonts
{’station66′: ['paktype-fonts.noarch 0-2.0-2.fc8 - e',
'lohit-fonts-bengali.noarch 0-2.3.1-1.fc10 - e',
'jomolhari-fonts.noarch 0-0.003-5.fc10 - e',
'padauk-fonts.noarch 0-2.4-2.fc10 - e',
'lohit-fonts-tamil.noarch 0-2.3.1-1.fc10 - e',
'lklug-fonts.noarch 0-0.2.2-6.fc10 - e',
'liberation-fonts.noarch 0-1.04.92-1.fc10 - e',
'kacst-fonts.noarch 0-2.0-1.fc10 - e',
'cjkunifonts-uming.noarch 0-0.2.20080216.1-11.fc10 - e',
'abyssinica-fonts.noarch 0-1.0-2.fc8 - e',
'dejavu-fonts.noarch 0-2.26-2.fc10 - e',
'lohit-fonts-punjabi.noarch 0-2.3.1-1.fc10 - e',
'stix-fonts.noarch 0-0.9-7.fc10 - e',
'thaifonts-scalable.noarch 0-0.4.9-3.fc9 - e',
'un-core-fonts-dotum.noarch 0-1.0.2-0.6.080608.fc10 - e',
'lohit-fonts-kannada.noarch 0-2.3.1-1.fc10 - e',
'lohit-fonts-hindi.noarch 0-2.3.1-1.fc10 - e',
'smc-fonts-meera.noarch 0-04.1-1.fc10 - e',
'lohit-fonts-gujarati.noarch 0-2.3.1-1.fc10 - e',
'khmeros-fonts-base.noarch 0-5.0-3.fc10 - e',
'lohit-fonts-telugu.noarch 0-2.3.1-1.fc10 - e',
'lohit-fonts-maithili.noarch 0-2.3.1-1.fc10 - e',
'dejavu-fonts-experimental.noarch 0-2.26-2.fc10 - e',
'lohit-fonts-oriya.noarch 0-2.3.1-1.fc10 - e']}
[root@station77 ~]#

Help/Suggestions are welcome

Categories: Uncategorized
Tagged:

yumcmd release 0.7

March 22, 2009 · Leave a Comment

Func module yumcmd ver0.7 has been relaesd. In this release the new method named groupinstall() has been added.So now we can Install package-Groups on minions via Func.
To install the Package group on minion. Use the following command on Certmaster

#func host.domain.com call yumjhand groupinstall Fonts

[root@station77 ~]# func station66.meapay.com call –async yumjhand groupinstall Fonts
(’station66.meapay.com’,
['paktype-fonts.noarch 0-2.0-2.fc8 - u',
'lohit-fonts-bengali.noarch 0-2.3.1-1.fc10 - u',
'jomolhari-fonts.noarch 0-0.003-5.fc10 - u',
'padauk-fonts.noarch 0-2.4-2.fc10 - u',
'lohit-fonts-tamil.noarch 0-2.3.1-1.fc10 - u',
'lklug-fonts.noarch 0-0.2.2-6.fc10 - u',
'liberation-fonts.noarch 0-1.04.92-1.fc10 - u',
'kacst-fonts.noarch 0-2.0-1.fc10 - u',
'cjkunifonts-uming.noarch 0-0.2.20080216.1-11.fc10 - u',
'abyssinica-fonts.noarch 0-1.0-2.fc8 - u',
'dejavu-fonts.noarch 0-2.26-2.fc10 - u',
'lohit-fonts-punjabi.noarch 0-2.3.1-1.fc10 - u',
'stix-fonts.noarch 0-0.9-7.fc10 - u',
'thaifonts-scalable.noarch 0-0.4.9-3.fc9 - u',
'un-core-fonts-dotum.noarch 0-1.0.2-0.6.080608.fc10 - u',
'lohit-fonts-kannada.noarch 0-2.3.1-1.fc10 - u',
'lohit-fonts-hindi.noarch 0-2.3.1-1.fc10 - u',
'smc-fonts-meera.noarch 0-04.1-1.fc10 - u',
'lohit-fonts-gujarati.noarch 0-2.3.1-1.fc10 - u',
'khmeros-fonts-base.noarch 0-5.0-3.fc10 - u',
'lohit-fonts-telugu.noarch 0-2.3.1-1.fc10 - u',
'lohit-fonts-maithili.noarch 0-2.3.1-1.fc10 - u',
'dejavu-fonts-experimental.noarch 0-2.26-2.fc10 - u',
'lohit-fonts-oriya.noarch 0-2.3.1-1.fc10 - u'])

if no package name is specified will display the follwoing out put

[root@station77 ~]# [root@station77 ~]# func station66.meapay.com call –async yumjhand groupinstall
(’station66.meapay.com’, ['Please Enter a Group Name to install'])

Project Code

Project News/Wiki Page

Categories: Uncategorized
Tagged:

yumcmd Release 0.6

March 7, 2009 · Leave a Comment

Version 0.6 is released. The new method groupremove is added to this release.
So the particular group of package can be removed via func.

Click here to module Code

Project Wiki page

Categories: Uncategorized
Tagged:

Release ver 0.5

February 13, 2009 · Leave a Comment

The install() method is working fine with new version of func (func 0.24) on fedora 10 with updating following packages.

rpm 4.4.2.3 is updated to 4.6.0
rpm-pyhton 4.4.2.3 updated to 4.6.0

there is no unwanted messages this time..
The bug is filed at Red Hat Bugzilla. The link is given below

Bug at Red Hat Bugzilla

The bug from the code has also been fixed. If the package name is not defined it will display an appropriate message.

Here is link to code

Link to code yumcmd modules ver 0.5

Categories: Uncategorized
Tagged:

Python Performence check script

January 31, 2009 · Leave a Comment

Just a Basic Disk read/write operations through Python Scripts

Link for Scripts

Categories: Uncategorized
Tagged:

Version 0.4 is rleased

January 26, 2009 · Leave a Comment

Func based module for package management in this release conatins two methods. Working fine on Func’s old version 0.18. But dsiplays error on new version(Func 0.24). Here is a part of an error message.

REMOTE_ERROR’,
‘yum.Errors.YumBaseError’,
‘Public key for k3b-1.0.5-3.fc9.x86_64.rpm is not installed

Link to code(yumjhand.py) is here

Yumjhand.py python Code

Complete Error Message(yumjhand-error.txt)

Project Page
Link to Project Page Yumjhand()

Categories: Uncategorized
Tagged:

Partition Recovery with Testdisk

January 23, 2009 · 2 Comments

A great tool to recover data from deleted partitions.

Test Disk Download Page

hope , it may help

Categories: Uncategorized
Tagged:

Fedora Linux Live CD Creation

December 13, 2008 · Leave a Comment

It is very easy to create a Live CD of package of own choice.

The livecd-tools is package is required to install.

#yum install livecd-tools

The Package will install kick start files in /usr/share/livecd-tools directory

We can tailor the file according to our requirement .e.g. add remove packages

we may have the need to modify the line with SELinux –Enforce to SELinux –disabled

To make is ISO image of livecd with slected packages, the command is

#livecd-creator -c /usr/share/livecd-tools/kick-start-file

Categories: Uncategorized
Tagged: