Samba and software deployment

Source: http://www.wlug.org.nz

Software deployment is a useful feature of a domain controller, as it allows to distribute software to many clients - and thus, the administrator doesn't have to walk from one workstation to another (10, 20, ... 100 machines...) to install the same piece of software (and uninstall it or upgrade a couple of days later).

One common misconception when comparing Samba to Active Directory, is that with Samba you can't deploy software to your Windows workstations. Another misconception, this time about Active Directory, is that with AD you can deploy software to your workstations. 


So, what's this all about?

Active Directory can only deploy packages in MSI format. This isn't very widely used; mostly software is available in EXE format.

With Samba, as in whole *NIX philosophy, one tool does the job, but does it well.

To distribute software with Samba, one can use WPKG - with this tool, you just configure the software which should be installed / upgraded / uninstalled on a given machine or a group of machines - and next time these Windows workstations are booted, the software you specified is installed / upgraded / uninstalled automatically.

How to Change OpenSUSE user interface from English to Khmer

If you installed openSUSE 11.2 in English language and you wish to change openSUSE Desktop user interface to Khmer, you can follow this instruction :

1. Go to Personal Settings via K menuPersonal Settings (Configure Desktop) → Regional and Language Country/Region & Language

2. In this step, look at the right side and click on Add Language → choose Khmer (if you don't see Khmer, you have to install KDE language pack for Khmer via this instruction) → click Apply

After adding Khmer Language, please make sure that Khmer shows on the top of other languages. This means that KDE Desktop UI will show in Khmer.

3. Logout or restart computer

Hope this will help you

How to setup Khmer(km) translation for KDE

Khmer(km) translation is a package for All the requirement for a desktop in Khmer. This package contain application translations, help files, and a screenshots. (e.g) If you want to change openSUSE user interface from English to Khmer, you have to install Khmer(km) translation for KDE (kde4-l10n-km) before you can change it to Khmer user interface.

To setup kde4-l10n-km for KDE4, you can follow this instruction:

1. Go to Yast via K menuSystemYast (Administrator Settings)

2. In Search box, type kde4-l10n-km and then search that package
→ Tick on kde4-l10n-km that will show on the search result box on right side → click Accept

Note: Please make sure that your system had been already added software repository from openSUSE repository. If not yet, you can add openSUSE software repositories via this instruction.

How to add Software Repositories in openSUSE

Definition from WikiMedia
A software repository is a storage location from which software packages may be retrieved and installed on a computer.

If you keep your computer always connected via a broadband connection, you can install the standard online repository below.


For openSUSE11.2:
Oss :The main repository, open source software only.
http://download.opensuse.org/distribution/11.2/repo/oss/

Non-oss: Non free (as in freedom) software, such as Flashplayer, Java etc.
http://download.opensuse.org/distribution/11.2/repo/non-oss/

For other version, visit here.

To add those repositories, Go to Yast via K menu System Yast (Administrator Settings) → Software software repositories
Then Click Add HTTP →choose Edit Complete URL →then fill some information as following:
  • Repositories name : any names (e.g: oss-11.2)
  • URL of the Repositories: http://download.opensuse.org/distribution/11.2/repo/oss/
Then Click Next → (wait a few minute ) then click NextOK (if you don't wish to add the other repositories)

Note: In case your computer didn't connect via a broadband connection, you can use DVDs repositories for installing any software, but it will ask for DVDs to be inserted every times you install software.

Hope this will help you.

How to make a bootable USB installation stick

Some computers do not have a CD or DVD drive. To install openSUSE on these computers you can make a USB stick that does the same thing as a installation DVD.

1.  First you have to format your stick as FAT32 (either in Windows or in Linux). It needs to be sufficiently large, so 4GB for the Khmer installation DVD, and 8 GB for the normal openSUSE 11.0 installation DVD.

2.  Copy all the contents of the DVD to the USB drive. After that you have to make the stick bootable. To do this you need to install the package syslinux. It is included in the openSUSE dvd, so YaST will take care of that.

Now all we have to do is make the usb stick bootable. You need to do this on the commandline.
First you need know which partition your USB drive has (like /dev/sdb1 or /dev/sdc1). You can find this out by typing this:
mount

It will show you all your mounted partitions. Find the one which is your USB flash drive.
Then you need to unmount the flashdrive. You can do this manually:

umount /dev/sdb1 (or what partition you have)

Or you can click on my computer on your desktop and rightclick your drive and select "safely remove".

3.   The last thing you need is the path where the installation DVD is mounted.

Download a script called mksusebootdisk which will do the rest. It's located here:
mksusebootdisk

Copy this file somewhere on your computer.
Open a konsole and make sure that you are root.

In the following example, I assume that the USB stick partition is /dev/sde1 and that the DVD is mounted in /media/DVD.
Issue this command:

/path/to/script/mksusebootdisk --32 --partition /dev/sde1 /media/DVD

This should take about 20 seconds and you have a fully working bootable USB installation disk!

More information can be found on the openSUSE wiki:
http://en.opensuse.org/SuSE_install_from_USB_drive

How to Add Khmer Unicode Keyboard Layout in Windows 7

I have described in the previous post about changing to KhmerOS font to be displayed on desktop in Windows 7, but it is not exactly the same as the Khmer Unicode Keyboard Layout that I want to talk in this post. A fresh installation of Windows 7 has been already included Khmer Keyboard Layout that uses Space Bar to write Cheung (sub-string). That kind of Keyboard is belong to PAN Localization team. In case you want to change to Khmer keyboard layout of Khmer OS team that uses “Letter J” to write Cheung (sub-string), Please follow this instruction :

  • Go to StartControl PanelRegion and Language keyboards and language → Click on Change Keyboard... 

In this step, please remove all existing Khmer Keyboard Layout that's shown in Installed services. And then add Khmer Unicode Keyoard (NIDA1,0) as the following :
  • Click on Add... → Scroll down to Khmer (Cambodia) → Tick on Khmer Unicode Keyboard (NIDA 1.0). if you don't see it, click on Show more... → then tick on Khmer Unicode Keyboard (NIDA 1.0)

I think the result should be like this:

Enable particular user access SARG reports without admin password

if you want a particular user using the user-manager to be able to view the sarg reports without being prompted for admin password, you have to enable SARG reports in the user panel for that user, for SME server 7.4. And then modify httpd.conf located in /etc/httpd/conf/ as following :

#-------------------------------------------------------
# SARG generated squid access log reports web repository
#-------------------------------------------------------

Alias /squid /var/www/sarg

AllowOverride None
Options +Indexes
order deny,allow
deny from all
allow from $localAccess $externalSSLAccess
AuthName "SME Server Manager"
AuthType Basic
AuthExternal pwauth
require user admin valid-user

#---------------------------------------------------
# End of SARG generated squid access log reports web
#---------------------------------------------------

Then type this command line :

expand-template /etc/httpd/conf/httpd.conf
/etc/rc7.d/S86httpd-e-smith restart

then use that user to log in again .

You might also like:

Related Posts with Thumbnails
 
 
 
 
Copyright © The Life and Work