<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3075310880509958829</id><updated>2011-04-21T16:27:09.309-07:00</updated><title type='text'>.......Linux simple manual</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://simplemanual.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3075310880509958829/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://simplemanual.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>simple manual</name><uri>http://www.blogger.com/profile/15634965786627454058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3075310880509958829.post-7566062311421156575</id><published>2008-12-04T23:57:00.000-08:00</published><updated>2008-12-05T01:50:49.920-08:00</updated><title type='text'>Zimbra CLI</title><content type='html'>Start, stop, status of the Zimbra servers.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmcontrol&lt;/span&gt;&lt;br /&gt;Performs mailbox management tasks&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmmailbox&lt;/span&gt;&lt;br /&gt;Performs all provisioning tasks in Zimbra LDAP,&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmprov&lt;/span&gt;&lt;br /&gt;example:&lt;span style="font-style:italic;"&gt; zmprov sp adminname@domain.com password &lt;/span&gt;&lt;br /&gt;          &lt;span style="font-style:italic;"&gt;zmprov ca namauser@domain.com password&lt;/span&gt;&lt;br /&gt;          &lt;span style="font-style:italic;"&gt; zmprov sp namauser@domain.com New_Password&lt;/span&gt;&lt;br /&gt;When you create an account, you may want to pre-create some tags and folders. You can invoke zmmailbox inside of zmprov by using “selectMailbox(sm)”&lt;br /&gt;          &lt;br /&gt;root@efrizal-laptop:/opt/zimbra#  /opt/zimbra/bin/zmprov&lt;br /&gt;prov&gt; ca efri@mail.fery.ok password&lt;br /&gt;953df672-097f-4b5c-b152-0d6e33232026&lt;br /&gt;prov&gt; &lt;br /&gt;prov&gt; sm efri@mail.fery.ok&lt;br /&gt;mailbox: efri@mail.fery.ok, size: 0 B, messages: 0, unread: 0&lt;br /&gt;mbox efri@mail.fery.ok&gt; &lt;br /&gt;&lt;br /&gt;To find the mailbox size for an account&lt;br /&gt;zimbra@efrizal-laptop:~$ &lt;span style="font-style:italic;"&gt;zmmailbox -z-m imi@mail.fery.ok gms&lt;/span&gt;&lt;br /&gt;1.60 MB&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Start, stop, or find the status of zimbra LDAP&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ldap&lt;/span&gt;&lt;br /&gt;Perform a search on an LDAP server&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ldapsearch&lt;/span&gt;&lt;br /&gt;Start, stop, or find the status of the MySql&lt;br /&gt;logmysql&lt;br /&gt;Start, stop the SQL instance for the logger&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;logmysql.server&lt;/span&gt;&lt;br /&gt;Send myslqadmin commands to the logger mysql&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;logmysqladmin&lt;/span&gt;&lt;br /&gt;Start, stop, find the status of the mailboxd server&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;mailboxd&lt;/span&gt;&lt;br /&gt;Enters interactive command-line MySQL session&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;mysql&lt;/span&gt;&lt;br /&gt;Start, stop the SQL instance for the mailbox&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;mysql.server&lt;/span&gt;&lt;br /&gt;Send admin commands to MySQL&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;mysqladmin&lt;/span&gt;&lt;br /&gt;Postfix command to view or modify the postfix&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;postconf&lt;/span&gt;&lt;br /&gt;Start, stop, reload, flush, check, upgrade-&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;postfix&lt;/span&gt;&lt;br /&gt;Lists the accounts and gives the status of&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmaccts&lt;/span&gt;&lt;br /&gt;Start, stop, or find the status of the Amavis-D&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmamavisdct&lt;/span&gt;l&lt;br /&gt;Sart, stop, reload, status for anti-spam service&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmantispamctl&lt;/span&gt;&lt;br /&gt;Start, stop, reload, status for the anti-virus service&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmantivirusctl&lt;/span&gt;&lt;br /&gt;Start, stop, status of Apache service (for spell&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmapachectl&lt;/span&gt;&lt;br /&gt;Performs full backups and incremental backups&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmbackup&lt;/span&gt;&lt;br /&gt;Stops a backup that is in process.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmbackupabort&lt;/span&gt;&lt;br /&gt;Find a specific full backup set&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmbackupquery&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Start, stop, or find the status of Clam AV&lt;br /&gt;zmclamdctl&lt;/span&gt;&lt;br /&gt;Clean iPlanet ICS calendar files&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmcleaniplanetics&lt;/span&gt;&lt;br /&gt;Start, stop, the conversion server or find the&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmconvertctl&lt;/span&gt;&lt;br /&gt;manage self-signed and commercial certificates&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmcertmgr&lt;/span&gt;&lt;br /&gt;General information about the server&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmdumpenv&lt;/span&gt;&lt;br /&gt;Fixes calendar entries with incorrect TZ offset&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmfixtz&lt;/span&gt;&lt;br /&gt;Find the hostname of the Zimbra server&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmhostname&lt;/span&gt;&lt;br /&gt;Start, stop and status of a HSM session.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmhsm&lt;/span&gt;&lt;br /&gt;Execute Java with Zimbra-specific environment&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmjava&lt;/span&gt;&lt;br /&gt;Changes the LDAP password&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmldappasswd&lt;/span&gt;&lt;br /&gt;View and install your Zimbra license&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmlicense&lt;/span&gt;&lt;br /&gt;testing tool&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmlmtpinject&lt;/span&gt;&lt;br /&gt;Used to set or get the local configuration of a&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmlocalconfig&lt;/span&gt;&lt;br /&gt;Zimbra server&lt;br /&gt;Start, stop, reload, or find the status of the Zimbra&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmloggerctl&lt;/span&gt;&lt;br /&gt;Start, stop, status of the swatch that is monitoring&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmlogswatchctl&lt;/span&gt;&lt;br /&gt;logging&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Start, stop, reload, or find the status of the&lt;br /&gt;zmmailboxdctl&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Used to move selected mailboxes from one&lt;br /&gt;zmmailboxmove&lt;/span&gt;&lt;br /&gt;zibra server to another.&lt;br /&gt;Search across mailboxes to find messages and&lt;br /&gt;zmmboxsearch&lt;br /&gt;example: &lt;span style="font-style:italic;"&gt;zmmboxsearch -m user1@yourdomain.com,user2@yourdomain.com -q “in:inbox” -d&lt;br /&gt;/var/tmp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Trace messages&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmmsgtrace&lt;/span&gt;&lt;br /&gt;Start, stop, or find the status of the MTA&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmmtaconfigctl&lt;/span&gt;&lt;br /&gt;Start, stop, or find the status of the MTA&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmmtactl&lt;/span&gt;&lt;br /&gt;Change logger MySQL password&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmmylogpasswd&lt;/span&gt;&lt;br /&gt;Change MySQL passwords&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmmypasswd&lt;/span&gt;&lt;br /&gt;Status of mailbox SQL instance&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmmysqlstatus&lt;/span&gt;&lt;br /&gt;Start, stop, or find the status of the perdition IMAP&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmperditionctl&lt;/span&gt;&lt;br /&gt;Start or stop IMAP proxy service&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmproxyctl&lt;/span&gt;&lt;br /&gt;Performs full restores and incremental restores&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmrestore&lt;/span&gt;&lt;br /&gt;Restore accounts from the LDAP backup&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmrestoreldap&lt;/span&gt;&lt;br /&gt;Performs full restore when the Zimbra server&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmrestoreoffline&lt;/span&gt;&lt;br /&gt;Start, stop, or find the status of saslauthd&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmsaslauthdctl&lt;/span&gt;&lt;br /&gt;Schedule backups &lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmschedulebackup&lt;/span&gt;&lt;br /&gt;Used for other zm scripts, do not use&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmshutil&lt;/span&gt;&lt;br /&gt;Retrieve spam and relocate it to a specified directory&lt;br /&gt;z&lt;span style="font-weight:bold;"&gt;mspamextract&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Start, stop, or find the status of the spell check&lt;br /&gt;zmspellctl&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;server&lt;/span&gt;&lt;br /&gt;Generate Zimbra’s SSH encryption keys&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;zmsshkeygen&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3075310880509958829-7566062311421156575?l=simplemanual.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://simplemanual.blogspot.com/feeds/7566062311421156575/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3075310880509958829&amp;postID=7566062311421156575' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3075310880509958829/posts/default/7566062311421156575'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3075310880509958829/posts/default/7566062311421156575'/><link rel='alternate' type='text/html' href='http://simplemanual.blogspot.com/2008/12/zimbra-cli.html' title='Zimbra CLI'/><author><name>simple manual</name><uri>http://www.blogger.com/profile/15634965786627454058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3075310880509958829.post-6364009125328136642</id><published>2008-11-24T02:01:00.000-08:00</published><updated>2008-11-24T02:31:28.433-08:00</updated><title type='text'>Instalation with Kickstart</title><content type='html'>kickstart installations can be performed using a local CD-ROM, a local hard drive, or via NFS, FTP, or HTTP.&lt;br /&gt;&lt;br /&gt;To use kickstart, you must:&lt;br /&gt;&lt;br /&gt;1. Create a kickstart file.&lt;br /&gt;2. Create a boot diskette with the kickstart file or make the kickstart file available on the network.&lt;br /&gt;3. Make the installation tree available.&lt;br /&gt;4. Start the kickstart installation.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;fallowing this step:&lt;br /&gt;1. mkdir –p /config/kickstart&lt;br /&gt;&lt;br /&gt;2.Configure you NFS&lt;br /&gt;vi /etc/exports&lt;br /&gt;/config/kickstart *(ro,no_squash_root)&lt;br /&gt;&lt;br /&gt;3. Run NFS&lt;br /&gt;/etc/init.d/portmap restart&lt;br /&gt;/etc/init.d/nfs restart&lt;br /&gt;if you have any change your configuration run this command&lt;br /&gt;exportfs –ra&lt;br /&gt;&lt;br /&gt;4.Run Kicstart configuration&lt;br /&gt;system-config-kickstart&lt;br /&gt;(basic instalation, bootloader, partition, networking, authentication, firewall,&lt;br /&gt;Xwindow, packet, etc)&lt;br /&gt;&lt;br /&gt;5.Save Configuration&lt;br /&gt;Klik File | save as =&gt; ks.cfg&lt;br /&gt;mcopy ks.cfg a:&lt;br /&gt;&lt;br /&gt;6. Now try boot with usb.floppy or disk&lt;br /&gt;linux ks=floppy&lt;br /&gt;linux ks=hd:fd0:/ks.cfg&lt;br /&gt;linux ks=cdrom:/ks.cfg&lt;br /&gt;ks=nfs:&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3075310880509958829-6364009125328136642?l=simplemanual.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://simplemanual.blogspot.com/feeds/6364009125328136642/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3075310880509958829&amp;postID=6364009125328136642' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3075310880509958829/posts/default/6364009125328136642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3075310880509958829/posts/default/6364009125328136642'/><link rel='alternate' type='text/html' href='http://simplemanual.blogspot.com/2008/11/instaltion-with-kictstart.html' title='Instalation with Kickstart'/><author><name>simple manual</name><uri>http://www.blogger.com/profile/15634965786627454058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3075310880509958829.post-2948260977384667573</id><published>2008-11-24T00:40:00.000-08:00</published><updated>2008-11-24T03:04:07.999-08:00</updated><title type='text'>Network printer with cups</title><content type='html'>Once you have set the IP address you can access the printer or print server using the ipp, lpd, or socket backends. The following is a list of common network interfaces and printer servers and the settings you should use with CUPS:&lt;br /&gt;&lt;br /&gt;    http://hostname:631/ipp/&lt;br /&gt;    http://hostname:631/ipp/port1&lt;br /&gt;&lt;br /&gt;    ipp://hostname/ipp/&lt;br /&gt;    ipp://hostname/ipp/port1&lt;br /&gt;&lt;br /&gt;    lpd://hostname/queue&lt;br /&gt;&lt;br /&gt;    socket://hostname&lt;br /&gt;    socket://hostname:9100&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Let's we start to configure cups server :&lt;br /&gt;1.open your browser and type url http://localhost:631 or http://ip-address:631&lt;br /&gt;2.Klik Add Printer &lt;br /&gt;3.Entry printer name(exp:&lt;span style="font-weight:bold;"&gt;pr&lt;/span&gt;) location and decription.&lt;br /&gt;4.Choose your printer device&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_yqEvdRelaOY/SSqIVHMYejI/AAAAAAAAADk/gAPvbvcjNAE/s1600-h/2.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 256px;" src="http://1.bp.blogspot.com/_yqEvdRelaOY/SSqIVHMYejI/AAAAAAAAADk/gAPvbvcjNAE/s320/2.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5272176210080201266" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;5.Choose Make/Manufakture your printer&lt;br /&gt;6.Choose Model/Driver for printer&lt;br /&gt;7.Enter username and Password for cups (exp: username:root password:1234)&lt;br /&gt;8.Set printer option&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_yqEvdRelaOY/SSqI0rrdXVI/AAAAAAAAADs/p8LRSHrmoTI/s1600-h/5.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 256px;" src="http://4.bp.blogspot.com/_yqEvdRelaOY/SSqI0rrdXVI/AAAAAAAAADs/p8LRSHrmoTI/s320/5.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5272176752450166098" /&gt;&lt;/a&gt;&lt;br /&gt;9.Set as default for this printer&lt;br /&gt;10.Print test page&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Configuration for client cups:&lt;br /&gt;1.open your browser and type url http://localhost:631 or http://ip-address:631/pr&lt;br /&gt;2.Klik Add Printer&lt;br /&gt;3.Entry printer name, location and decription.&lt;br /&gt;4.Choose your printer device (you can use http exp: http://ip-adress-server/printers/pr&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_yqEvdRelaOY/SSqJYEBuSzI/AAAAAAAAAD0/GiitaAOAkOw/s1600-h/9.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 256px;" src="http://3.bp.blogspot.com/_yqEvdRelaOY/SSqJYEBuSzI/AAAAAAAAAD0/GiitaAOAkOw/s320/9.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5272177360281422642" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_yqEvdRelaOY/SSqJuO7iIII/AAAAAAAAAD8/qXP-1lS4IUA/s1600-h/10.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 256px;" src="http://3.bp.blogspot.com/_yqEvdRelaOY/SSqJuO7iIII/AAAAAAAAAD8/qXP-1lS4IUA/s320/10.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5272177741165371522" /&gt;&lt;/a&gt;&lt;br /&gt;5.Choose Make/Manufakture your printer&lt;br /&gt;6.Choose Model/Driver for printer&lt;br /&gt;7.Enter username and Password for cups (exp: username:root password:password)&lt;br /&gt;8.Set printer option&lt;br /&gt;9.Set as default for this printer&lt;br /&gt;10.Print test page&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3075310880509958829-2948260977384667573?l=simplemanual.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://simplemanual.blogspot.com/feeds/2948260977384667573/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3075310880509958829&amp;postID=2948260977384667573' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3075310880509958829/posts/default/2948260977384667573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3075310880509958829/posts/default/2948260977384667573'/><link rel='alternate' type='text/html' href='http://simplemanual.blogspot.com/2008/11/netwotk-printer-with-cups.html' title='Network printer with cups'/><author><name>simple manual</name><uri>http://www.blogger.com/profile/15634965786627454058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_yqEvdRelaOY/SSqIVHMYejI/AAAAAAAAADk/gAPvbvcjNAE/s72-c/2.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3075310880509958829.post-6835331709390082946</id><published>2008-11-16T20:19:00.000-08:00</published><updated>2008-11-17T01:09:38.781-08:00</updated><title type='text'>Quota user in Linux</title><content type='html'>For the implementation of disk quotas follow these steps:&lt;br /&gt;&lt;br /&gt;1.Check whether your hard drive / and /home one partition or no.&lt;br /&gt;&lt;br /&gt;1.Edit file /etc/fstab&lt;br /&gt;  /dev/hda5   /home     ext3    defaults,usrquota,grpquota  1 2 &lt;br /&gt;&lt;br /&gt;2. Make files db quota&lt;br /&gt;   touch /home/aquota.user&lt;br /&gt;   touch /home/aquota.group &lt;br /&gt;&lt;br /&gt;3.Remount File System&lt;br /&gt;   mount -oremount /home &lt;br /&gt;&lt;br /&gt;4.Make table current disk usage per file system&lt;br /&gt;  quotacheck -vug  /home -m &lt;br /&gt;&lt;br /&gt;5.quotaon&lt;br /&gt;  quotaon -vug /home&lt;br /&gt;&lt;br /&gt;6.List quota&lt;br /&gt;  repquota -a&lt;br /&gt;&lt;br /&gt;7. Make quota per user&lt;br /&gt;   setquota -u very 100000 110000 0 0 -a&lt;br /&gt;&lt;br /&gt;have i nice try.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3075310880509958829-6835331709390082946?l=simplemanual.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://simplemanual.blogspot.com/feeds/6835331709390082946/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3075310880509958829&amp;postID=6835331709390082946' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3075310880509958829/posts/default/6835331709390082946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3075310880509958829/posts/default/6835331709390082946'/><link rel='alternate' type='text/html' href='http://simplemanual.blogspot.com/2008/11/quota-user-in-linux.html' title='Quota user in Linux'/><author><name>simple manual</name><uri>http://www.blogger.com/profile/15634965786627454058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3075310880509958829.post-1769936803525005549</id><published>2008-11-10T04:02:00.000-08:00</published><updated>2008-11-10T05:06:39.629-08:00</updated><title type='text'>Instalation linux with NFS</title><content type='html'>NFS Configuration&lt;br /&gt;Choose a directory in which to place the CD ISO images. For /media/cdrom, we'll call the directory /mnt/cdrom. &lt;br /&gt;&lt;br /&gt;Export that directory via NFS&lt;br /&gt;Do all this as user root. Once the install CD's are properly loaded in the directory, that directory must be made available on the local network. Add the following to /etc/exports:&lt;br /&gt;&lt;br /&gt;vi /etc/exports&lt;br /&gt;&lt;br /&gt;/mnt/cdrom  192.168.1.0/24 localhost(ro)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;mkdir -p /mnt/cdrom&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;mount -t iso9660 -o ro /media/cdrom /mnt/cdrom&lt;br /&gt;&lt;br /&gt;/etc/init.d/portmap restart&lt;br /&gt;/etc/init.d/nfs start&lt;br /&gt;&lt;br /&gt;test nfs for localhost&lt;br /&gt;&lt;br /&gt;mkdir /mnt/nfs&lt;br /&gt;&lt;br /&gt;mount -t nfs localhost:/mnt/cdrom /mnt/nfs&lt;br /&gt;&lt;br /&gt;Now, you cek nfs for network&lt;br /&gt;&lt;br /&gt;mount -t nfs 192.168.1.110:/mnt/cdrom /mnt/nfs&lt;br /&gt;&lt;br /&gt;if mount success, then you make diskboot. &lt;br /&gt;&lt;br /&gt;cd /mnt/cdrom/images&lt;br /&gt;&lt;br /&gt;dd if=diskboot.img of=/dev/sda1&lt;br /&gt;&lt;br /&gt;client&lt;br /&gt;you must setting BIOS to firstboot to USB or Floppy, if its ok you type commnad :&lt;br /&gt;boot: linux askmethod&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If that command fails, or if you can't see the files and directories inside /mnt/cdrom, then something's wrong and you need to troubleshoot before moving on to the next step.&lt;br /&gt;Check that you're not blocked by iptables&lt;br /&gt;The iptables software relies on portmap to map some ports at high addresses. These high ports can change each time iptables is restarted. Therefore, these high ports can be blocked by the client machine's firewall, preventing NFS access. The solution is:&lt;br /&gt;&lt;br /&gt;   1. Force the high port to be known&lt;br /&gt;   2. Fix the firewall to pass these ports&lt;br /&gt;&lt;br /&gt;Diagnosing the Problem&lt;br /&gt;If you can't mount NFS shares and can't figure out why, try mounting them from localhost on the share host:&lt;br /&gt;&lt;br /&gt;mount -t nfs -o ro localhost:/media/cdrom /mnt/cdrom&lt;br /&gt;&lt;br /&gt;If the preceding works whereas mounts from other hosts do not, it's an excellent indication that you're firewall blocking your NFS. To really make sure, *very temporarily* create an overly permissive firewall. If the NFS mounting problem goes away, you have an iptables problem that can be fixed with iptables configuration.&lt;br /&gt;&lt;br /&gt;Creation of an overly permissive firewall is described later in this article.&lt;br /&gt;Finding or Creating Your iptables Configuration File&lt;br /&gt;The usual config file for iptables is /etc/sysconfig/iptables., but it could be elsewhere. To find the location of the iptables configuration file, look in  /etc/rc.d/init.d/iptables at the code in save(). This code contains an environment variable set to the intended location of the config file. On Mandy 9 boxes this is called $IPTABLES_CONFIG. Next look through /etc/rc.d/init.d/iptables  to determine how that variable is set. In Mandy 9.0 it's set near the top of the file. Once you know the intended config file, you can look for it, and if it doesn't exist, you can create it.&lt;br /&gt;&lt;br /&gt;Instead, the boot process builds up iptablescommand by command. In my opinion having the config file is much easier for troubleshooting. So if you don't have /etc/sysconfig/iptables, your first step is to create it.&lt;br /&gt;&lt;br /&gt;WARNING&lt;br /&gt;&lt;br /&gt;ALWAYS make absolutely sure there's no existing iptables config file before creating one, because overwriting your existing firewall is a terrible thing.&lt;br /&gt;&lt;br /&gt;If you're sure you don't have a config file (look elsewhere besides /etc/sysconfig/iptables), use the following command to create one:&lt;br /&gt;&lt;br /&gt;service iptables restart&lt;br /&gt;service iptables save&lt;br /&gt;&lt;br /&gt;The first command restarts iptables, putting it in a known state. The second writes the config file. &lt;br /&gt;&lt;br /&gt;service iptables save&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Don't create an overly permissive firewall if you're in an extremely hostile environment. Either disconnect the machine from the main network and test it with a small one not connected to the Internet (i.e. null modem cable or equivalent), or perform more troubleshooting steps to determine the nature of the problem without undue exposure to crackers.&lt;br /&gt;&lt;br /&gt;Edit your firewall config file (probably /etc/sysconfig/iptables). Go to the filter chain, which starts with the string *filter. Right above the first -Aline in the filter chain, insert the following line:&lt;br /&gt;&lt;br /&gt;[0:0] -A INPUT -j ACCEPT&lt;br /&gt;&lt;br /&gt;The preceding line tells the filter chain to accept all packets from everywhere. Restart iptables and try your mount again. If it succeeds, you've toggled the symptom with the client firewall, so now you know where to troubleshoot.&lt;br /&gt;&lt;br /&gt;To foil script kiddies, IMMEDIATELY remove the line you just inserted.&lt;br /&gt;Allowing NFS Through Your Client Firewall&lt;br /&gt;Your first step is to view the output of rpcinfo to see what ports you're using. The session might look something like this:&lt;br /&gt;&lt;br /&gt;rpcinfo -p 192.168.100.2&lt;br /&gt;   program vers proto   port&lt;br /&gt;    100000    2   tcp    111  portmapper&lt;br /&gt;    100000    2   udp    111  portmapper&lt;br /&gt;    100021    1   udp  32886  nlockmgr&lt;br /&gt;    100021    3   udp  32886  nlockmgr&lt;br /&gt;    100021    4   udp  32886  nlockmgr&lt;br /&gt;    100011    1   udp    808  rquotad&lt;br /&gt;    100011    2   udp    808  rquotad&lt;br /&gt;    100011    1   tcp    811  rquotad&lt;br /&gt;    100011    2   tcp    811  rquotad&lt;br /&gt;    100003    2   udp   2049  nfs&lt;br /&gt;    100003    3   udp   2049  nfs&lt;br /&gt;    100005    1   udp  32888  mountd&lt;br /&gt;    100005    1   tcp  33448  mountd&lt;br /&gt;    100005    2   udp  32888  mountd&lt;br /&gt;    100005    2   tcp  33448  mountd&lt;br /&gt;    100005    3   udp  32888  mountd&lt;br /&gt;    100005    3   tcp  33448  mountd&lt;br /&gt;[root@mydesk root]# &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In the preceding notice that the mountd daemon is assigned two different ports. Restart nfs, run rpcinfo again, and you'll likely see the ports change. The changes are due to the actions of the portmapper program. I think you'll agree that makes firewalling somewhat challenging.&lt;br /&gt;&lt;br /&gt;The simplest solution is to hard code the mountd ports to a specific value. To do this, ON THE NFS SERVERedit the /etc/rc.d/init.d/nfsscript.&lt;br /&gt;&lt;br /&gt;One solution is to create a script that grep's the output of the rpcinfo command, turns the mountd lines into iptables commands, and updates iptables. Workable, but a challenge, especially because each time you rerun the command you must remove the iptables lines from the previous run. An&lt;br /&gt;&lt;br /&gt;Create one or more NFS aware boot floppies&lt;br /&gt;WARNING&lt;br /&gt;&lt;br /&gt;When using the dd command to write to device /dev/fd0, always wait until the command finishes AND the floppy light goes out before removing the floppy.&lt;br /&gt;&lt;br /&gt;NOTE&lt;br /&gt;&lt;br /&gt;If you have trouble finding reliable floppy media, you can Use the floppy image to create a bootable CD equivalent to the bootable floppy.&lt;br /&gt;&lt;br /&gt;On most distros, the first CD contains a directory called images. This directory contains various images to make bootable floppies. Place a known good, write enabled floppy in the server's drive, and make your boot floppies:&lt;br /&gt;&lt;br /&gt;umount /mnt/cdrom&lt;br /&gt;mount -o loop,ro /media/cdrom/rh8iso /mnt/cdrom&lt;br /&gt;dd if=/mnt/images/bootnet.img of=/dev/fd0&lt;br /&gt;&lt;br /&gt;umount /mnt/cdrom&lt;br /&gt;dd if=//images/network.img of=/dev/fd0&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3075310880509958829-1769936803525005549?l=simplemanual.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://simplemanual.blogspot.com/feeds/1769936803525005549/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3075310880509958829&amp;postID=1769936803525005549' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3075310880509958829/posts/default/1769936803525005549'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3075310880509958829/posts/default/1769936803525005549'/><link rel='alternate' type='text/html' href='http://simplemanual.blogspot.com/2008/11/instalation-linux-with-nfs.html' title='Instalation linux with NFS'/><author><name>simple manual</name><uri>http://www.blogger.com/profile/15634965786627454058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3075310880509958829.post-2839947092699141200</id><published>2008-10-22T02:06:00.000-07:00</published><updated>2008-12-01T02:17:57.106-08:00</updated><title type='text'>Primary Domain Controller (PDC)</title><content type='html'>Primary Domain Controller (PDC) is a server computer in a pre-Windows 2000 NT server Domain. A domain is a concept used in NT server operating systems whereby a user may be granted access to a number of computer resources with the use of a single username and password combination.&lt;br /&gt;&lt;br /&gt;Such domains have at least a Primary Domain Controller, and will often have one or more Backup Domain Controllers (BDCs). The PDC has the master copy of the user accounts database which it can access and modify. The BDC computers have a copy of this database, but these copies are read-only. The PDC will replicate its account database to the BDCs on a regular basis. The BDCs exist in order to provide a backup to the PDC, and can also be used to authenticate users logging on to the network. If a PDC should fail, one of the BDCs can then be promoted to take its place. The PDC will usually be the first domain controller that was created unless it was replaced by a promoted BDC.&lt;br /&gt;&lt;br /&gt;In later releases of Windows, such as Windows 2000, NT 4 type domains have been superseded by Active Directory. In Active Directory domains, the concept of Primary and Backup Domain Controllers doesn't exist. Instead, the domain controllers in these domains are all considered to be equal in that all controllers have full access to the accounts databases stored on their machines.&lt;br /&gt;&lt;br /&gt;However, in these later releases of Windows, an Active Directory FSMO role named PDC emulator master does exist in each domain. This PDC emulator master does not have the same special role in replication as the Primary Domain Controller in pre-Windows 2000 systems, but does have certain additional responsibilities:&lt;br /&gt;&lt;br /&gt;    * The PDC emulator master acts in place of the Primary Domain Controller if there are Windows NT 4.0 domain controllers (BDCs) remaining within the domain, acting as a source for them to replicate from.&lt;br /&gt;    * The PDC emulator master receives preferential replication of password changes within the domain. As password changes take time to replicate across all the domain controllers in an Active Directory domain, the PDC emulator master receives notification of password changes immediately, and if a logon attempt fails at another domain controller, that domain controller will forward the logon request to the PDC emulator master before rejecting it.&lt;br /&gt;    * The PDC emulator master also serves as the machine to which all domain controllers in the domain will synchronise their clocks. It, in turn, should be configured to synchronise to an external NTP time source.&lt;br /&gt;&lt;br /&gt;PDC has been faithfully recreated on the Samba emulation of Microsoft's SMB client/server system.&lt;br /&gt;&lt;br /&gt;this is configuration in file /etc/samba/smb.conf&lt;br /&gt;&lt;br /&gt;[global]&lt;br /&gt;# smb.conf is the main Samba configuration file. You find a full commented&lt;br /&gt;# version at /usr/share/doc/packages/samba/examples/smb.conf if the&lt;br /&gt;# samba-doc package is installed.&lt;br /&gt;# Date: 2005-09-13&lt;br /&gt;[global]&lt;br /&gt;        workgroup = NAUFAL-NT&lt;br /&gt;        netbios name = NAUFAL-PDC&lt;br /&gt;        map to guest&lt;br /&gt;        logon path = \\%L\profiles\%U&lt;br /&gt;        logon drive = P:&lt;br /&gt;        add machine script = /usr/sbin/useradd -c Machine -d /dev/null -s /bin/false %m$&lt;br /&gt;        domain logons = Yes&lt;br /&gt;        domain master = Yes&lt;br /&gt;        local master = Yes&lt;br /&gt;        os level = 75&lt;br /&gt;        preferred master = Yes&lt;br /&gt;        security = user&lt;br /&gt;        encrypt password = Yes&lt;br /&gt;[homes]&lt;br /&gt;        comment = Home Directories&lt;br /&gt;        valid users = %S&lt;br /&gt;        browseable = No&lt;br /&gt;        read only = No&lt;br /&gt;        inherit acls = Yes&lt;br /&gt;[netlogon]&lt;br /&gt;        comment = Network Logon Service&lt;br /&gt;        path = /var/lib/samba/netlogon&lt;br /&gt;        write list = root&lt;br /&gt;[profiles]&lt;br /&gt;        comment = Network Profiles Service&lt;br /&gt;        path = /var/lib/samba/profiles&lt;br /&gt;        read only = No&lt;br /&gt;        create mask = 0600&lt;br /&gt;        directory mask = 0700&lt;br /&gt;        inherit acls = Yes&lt;br /&gt;[printers]&lt;br /&gt;        comment = All Printers&lt;br /&gt;        path = /var/tmp&lt;br /&gt;        printable = Yes&lt;br /&gt;        create mask = 0600&lt;br /&gt;        browseable = No&lt;br /&gt;&lt;br /&gt;Theb you make password for user root samba :&lt;br /&gt;# smbpasswd -a root&lt;br /&gt;Make directory for share profile anda netlogon  &lt;br /&gt;&lt;br /&gt;# mkdir -p /var/lib/samba/netlogon&lt;br /&gt;# mkdir -p /var/lib/samba/profiles&lt;br /&gt;# chmod 1777 /var/lib/samba/profiles&lt;br /&gt;# /etc/init.d/smb restart&lt;br /&gt;#testparam&lt;br /&gt;&lt;br /&gt;This some picture if you have trouble connection from windows to pdc:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_yqEvdRelaOY/SP70-c7AyHI/AAAAAAAAABM/rZZFlrnJtcM/s1600-h/connection+win+to+pdc.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_yqEvdRelaOY/SP70-c7AyHI/AAAAAAAAABM/rZZFlrnJtcM/s320/connection+win+to+pdc.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5259910768568092786" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_yqEvdRelaOY/SP73Dy7YarI/AAAAAAAAABU/_X_qEUOGd2s/s1600-h/connection+win+to+pdc2.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_yqEvdRelaOY/SP73Dy7YarI/AAAAAAAAABU/_X_qEUOGd2s/s320/connection+win+to+pdc2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5259913059397823154" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_yqEvdRelaOY/SP73VYaiQdI/AAAAAAAAABc/g8A66Z8n4lM/s1600-h/CONNECTIONwith+pdc3.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_yqEvdRelaOY/SP73VYaiQdI/AAAAAAAAABc/g8A66Z8n4lM/s320/CONNECTIONwith+pdc3.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5259913361518379474" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_yqEvdRelaOY/SP73of5rrfI/AAAAAAAAABk/tjdPqk1NbCc/s1600-h/conection+with+pdc4.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_yqEvdRelaOY/SP73of5rrfI/AAAAAAAAABk/tjdPqk1NbCc/s320/conection+with+pdc4.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5259913689945583090" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;then you restart your computer, login with username and password samba.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_yqEvdRelaOY/SP733LZ2kLI/AAAAAAAAABs/ohIc4G5SojM/s1600-h/conection+with+pdc5.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_yqEvdRelaOY/SP733LZ2kLI/AAAAAAAAABs/ohIc4G5SojM/s320/conection+with+pdc5.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5259913942141407410" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;now you must modifikasi your registry, type regedit in run program&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_yqEvdRelaOY/SP74D8mKsjI/AAAAAAAAAB0/cTwfe2Sr_dM/s1600-h/conection+with+pdc6.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_yqEvdRelaOY/SP74D8mKsjI/AAAAAAAAAB0/cTwfe2Sr_dM/s320/conection+with+pdc6.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5259914161504825906" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;then you choose HKEY LOCAL MACHINE |Current controlset | Service | Netlogon |Parameters&lt;br /&gt;&lt;br /&gt;change 1 with 0&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_yqEvdRelaOY/SP74Q5ZTAQI/AAAAAAAAAB8/4G8sEUXLnOo/s1600-h/conection+with+pdc7.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://3.bp.blogspot.com/_yqEvdRelaOY/SP74Q5ZTAQI/AAAAAAAAAB8/4G8sEUXLnOo/s320/conection+with+pdc7.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5259914383983837442" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3075310880509958829-2839947092699141200?l=simplemanual.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://simplemanual.blogspot.com/feeds/2839947092699141200/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3075310880509958829&amp;postID=2839947092699141200' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3075310880509958829/posts/default/2839947092699141200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3075310880509958829/posts/default/2839947092699141200'/><link rel='alternate' type='text/html' href='http://simplemanual.blogspot.com/2008/10/primary-domain-controller-pdc.html' title='Primary Domain Controller (PDC)'/><author><name>simple manual</name><uri>http://www.blogger.com/profile/15634965786627454058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_yqEvdRelaOY/SP70-c7AyHI/AAAAAAAAABM/rZZFlrnJtcM/s72-c/connection+win+to+pdc.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3075310880509958829.post-6574780924273080192</id><published>2008-10-22T01:04:00.000-07:00</published><updated>2008-10-22T01:32:56.038-07:00</updated><title type='text'>bootloader in linux</title><content type='html'>Boot loader in linux&lt;br /&gt;&lt;br /&gt;The boot loader phase varies by platform. Since the earlier phases are not specific to the OS, the boot process is considered to start:&lt;br /&gt;&lt;br /&gt;  * For x86 or x86-64: when the partition boot sector code is executed in real mode and loads the first stage boot loader (typically a part of LILO or GRUB).&lt;br /&gt;&lt;br /&gt;From that point, the boot process continues as follows:&lt;br /&gt;&lt;br /&gt;The first stage boot loader loads the remainder of the boot loader, which typically gives a prompt asking which operating system (or type of session) the user wishes to initialize. Under LILO, this is done via the map installer which reads the configuration file /etc/lilo.conf to identify the available systems. It includes data such as boot partition and kernel location for each, as well as customized options if any. Upon selection, the appropriate kernel is loaded into RAM memory as an image file ("initrd"), and along with the appropriate parameters, control is passed to it.&lt;br /&gt;&lt;br /&gt;LILO and GRUB differ in some ways:&lt;br /&gt;&lt;br /&gt;  * LILO does not understand file systems, so it uses raw disk offsets and the BIOS for data load. It loads the menu code, and then depending on the response loads either the 512 byte disk sectors for an MBR system such as Microsoft Windows, or the kernel image for Linux.&lt;br /&gt;  * GRUB by contrast does have understanding of the common ext2 and ext3 file systems. Because GRUB stores its data in a configuration file rather than the MBR and contains a command line interface, it is often easier to rectify or modify GRUB if misconfigured or corrupt.&lt;br /&gt;&lt;br /&gt;GRUB&lt;br /&gt;&lt;br /&gt;  Source: Red Hat GRUB description.&lt;br /&gt;&lt;br /&gt; 1. The first stage loader is read by the BIOS from the MBR (master boot record).&lt;br /&gt; 2. The first stage loads the rest of the boot loader (second stage). If the second stage is on a large drive, sometimes an intermediate 1.5 stage is loaded, which contains extra code to allow cylinders above 1024, or LBA type drives, to be read. The 1.5 boot loader is stored (if needed) in the MBR or the boot partition.&lt;br /&gt; 3. The second stage boot loader executes, and displays the GRUB startup menu. It also allows choice of operating environment, and examination of system parameters.&lt;br /&gt; 4. When an operating system is chosen, it is loaded and control is passed.&lt;br /&gt;&lt;br /&gt;GRUB supports both direct and chain-loading boot methods, LBA, ext2, and "a true command-based, pre-OS environment on x86 machines". It contains three interfaces: a selection menu, a configuration editor, and a command line console.&lt;br /&gt;&lt;br /&gt;LILO&lt;br /&gt;&lt;br /&gt;LILO, the older of the two boot loaders, is almost identical to GRUB in process, except that it does not contain a command line interface. Thus all changes must be made to its configuration and written to the MBR, and then the system restarted. An error in configuration can therefore leave a disk unable to be booted without use of a separate boot device (floppy disk etc) containing a program capable of fixing this. Additionally it does not understand file systems, instead locations of image files are stored within the MBR directly and the BIOS is used to access them directly.&lt;br /&gt;&lt;br /&gt;Loadlin&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Yet another way to boot Linux is from DOS or Windows 9x, where the Linux kernel completely replaces the running copy of this operating system. This can be useful in the case of hardware which needs to be switched on via software and for which such configuration programs are only available for DOS, whereas not for Linux, those being proprietary to the manufacturer and kept an industry secret. This tedious booting method is less necessary nowadays, as Linux has drivers for a multitude of hardware devices, but it used to be helpful in the past.&lt;br /&gt;Another case is when the Linux is located on a storage device which is not available to the BIOS for booting: DOS or Windows can load the appropriate drivers to make up for the BIOS limitation, and boot Linux from there.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3075310880509958829-6574780924273080192?l=simplemanual.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://simplemanual.blogspot.com/feeds/6574780924273080192/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3075310880509958829&amp;postID=6574780924273080192' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3075310880509958829/posts/default/6574780924273080192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3075310880509958829/posts/default/6574780924273080192'/><link rel='alternate' type='text/html' href='http://simplemanual.blogspot.com/2008/10/bootloader-in-linux.html' title='bootloader in linux'/><author><name>simple manual</name><uri>http://www.blogger.com/profile/15634965786627454058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3075310880509958829.post-3372495686901160194</id><published>2008-10-22T00:39:00.000-07:00</published><updated>2008-10-22T01:34:25.862-07:00</updated><title type='text'>simple manual linux</title><content type='html'>In Linux, the flow of control during a boot is from BIOS, to boot loader, to kernel. The kernel then starts the scheduler (to allow multi-tasking) and runs Init (which sets up the user environment and allows user interaction and login), at which point the kernel goes idle unless called externally.&lt;br /&gt;&lt;br /&gt;In detail:&lt;br /&gt;&lt;br /&gt;   1. The BIOS performs hardware-platform specific startup tasks&lt;br /&gt;   2. Once the hardware is recognized and started correctly, the BIOS loads and executes the partition boot code from the designated boot device, which contains phase 1 of a Linux boot loader. Phase 1 loads phase 2 (the bulk of the boot loader code). Some loaders may use an intermediate stage to achieve this (known as phase 1.5) since modern large disks may not be fully readable without further code.&lt;br /&gt;   3. The boot loader often presents the user with a menu of possible boot options. It then loads the kernel, which decompresses into memory, and sets up system functions such as essential hardware and memory paging, before calling start_kernel().&lt;br /&gt;   4. start_kernel() then performs the majority of system setup (interrupts, the rest of memory management, device initialization, drivers, etc) before spawning separately, the idle process and scheduler, and the Init process (which is executed in user space).&lt;br /&gt;   5. The scheduler effectively takes control of the system management, as the kernel goes dormant .&lt;br /&gt;   6. The Init process executes scripts as needed that set up all non-kernel services and structures in order to allow a user environment to be created, and then presents the user with a login screen.&lt;br /&gt;&lt;br /&gt;On shutdown, Init is called to close down all user space functionality in a controlled manner, again via scripted directions, following which Init terminates and the Kernel executes its own shutdown.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3075310880509958829-3372495686901160194?l=simplemanual.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://simplemanual.blogspot.com/feeds/3372495686901160194/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3075310880509958829&amp;postID=3372495686901160194' title='0 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3075310880509958829/posts/default/3372495686901160194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3075310880509958829/posts/default/3372495686901160194'/><link rel='alternate' type='text/html' href='http://simplemanual.blogspot.com/2008/10/manual.html' title='simple manual linux'/><author><name>simple manual</name><uri>http://www.blogger.com/profile/15634965786627454058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3075310880509958829.post-2855198164038260756</id><published>2008-09-08T23:25:00.000-07:00</published><updated>2008-12-09T01:29:27.664-08:00</updated><title type='text'>linux basic</title><content type='html'>berfore you start command, you must know man pages or help for command&lt;br /&gt;&lt;br /&gt;1.&lt;span style="font-weight:bold;"&gt;info&lt;/span&gt; (read info document)&lt;br /&gt;  info ls&lt;br /&gt;&lt;br /&gt;2.&lt;span style="font-weight:bold;"&gt;man&lt;/span&gt; (manual pages)&lt;br /&gt;  man date&lt;br /&gt;  man ls&lt;br /&gt;&lt;br /&gt;3.&lt;span style="font-weight:bold;"&gt;help&lt;/span&gt;&lt;br /&gt;  ls --help&lt;br /&gt;  date --help&lt;br /&gt;&lt;br /&gt;4.&lt;span style="font-weight:bold;"&gt;apropos&lt;/span&gt;  (search the manual page names and descriptions)&lt;br /&gt;  apropos copy&lt;br /&gt;  apropos remove&lt;br /&gt;&lt;br /&gt;5.&lt;span style="font-weight:bold;"&gt;whatis&lt;/span&gt;  (display manual page descriptions)&lt;br /&gt;  whatis cp&lt;br /&gt;  whatis ls&lt;br /&gt;&lt;br /&gt;if command apropos and whatis not work, you must build database for what is type this command &lt;span style="font-style:italic;"&gt;/usr/sbin/makewhatis&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The majority of linux commands is :&lt;br /&gt;command-name [-option] [argument]&lt;br /&gt;&lt;br /&gt;alias  Create an alias&lt;br /&gt;at  Schedule a job to run in the future.&lt;br /&gt;awk  Find and Replace text within file(s)&lt;br /&gt;break  Exit from a loop&lt;br /&gt;builtin Run a shell builtin&lt;br /&gt;bunzip2 Decompress file from bzip2 format&lt;br /&gt;bzip2  Compress file to bzip2 format&lt;br /&gt;cal  Display a calendar&lt;br /&gt;case  Conditionally perform a command&lt;br /&gt;cat  Concatenate files to standard output&lt;br /&gt;cd  Change Directory&lt;br /&gt;cfdisk  Partition table manipulator for Linux&lt;br /&gt;chgrp  Change group ownership&lt;br /&gt;chmod  Change access permissions&lt;br /&gt;chown  Change file owner and group&lt;br /&gt;chroot  Run a command with a different root directory&lt;br /&gt;chvt  Change the virtual Terminal&lt;br /&gt;cksum  Print CRC checksum and byte counts&lt;br /&gt;clear  Clear terminal screen&lt;br /&gt;cmp  Compare two files&lt;br /&gt;comm  Compare two sorted files line by line&lt;br /&gt;command  Run a command - ignoring shell functions&lt;br /&gt;compress  Compress file(s) to old Unix compress format&lt;br /&gt;continue  Resume the next iteration of a loop&lt;br /&gt;convmv          A perl script that converts filenames from one encoding to another&lt;br /&gt;cp          Copy one or more files to another location&lt;br /&gt;cron          Daemon to execute scheduled commands at predefined time&lt;br /&gt;crontab  Schedule a command to run at a later time&lt;br /&gt;csplit          Split a file into context-determined pieces&lt;br /&gt;cut          Divide a file into several parts&lt;br /&gt;date          Display or change the date &amp; time&lt;br /&gt;dc          Desk Calculator&lt;br /&gt;dd          Data Dump - Convert and copy a file&lt;br /&gt;declare  Declare variables and give them attributes&lt;br /&gt;df          Display free disk space&lt;br /&gt;diff          Display the differences between two files&lt;br /&gt;diff3          Show differences among three files&lt;br /&gt;dir          Briefly list directory contents&lt;br /&gt;dircolors  Colour setup for `ls'&lt;br /&gt;dirname  Convert a full pathname to just a path&lt;br /&gt;dirs          Display list of remembered directories&lt;br /&gt;du          Estimate file space usage&lt;br /&gt;echo  Display message on screen&lt;br /&gt;ed  A line-oriented text editor (edlin)&lt;br /&gt;egrep  Search file(s) for lines that match an extended expression&lt;br /&gt;eject  Eject CD-ROM&lt;br /&gt;enable  Enable and disable builtin shell commands&lt;br /&gt;env  Disp, set, or remove environment variables&lt;br /&gt;eval  Evaluate several commands/arguments&lt;br /&gt;exec  Execute a command&lt;br /&gt;exit  Exit the shell&lt;br /&gt;expand  Convert tabs to spaces&lt;br /&gt;export  Set an environment variable&lt;br /&gt;expr  Evaluate expressions&lt;br /&gt;factor  Print prime factors&lt;br /&gt;false  Do nothing, unsuccessfully&lt;br /&gt;fdformat Low-level format a floppy disk&lt;br /&gt;fdisk  Partition table manipulator for Linux&lt;br /&gt;fgrep  Search file(s) for lines that match a fixed string&lt;br /&gt;file  Determine type of file&lt;br /&gt;find  Search for files that meet a desired criteria&lt;br /&gt;fmt  Reformat paragraph text&lt;br /&gt;fold  Wrap text to fit a specified width.&lt;br /&gt;for  Expand words, and execute commands&lt;br /&gt;format  Format disks or tapes&lt;br /&gt;free  Disp, s memory usage&lt;br /&gt;fsck  Filesystem consistency check and repair.&lt;br /&gt;fstat  List open files&lt;br /&gt;function Define Function Macros&lt;br /&gt;fuser  Identify process using file&lt;br /&gt;gawk  Find and Replace text within file(s)&lt;br /&gt;getopts Parse positional parameters&lt;br /&gt;grep  Search file(s) for lines that match a given pattern&lt;br /&gt;groups  Print group names a user is in&lt;br /&gt;gunzip  Decompress file(s) from GNU zip format&lt;br /&gt;gzcat  Show contents of compressed file(s)&lt;br /&gt;gzip  Compress file(s) to GNU zip format&lt;br /&gt;hash  Remember the full pathname of a name argument&lt;br /&gt;head  Output the first part of file(s)&lt;br /&gt;history Command History&lt;br /&gt;hostnamePrint or set system name&lt;br /&gt;iconv  Converts the encoding of characters from one code page encoding scheme to another.&lt;br /&gt;id  Print user and group id's&lt;br /&gt;if  Conditionally perform a command&lt;br /&gt;import  Capture an X server screen and save the image to file&lt;br /&gt;info  Help info&lt;br /&gt;install Copy files and set attributes&lt;br /&gt;join  Join lines on a common field&lt;br /&gt;kill  Stop a process from running&lt;br /&gt;less  Display output one screen at a time&lt;br /&gt;let  Perform arithmetic on shell variables&lt;br /&gt;ln  Make links between files&lt;br /&gt;local  Create variables&lt;br /&gt;locate  Find files&lt;br /&gt;logname Print current login name&lt;br /&gt;logout  Exit a login shell&lt;br /&gt;lpc  Line printer control program&lt;br /&gt;lpr  Off line print&lt;br /&gt;lprint  Print a file&lt;br /&gt;lprintd Abort a print job&lt;br /&gt;lprintq List the print queue&lt;br /&gt;lprm  Remove jobs from the print queue&lt;br /&gt;ls  List information about file(s)&lt;br /&gt;ll  #ls -l List information about file(s)&lt;br /&gt;lsof  List open files&lt;br /&gt;m4  Macro processor&lt;br /&gt;makewhatis  Rebuild whatis database&lt;br /&gt;man  Print manual pages&lt;br /&gt;mkdir  Create new folder(s)&lt;br /&gt;mkfifo  Make FIFOs (named pipes)&lt;br /&gt;mknod  Make block or character special files&lt;br /&gt;more  Display output one screen at a time&lt;br /&gt;mount  Mount a file system&lt;br /&gt;mtools  Manipulate MS-DOS files&lt;br /&gt;mv  Move or rename files or directories&lt;br /&gt;netconfig  Configure your network&lt;br /&gt;nice  Set the priority of a command or job&lt;br /&gt;nl  Number lines and write files&lt;br /&gt;nohup  Run a command immune to hangup&lt;br /&gt;od  View binary files&lt;br /&gt;passwd  Modify a user password&lt;br /&gt;paste  Merge lines of files&lt;br /&gt;pathchk Check file name portability&lt;br /&gt;popd  Restore the previous value of the current directory&lt;br /&gt;pr  Convert text files for printing&lt;br /&gt;printcap Printer capability database&lt;br /&gt;printenv Print environment variables&lt;br /&gt;printf  Format and print data&lt;br /&gt;ps  Process status&lt;br /&gt;pushd  Save and then change the current directory&lt;br /&gt;pwd  Print Working Directory&lt;br /&gt;quota  Display disk usage and limits&lt;br /&gt;quotacheck  Scan a file system for disk usage&lt;br /&gt;quotactl Set disk quotas&lt;br /&gt;pax  Archive file(s)&lt;br /&gt;ram  ram disk device&lt;br /&gt;rcp  Copy files between two machines.&lt;br /&gt;read  read a line from standard input&lt;br /&gt;readonly Mark variables/functions as readonly&lt;br /&gt;remsync Synchronize remote files via email&lt;br /&gt;return  Exit a shell function&lt;br /&gt;rm  Remove (delete) files&lt;br /&gt;rmdir  Remove folder(s)&lt;br /&gt;rpm  RPM Package Manager (was RedHat Package Manager)&lt;br /&gt;rsync  Remote file copy (Synchronize file trees)&lt;br /&gt;screen  Terminal window manager&lt;br /&gt;sdiff  Merge two files interactively&lt;br /&gt;sed  Stream Editor&lt;br /&gt;select  Accept keyboard input&lt;br /&gt;seq  Print numeric sequences&lt;br /&gt;set  Manipulate shell variables and functions&lt;br /&gt;shift  Shift positional parameters&lt;br /&gt;shopt  Shell Options&lt;br /&gt;shutdown Shutdown or restart linux&lt;br /&gt;sleep  Delay for a specified time&lt;br /&gt;sort  Sort text files&lt;br /&gt;source  Run commands from a file `.'&lt;br /&gt;split  Split a file into fixed-size pieces&lt;br /&gt;strings print the strings of printable characters in (binary) files.&lt;br /&gt;su  Substitute user identity&lt;br /&gt;sum  Print a checksum for a file&lt;br /&gt;symlink Make a new name for a file&lt;br /&gt;sync  Synchronize data on disk with memory&lt;br /&gt;tac  Print files out in reverse line order&lt;br /&gt;tail  Output the last part of files&lt;br /&gt;tar  Tape ARchiver&lt;br /&gt;tee  Redirect output to multiple files&lt;br /&gt;test  Evaluate a conditional expression&lt;br /&gt;time  Measure Program Resource Use&lt;br /&gt;times  User and system times&lt;br /&gt;timidity  Play midi files and set up software synth to play midi files with other commands.&lt;br /&gt;touch  Change file timestamps&lt;br /&gt;top  List processes running on the system&lt;br /&gt;traceroute  Trace Route to Host&lt;br /&gt;trap  Run a command when a signal is set(bourne)&lt;br /&gt;tr  Translate, squeeze, and/or delete characters&lt;br /&gt;true  Do nothing, successfully&lt;br /&gt;tsort  Topological sort&lt;br /&gt;tty  Print filename of terminal on stdin&lt;br /&gt;type  Describe a command&lt;br /&gt;ulimit  Limit user resources&lt;br /&gt;umask  Users file creation mask&lt;br /&gt;umount  Unmount a filesystem&lt;br /&gt;unalias  Remove an alias&lt;br /&gt;uname  Print system information&lt;br /&gt;unexpand  Convert spaces to tabs&lt;br /&gt;uniq  Uniquify files (remove all duplicate lines)&lt;br /&gt;units  Convert units from one scale to another&lt;br /&gt;unset  Remove variable or function names&lt;br /&gt;unshar  Unpack shell archive scripts&lt;br /&gt;until  Execute commands (until error)&lt;br /&gt;useradd  Create new user account&lt;br /&gt;usermod  Modify user account&lt;br /&gt;users  List users currently logged in&lt;br /&gt;uuencode  Encode a binary file into 7-bit ASCII characters&lt;br /&gt;uudecode  Decode a file created by uuencode&lt;br /&gt;v  Verbosely list directory contents (`ls -l -b')&lt;br /&gt;vdir  Verbosely list directory contents (`ls -l -b')&lt;br /&gt;watch  Execute/display a program periodically&lt;br /&gt;whatis  List manual pages by name&lt;br /&gt;wc  Print byte, word, and line counts of a file&lt;br /&gt;whereis  Report all known instances of a command&lt;br /&gt;which  Locate a program file in the user's path.&lt;br /&gt;while  Execute commands&lt;br /&gt;who  Print all usernames currently logged in&lt;br /&gt;whoami  Print the current user id and name (`id -un')&lt;br /&gt;xargs  Execute utility, passing constructed argument list(s)&lt;br /&gt;yes  Print a string until interrupted&lt;br /&gt;zcat  Show contents of compressed file(s)&lt;br /&gt;zip  Compress and archive file(s) to zip format&lt;br /&gt;.period  Run commands from a file&lt;br /&gt;###  Comment / Remark&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3075310880509958829-2855198164038260756?l=simplemanual.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://simplemanual.blogspot.com/feeds/2855198164038260756/comments/default' title='Poskan Komentar'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3075310880509958829&amp;postID=2855198164038260756' title='1 Komentar'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3075310880509958829/posts/default/2855198164038260756'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3075310880509958829/posts/default/2855198164038260756'/><link rel='alternate' type='text/html' href='http://simplemanual.blogspot.com/2008/09/linux-basic.html' title='linux basic'/><author><name>simple manual</name><uri>http://www.blogger.com/profile/15634965786627454058</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
