Sony Ericsson: Make MINE yours

0 Comments »
Sony Ericsson: Make MINE yours

Shared via AddThis

yum server

0 Comments »
Creating your own yum repository is very simple
install ftp/http server.
move all rpms to path like /var/ftp/pub/
next install createrepo rpm
#rpm -ivh craeterepo*
next run create repo rpm
#createrepo /var/ftp/pub/

then restart server ftp/http.
next client side create one repo file like my.repo in /etc/yum.repos.d/
[myrepo]

name=My Repository

baseurl=ftp://IP adress/var/ftp/pub/

enabled=1
next
clean yum
#yum clean all

try and tell me

SAMBA PDC

0 Comments »
  • samba rpms
  • samba
  • samba-common
  • samba-client
  • samba-swat
  • Installation of samba RPMs :

    [root@dc ~]# rpm –ivh samba*

    Or

    [root@dc ~]# yum install samba*

    You can configure Samba to start at boot time using the chkconfig command:

    [root@dc ~]# chkconfig smb on

    You can start/stop/restart Samba after boot time using the smb initialization script as in the examples below:

    [root@dc ~]# service smb start
    [root@dc ~]# service smb stop
    [root@dc ~]# service smb restart
     

    Sometimes Samba may have an ancillary nmb daemon that also needs to be started. The syntax is the same as that for the smb daemon.

    [root@dc ~]# service nmb start
    [root@dc ~]# service nmb stop
    [root@dc ~]# service nmb restart
  • The /etc/samba/smb.conf file is the main configuration file you'll need to edit
  • SWAT, Samba's web based configuration tool enables you configure your smb.conf file without you needing to remember all the formatting. Each SWAT screen is actually a form that covers a separate section of the smb.conf file into which you fill in the desired parameters. For ease of use, each parameter box has its own online help.

    "http://127.0.0.1:901"

  • The enabling and disabling, starting and stopping of SWAT is controlled by xinetd, via a configuration file named /etc/xinetd.d/swat. Here is a sample:

    service swat
    {
     
       port            = 901
       socket_type     = stream
       protocol        = tcp
       wait            = no
       user            = root
       server          = /usr/sbin/swat
       log_on_failure  += USERID
       disable         = no
       only_from       = localhost
     
    }
  • [root@dc ~]# service xinetd start
    [root@dc ~]# service xinetd stop
    [root@dc ~]# service xinetd restart
  • [root@dc ~]# chkconfig xinetd on

    To activate SWAT use:

    [root@dc ~] chkconfig swat on
  • Here's how to set the values using SWAT.

    1. Log into SWAT and click on the [global] section.
    2. Click the Advanced button to see all the options.
    3. Make your changes and click on the Commit Changes button when finished.
    4. Your smb.conf file should resemble the example below when you're finished. You can view the contents of the configuration file by logging in to the samba server via a command prompt and using the cat /etc/samba/smb.conf to verify your changes as you do them.
    [global]
     
           workgroup = MSOFTSERVER
           time server = Yes
           domain logons = Yes
           os level = 65
           preferred master = Yes
           domain master = Yes
           smb passwd file = /etc/samba/smbpasswd
           private dir = /etc/samba
  • How To Create A Samba PDC Administrator User

    To do both SWAT and user administration with Samba you'll need to create administrator accounts on the Samba PDC Linux server.

    Home Environment

    By default, the root user is the Samba administrator, and SWAT requires you to use the Linux root password to be used. Fortunately, you can add workstations to the Windows domain by creating a Samba specific root password. This is done using the smbpasswd command.

    [root@dc ~]# /usr/bin/smbpasswd -a root password

    How To Add Workstations To Your Samba Domain

    Dynamic Creation of Machine Trust Accounts

    Although you can use the manual method, the recommended way of creating machine trust accounts is simply to allow the Samba server to create them as needed when the Windows clients join the domain which known as making a machine account on the fly. You can set this up by editing the /etc/samba/smb.conf file to automatically add the required users.

    The easiest way to do this using SWAT in the Global menu to modify the add machine script parameter.

    [global]
    # <...remainder of parameters...>
    add machine script = /usr/sbin/useradd -d /dev/null -g samba-clients -s /bin/false -M %u

    When you have completed the modifications, you'll need to create the samba-clients Linux group that will be used to help identify the all the domain's Windows clients listed in the /etc/passwd file.

    [root@dc ~]# groupadd samba-clients

    Windows XP Professional

    For the 200x and XP Professional varieties of Windows, create a dynamic Samba machine trust account, then go through these steps:

    1. Press the Windows and Break keys simultaneously to access the System Properties dialogue box.
    2. Click on the 'Network Identification' or 'Computer Name' tab on the top.
    3. Click the "Properties" button.
    4. Click on the "Member of Domain" button.
    5. Also enter your domain name and computer name and then click "OK"
    6. You will be prompted for a user account and password with rights to join a machine to the domain. Enter the information for your Samba administrator. In this home environment scenario, the user would be root with the corresponding smbpasswd password. Now, you should get a "Welcome to " message confirming that you've been added.
    7. Reboot.

    Log in using any account in the /etc/smbpasswd file with your domain as the domain name.

    How To Add Users To Your Samba Domain

    Adding users to a domain has three broad phases. The first is adding a Linux user on the Samba server, the second is creating a Samba smbpasswd that maps to the new Linux user created previously, and the third is to map a Windows drive letter to the user's Linux home directory. Let's take a closer look:

    Adding The Users In Linux

    First, go through the process of adding users in Linux just as you would normally. Passwords won't be necessary unless you want the users to log in to the Samba server via telnet or ssh.

    Create the user

    To create the user, use the command:

    [root@dc ~]# useradd -g 100 peter

    Give them a Linux Password

    Giving them a Linux password is only necessary if the user needs to log into the Samba server directly. If the user does, use this method:

    [root@dc ~]# passwd peter
    Changing password for user peter.
    New password:
    Retype new password:
    passwd: all authentication tokens updated successfully.
    [root@dc ~]#

    Mapping The Linux Users To An smbpassword

    Next, you need to create Samba domain login passwords for the user

    [root@dc ~]# smbpasswd -a username password

    The -a switch adds the user to the /etc/smbpasswd file. Remember the smbpasswd sets the Windows Domain login password for a user, which is different from the Linux login password to log into the Samba box.

    How To Delete Users From Your Samba Domain

    Deleting users from your Samba domain is a two stage process in which you have to remove the user from the Linux server and also remove the user's corresponding smbpasswd entry. Here's how:

    1. Delete the users using the smbpasswd with the -x switch

    [root@dc ~]# smbpasswd -x john
    Deleted user john.
    [root@dc root]#

    2. Delete The Linux User by following the normal deletion process. For example, to delete the user john and all john's files from the Linux server use:

    [root@dc ~]# userdel -r john

    NOTE:

    Command for assigning of IP address & Hostname (using GUI tool).

    [root@dc ~]# sytem-config-network

    Host name: dc.msoftserver.com

    For further reference visit

  • www.linuxhomenetworking.com

    www.samba.org

need answers to few RHCE questions

0 Comments »
1.What command makes sure that the DNS service starts the next time you boot Linux?
answer
#chkconfig named on
2.What file contains the kernel initialization messages?
/etc/dmesg
3.The FTP server is vsFTPd. If you want to make sure it starts the next time you boot into a standard runlevel, what command should you run?
#chkconfig vsftpd on
7.Write down the commands for the following :
a. Display your user account from the /etc/passwd file
cat /etc/passwd | grep usename
b. Find and display all the groups you belong to
#id username
4.You are using the xinetd program to start services. What command makes sure the Kerberos version of Telnet, as configured in /etc/xinetd.d/krb5-telnet, starts the next time you boot Linux? Assume the xinetd service is active.
#chkconfig xinetd on
#chkconfig telnetd on

Ileyana

0 Comments »
latest pretty girl ileyana images click on image ......

LINUX COMMAND COMPLETE REFERENCE

0 Comments »
from a to z all commands available in this book LINUX COMMAND COMPLETE REFERENCE red hat press
http://www.4shared.com/file/41578520/6063421e/Linux_Complete_Command_Reference.html?s=1

LDAP

0 Comments »

Required LDAP Server RPMS

openldap
openldap-clients
openldap-devel
nss_ldap
openldap-servers

Install these rpms using rpm command or yum command or gui package updater.

Create a database directory


#mkdir /var/lib/ldap/example.com
# chown ldap:ldap /var/lib/ldap/example.com

Create an LDAP "root" password


# slappasswd
New password:
Re-enter new password:
{SSHA}v4qLq/qy01w9my60LLX9BvfNUrRhOjQZ
#

Create a Test Account Named ldapuser

# useradd -g users ldapuser
# passwd ldapuser
Changing password for user ldapuser.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.
#

Edit the slapd.conf file


The LDAP server's daemon is named slapd and its configuration file is named /etc/openldap/slapd.conf. Update it with:

  • A database of the default type bdb using the domain suffix example.com made up of domain components (DCs) example and com.
  • The root user with a common name (CN), or nickname, of Manager who, as expected, is part of the example and com DCs.
  • The encrypted version of the LDAP root password as well as the location of the LDAP database.

The configuration file syntax to do this is:

database        bdb
suffix "dc=example,dc=com"
rootdn "cn=Manager,dc=example,dc=com"
rootpw {SSHA}v4qLq/qy01w9my60LLX9BvfNUrRhOjQZ
directory /var/lib/ldap/example.com

Create Your LDAP Database


This process involves migrating your system’s authentication files to the LDAP database you will need to create. Here’s what you need to do:

1. Update your file location database with the updated command. . This will make it easier to find the files you need.

[root@bigboy tmp]# updatedb
Locate your migrate_common.ph file. Here we can see it is located in the /usr/share/openldap/migration/ directory.

[root@bigboy tmp]# locate migrate_common.ph
/usr/share/openldap/migration/migrate_common.ph
[root@bigboy tmp]#
Edit the file and replace all instances of the string “padl” with
the string “example”. Padl is the website used by some of the LDAP
development team. We need our domain to be “example” instead so it
matches our /etc/openldap/slpd.conf file. The migrate_common.ph file
will be used later by the migration script.

[root@bigboy tmp]# vi /usr/share/openldap/migration/migrate_common.ph

For example, at the vi editor’s : prompt, use the command:
%s/padl/example/g

4. Copy the DB_CONFIG.example starter file to your ldap database directory of /var/lib/ldap/example.com.

[root@bigboy tmp]# cp /etc/openldap/DB_CONFIG.example \ /var/lib/ldap/example.com/DB_CONFIG

5. Migrate your system authentication files using the migrate_all_offline.sh script that should reside in the same directory as the migrate_common.ph file.

[root@bigboy tmp]# /usr/share/openldap/migration/migrate_all_offline.sh Creating naming context entries... Migrating groups... Migrating hosts... ... ... ... Preparing LDAP database... => bdb_tool_entry_put: id2entry_add failed: DB_KEYEXIST: Key/data pair already exists (-30996) => bdb_tool_entry_put: txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30996) slapadd: could not add entry dn="cn=raid-am,ou=Services,dc=example,dc=com" (line=16432): txn_aborted! DB_KEYEXIST: Key/data pair already exists (-30996) Migration failed: saving failed LDIF to /tmp/nis.ldif.E14499 [root@bigboy tmp]#

You may get a key pair error for the raid-am service, but it doesn’t appear to affect functionality.

6. LDAP won’t start unless the files in the database directory are owned by the ldap user. Use the chown command to do this.

[root@bigboy tmp]# chown -R ldap:ldap /var/lib/ldap/example.com

7. Start LDAP and make sure it starts on reboot.

[root@bigboy tmp]# service ldap start Starting slapd: [ OK ] [root@bigboy tmp]# chkconfig ldap on
source:http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch31_:_Centralized_Logins_Using_LDAP_and_RADIUS












0 Comments »

1000 Linux commands http://www.4shared.com/file/52516172/66cee73b/Fedora_Linux_Toolbox_1000_Commands_for_Fedora_CentOS_and_Red_Hat_Power_Users.html?s=1

how to use webmin webaliazer tools to squid proxy server analysys and configuration.

0 Comments »




What is Webmin?

Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more.


download webmin rpm from http://www.webmin.com/

What is a webalizer ?

The Webalizer is a GPL application that generates web pages of analysis, from access and usage logs, i.e. it is web log analysis software. It is one of the most commonly used web server administration tools. It was initiated by Bradford L. Barrett in 1997. Statistics commonly reported by Webalizer include: hits; visits; referrers; the visitors' countries; and the amount of data downloaded. These statistics can be viewed graphically and presented by different time frames, such as per day, hour, or month.

install it from your installation medium like OS Dvd ROM. ITs rpm name starts with webaliazer.

here i provide screen shots.















manjari fadnis hot in red

0 Comments »
If you hungry to see more images click on below image............

tamanna

0 Comments »
 
Posted by Picasa

archana

0 Comments »
 
 
Posted by Picasa

priyamani

0 Comments »
 
Posted by Picasa

nayanatara

0 Comments »
 
 
Posted by Picasa

sreya

0 Comments »
 
 
Posted by Picasa

sreya

0 Comments »
 
 
 
 
Posted by Picasa

nikitha

0 Comments »
 
 
 
 
Posted by Picasa

nikitha

0 Comments »
 
 
 
 
Posted by Picasa

bhumika

0 Comments »
 
 
 
Posted by Picasa

ileyana

0 Comments »
 
 
 
 
Posted by Picasa

sindhutolani

0 Comments »
 
 
 
Posted by Picasa