tag:blogger.com,1999:blog-17615024311829512932024-03-13T06:44:15.643-07:00AniLinuxblog for Linux, web tools and programming activities.Anilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.comBlogger76125tag:blogger.com,1999:blog-1761502431182951293.post-81347268006843437212011-04-26T23:46:00.000-07:002011-04-26T23:52:16.362-07:00python documentation generatorSphinx is a tool that makes it easy to create intelligent and beautiful documentation, and licensed under the BSD license.<br /><br />For more details click <a href="http://sphinx.pocoo.org/">here</a>Anilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com0tag:blogger.com,1999:blog-1761502431182951293.post-34533422804175840332011-04-14T23:58:00.000-07:002011-04-15T00:04:02.307-07:00RPMforgeType : System<br />Operating System : Redhat,Centos<br /><br />RPMFORGE is a union of different provider of package like Dag, Dries and others. RPMFORGE provide base packages with others options of compilation and a lot of media tools.<br /><br />WEBSITE<br /><br /><a href="http://rpmrepo.net/RPMforge">http://rpmrepo.net/RPMforge</a><br /><br /><a href="http://wiki.centos.org/AdditionalResources/Repositories/RPMForge">http://wiki.centos.org/AdditionalResources/Repositories/RPMForg</a>Anilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com0tag:blogger.com,1999:blog-1761502431182951293.post-68304706083371481162010-07-28T08:32:00.000-07:002010-07-28T08:35:44.432-07:00TinyMCE - Javascript WYSIWYG EditorTinyMCE, also known as the Tiny Moxiecode Content Editor, is a platform-independent web-based JavaScript/HTML WYSIWYG editor control, released as open source software under the LGPL by Moxiecode Systems AB. It has the ability to convert HTML textarea fields or other HTML elements to editor instances. TinyMCE is designed to easily integrate with content management systems.<br /><br />TinyMCE integrates with many different open source systems, such as Mambo, Joomla!, Drupal, Plone, WordPress, b2evolution, e107, phpWebSite, Umbraco and Freedomeditor.<br /><br /><a href="http://tinymce.moxiecode.com/index.php">more details</a>Anilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com0tag:blogger.com,1999:blog-1761502431182951293.post-5792578600815360852010-05-06T19:35:00.000-07:002010-05-06T19:40:02.821-07:00The Web Robots PagesWeb Robots (also known as Web Wanderers, Crawlers, or Spiders), are programs that traverse the Web automatically. Search engines such as Google use them to index the web content, spammers use them to scan for email addresses, and they have many other uses.<br /><br />Web site owners use the /robots.txt file to give instructions about their site to web robots; this is called The Robots Exclusion Protocol.<br /><br />It works likes this: a robot wants to vists a Web site URL, say http://www.example.com/welcome.html. Before it does so, it firsts checks for http://www.example.com/robots.txt, and finds:<br /><br />User-agent: *<br />Disallow: /<br /><br />The "User-agent: *" means this section applies to all robots. The "Disallow: /" tells the robot that it should not visit any pages on the site.<br /><br />There are two important considerations when using /robots.txt:<br /><br /> * robots can ignore your /robots.txt. Especially malware robots that scan the web for security vulnerabilities, and email address harvesters used by spammers will pay no attention.<br /> * the /robots.txt file is a publicly available file. Anyone can see what sections of your server you don't want robots to use.<br /><br /><br /><br />On this site <a href="http://www.robotstxt.org/">http://www.robotstxt.org/</a> you can learn more about web robots.Anilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com0tag:blogger.com,1999:blog-1761502431182951293.post-11630477898109977092010-04-10T04:12:00.000-07:002010-04-10T05:23:30.676-07:00Greasemonkey Add-ons for FirefoxGreasemonkey is a Firefox extension that allows you to write scripts that alter the web pages you visit. You can use it to make a web site more readable or more usable. You can fix rendering bugs that the site owner can't be bothered to fix themselves. You can alter pages so they work better with assistive technologies that speak a web page out loud or convert it to Braille. You can even automatically retrieve data from other sites to make two sites more interconnected.<br /><br /><br />step 1. Download extension: <a href="https://addons.mozilla.org/en-US/firefox/addon/748">go to url</a>,<br /><br />step 2. to test greasemonkey working, Download User scripts <a href="http://userscripts.org/scripts/show/62634">go to url</a><br /><br />step 3. open youtube.com and look for "download". Now you can download from youtube site.<br /><br />OR<br /><br />How to start: <a href="http://www.readwriteweb.com/archives/how_to_start_using_greasemonkey.php#">go to url</a><br /><br />OR<br /><br />How to write Greasemonkey scripts: <a href="http://www.cyberciti.biz/tips/how-to-write-greasemonkey-scripts.html">go to url</a>Anilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com0tag:blogger.com,1999:blog-1761502431182951293.post-68699954360858626942009-12-19T02:42:00.000-08:002009-12-19T03:13:35.408-08:00How to covert XML to HTML using XSLTIn this tutorial you will learn how to use XSLT to transform XML documents into other formats, like HTML.<br /><br /><br />what is XML?<br /> <br /><br />XML stands for eXtensible Markup Language.<br />XML is designed to transport and store data.<br />XML is important to know, and very easy to learn.<br />refer:<a href="http://www.w3schools.com/xml/default.asp">http://www.w3schools.com/xml/default.asp</a> <br /><br /><br />what is XSLT?<br /> <br /><br />XSL stands for EXtensible Stylesheet Language, and is a style sheet language for XML documents.<br />XSLT stands for XSL Transformations. <br /><br />refer:<a href="http://www.w3schools.com/xsl/">http://www.w3schools.com/xsl/</a><br /><br />Where to Start? <br /><a href="http://www.php.net/manual/en/xsl.examples.php">http://www.php.net/manual/en/xsl.examples.php</a><br /><br />System Requirements?<br /><br />Programming tools: PHP, XSL,XML, DOM<br />Server Requirements: PHP-XML, PHP-XSL ( check for module installation on your host, using simple php code: < ?php phpinfo(); ? > )<br />Cross platform : Yes (Safari, Firefox, Opera )<br /><br />note: no space between < or > and ? in above exampleAnilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com1tag:blogger.com,1999:blog-1761502431182951293.post-37281653476948305432009-10-26T03:32:00.000-07:002009-10-26T03:41:22.059-07:00Installing multiple versions of Python from SourceThe first step is to ensure that all dependencies are installed. Run the following once:<br /><br /><span style="font-weight:bold;">sudo apt-get build-dep python2.5<br /></span><br />That will install a bunch of dev packages. Which packages get installed will likely depend of each specific system.<br /><br />As the remaining commands will need to be repeated for each version of python, I will list them once with X's in place of the version numbers. Be sure to replace the X's with the appropriate version numbers. The various versions and download links can be found on the Python download page.<br /><br /><span style="font-weight:bold;">wget http://python.org/ftp/python/X.X.X/Python-X.X.X.tgz<br /></span><br /><span style="font-weight:bold;">tar xvfz Python-X.X.X.tgz<br /><br />cd Python-X.X.X<br /><br />./configure --prefix=/opt/pythonX.X<br /><br />make<br /><br />sudo make install</span><br /><br />In a couple versions I got some warnings after running make about missing dependencies for things I don't need or use, so I ignored them and everything worked fine. Of course, these need to be on my path to be useful so I created some links:<br /><br /><span style="font-weight:bold;">sudo ln -s /opt/pythonX.X/bin/pythonX.X /usr/bin/python-X.X<br /></span><br />While I only needed to do the above once, I needed to install it in each version:<br /><br /><span style="font-weight:bold;">sudo python2.X setup.py install<br /></span>Anilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com0tag:blogger.com,1999:blog-1761502431182951293.post-31912084606191082982009-09-09T22:49:00.000-07:002009-09-09T22:53:27.487-07:00RPM File Naming ConventionRPM File Naming Convention<br /><br />While RPM will run just as well if a package file has been renamed, when the packages are created during RPM's build process, they follow a specific naming convention. The convention is:<br /><br />name-version-release.architecture.rpm<br /> <br /><br />where:<br /><br /> *name is a name describing the packaged software.<br /> *version is the version of the packaged software.<br /> *release is the number of times this version of the software has been packaged.<br /> *architecture is a shorthand name describing the type of computer hardware the packaged software is meant to run on. It may also be the string src, or nosrc. Both of these strings indicate the file is an RPM source package. The nosrc string means that the file contains only package building files, while the src string means the file contains the necessary package building files and the software's source code. <br /><br />A few notes are in order. Normally, the package name is taken verbatim from the packaged software's name. Occasionally, this approach won't work — usually this occurs when the software is split into multiple "subpackages," each supporting a different set of functions. An example of this situation would be the way ncurses was packaged on Red Hat Linux Linux. The package incorporating ncurses basic functionality was called ncurses, while the package incorporating those parts of ncurses' program development functionality was named ncurses-devel.<br /><br />The version number is normally taken verbatim from the package's version. The only restriction placed on the version is that it cannot contain a dash "-".<br /><br />The release can be thought of as the package's version. Traditionally it is a number, starting at 1, that shows how many times the packaged software, at a given version, has been built. This is tradition and not a restriction, however. Like the version number, the only restriction is that dashes are not allowed.<br /><br />The architecture specifier is a string that indicates what hardware the package has been built for. There are a number of architectures defined:<br /><br /> *i386 — The Intel x86 family of microprocessors, starting with the 80386.<br /> *alpha — The Digital Alpha/AXP series of microprocessors.<br /> *sparc — Sun Microsystem's SPARC series of chips.<br /> *mips — MIPS Technologies' processors.<br /> *ppc — The Power PC microprocessor family.<br /> *m68k — Motorola's 68000 series of CISC microprocessors.<br /> *SGI — Equivalent to "MIPS". <br /><br />This list will almost certainly change. For the most up-to-date list, please refer to the file /usr/lib/rpmrc. It contains information used internally by RPM, including a list of architectures and equivalent code numbers.Anilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com0tag:blogger.com,1999:blog-1761502431182951293.post-19122872161595112642009-09-02T04:51:00.000-07:002009-09-09T23:24:52.205-07:00Python egg is:If you don’t know what a Python egg is, it’s simply a way of distributing Python packages, similar to RPM. There is also an easy method of installing them, using easy_install.<br /><br />Where do I find Python Eggs?<br /><br />You can find Python Eggs on quite a few places on the web, e.g. at a package author’s website. The biggest repository of eggs is the Cheeseshop (or PyPI) though), an index for Python packages. In order to be able to install eggs you simply need to install easy_install which is easily done by downloading ez_install.py (you can <a href="http://peak.telecommunity.com/dist/ez_setup.py">download</a> it here) and calling it (you need to have rights to install components in your python installation of course).<br /><br />Once you have done this you can simply install an egg by calling:<br /><br />easy_install somepackage.egg<br /><br />You can also give a URL to an egg and use<br /><br />easy_install http://somehost.somedomain.com/somepackage.egg<br /><br />If an egg is not found at that location or in the directory you give, easy_install will automatically query the Cheeseshop for the egg location. So if you want to install SimpleJSON you simply give<br /><br />easy_install simplejson<br /><br />and it will download and install the most recent version. If you are not running as root and you have Python installed as root you of course need to use something like “sudo easy_install” instead (e.g. on MacOSX).<br /><br />A great additional feature is also that Eggs can define dependancies on other packages which easy_install will then try to automatically download and install aswell.<br /><br />BTW, the easy_install program is part of the setuptool package by Philip Eby and is based on the distutils package which is part of the standard python distribution.<br /><br />refer more : <a href="http://mrtopf.de/blog/python_zope/a-small-introduction-to-python-eggs/">click here</a><br /><br /><a href="http://onlamp.com/pub/a/python/2005/01/27/ipython.html">http://onlamp.com/pub/a/python/2005/01/27/ipython.html</a><br /><br />============================================<br />try this to install ipython for python2.4<br />=============================================<br /><br />[root@root]# wget http://pypi.python.org/packages/2.4/s/setuptools/setuptools-0.6c9-py2.4.egg<br /><br />[root@root]# sh setuptools-0.6c9-py2.4.egg <br /><br />[root@root]# easy_install-2.4 http://ipython.scipy.org/dist/ipython-0.8.4-py2.4.egg<br /><br />[root@webdev tgzfiles]#Anilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com2tag:blogger.com,1999:blog-1761502431182951293.post-1189879452716711272009-09-01T09:48:00.000-07:002009-09-01T09:50:56.400-07:00cherrypyCherryPy is a pythonic, object-oriented HTTP framework.<br /><br />CherryPy allows developers to build web applications in much the same way they would build any other object-oriented Python program. This results in smaller source code developed in less time.<br /><br />CherryPy is now more than six years old and it is has proven very fast and stable. It is being used in production by many sites, from the simplest ones to the most demanding ones.<br /><br />Oh, and most importantly: CherryPy is fun to work with :-) Here's how easy it is to write "Hello World" in CherryPy 3:<br /><br /><span style="font-weight:bold;">import cherrypy<br /><br />class HelloWorld(object):<br /> def index(self):<br /> return "Hello World!"<br /> index.exposed = True<br /><br />cherrypy.quickstart(HelloWorld())<br /><br /></span><br /><br />Find More on <a href="http://www.cherrypy.org/">http://www.cherrypy.org/</a>Anilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com0tag:blogger.com,1999:blog-1761502431182951293.post-79111179924250816312009-07-15T02:28:00.000-07:002009-07-15T02:31:53.342-07:00journals, book series, books, reference works and the Online Archives CollectionInteractive databases for high-quality STM journals, book series, books, reference works and the <span style="font-weight:bold;">Online Archives Collection</span>. SpringerLink is a powerful central access point for researchers and scientists.<br /><br />For more click <a href="http://www.springerlink.com">http://www.springerlink.com</a>Anilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com0tag:blogger.com,1999:blog-1761502431182951293.post-23705334839120901522009-05-12T00:00:00.000-07:002009-05-12T00:08:26.956-07:00TestDisk : free data recovery utilityTestDisk is a free data recovery utility. It was primarily designed to help recover lost data storage partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software, certain types of viruses or human error (such as accidentally erasing a partition table).<br /><br /><br />Latest release 6.11 / 2009-04-19; 22 days ago<br />Platform Multiplatform<br />Type Data recovery<br />License GNU General Public License<br />Website <a href="http://www.cgsecurity.org/wiki/TestDisk">www.cgsecurity.org/wiki/TestDisk</a>Anilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com0tag:blogger.com,1999:blog-1761502431182951293.post-76233486280524815172009-05-11T23:52:00.000-07:002009-05-11T23:55:58.511-07:00PhotoRec: data recovery software toolPhotoRec is a data recovery software tool designed to recover lost files from digital camera memory (CompactFlash, Memory Stick, Secure Digital, SmartMedia, Microdrive, MMC, USB flash drives etc.), hard disks and CD-ROMs. It recovers most common photo formats, including JPEG, and also recovers audio files including MP3, document formats such as Microsoft Office, PDF and HTML, and archive formats including ZIP.<br /><br />PhotoRec does not attempt to write to the damaged media you are about to recover from. Recovered files are instead written to the directory from where you are running PhotoRec or any other directory you choose. PhotoRec is shipped with TestDisk.<br /><br /><br />Latest release 6.11 / 2009-04-19; 22 days ago<br />Operating system Cross-platform<br />License GNU General Public License<br />Website <a href="http://www.cgsecurity.org/wiki/PhotoRec">http://www.cgsecurity.org/wiki/PhotoRec</a>Anilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com0tag:blogger.com,1999:blog-1761502431182951293.post-68599042598689713252009-02-09T02:42:00.001-08:002009-02-09T03:28:59.824-08:00NetBeans - Development SimplifiedA free, <span style="font-weight:bold;">open-source</span> Integrated Development Environment for software developers. You get all the tools you need to create professional desktop, enterprise, web, and mobile applications with the <span style="font-weight:bold;">Java</span> language, <span style="font-weight:bold;">C/C++</span>, and even dynamic languages such as <span style="font-weight:bold;">PHP</span>, <span style="font-weight:bold;">JavaScript</span>, <span style="font-weight:bold;">Groovy</span>, and <span style="font-weight:bold;">Ruby</span>. NetBeans IDE is easy to install and use straight out of the box and runs on many platforms including <span style="font-weight:bold;">Windows, Linux, Mac OS X and Solaris</span>.<br /><br />The NetBeans IDE 6.5 provides several new features and enhancements, such as rich PHP, JavaScript and Ajax editing features, improved support for using the Hibernate web framework and the Java Persistence API, and tighter GlassFish v3 and MySQL integration.<br /><br /><a href="http://www.netbeans.org/community/releases/65/install.html">NetBeans IDE Installation Guide</a><br /><br /><br />Learn More about <a href="http://www.netbeans.org">NetBeans IDE</a>Anilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com0tag:blogger.com,1999:blog-1761502431182951293.post-81999084451682458082009-02-04T22:18:00.000-08:002009-02-05T00:45:11.144-08:00Meetings Events Conferences TOOLThe <span style="font-weight:bold;">Indico</span> tool allows you to manage complex conferences, workshops, and time-tables of meetings, to attach multimedia files to each event item and to store the resulting agendas in a multi-level hierarchical tree. Install the Indico software locally under GNU General Public License (see the <a href="http://cern.ch/indico">project web site</a>).Anilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com0tag:blogger.com,1999:blog-1761502431182951293.post-92094900043269516662008-09-17T01:47:00.000-07:002008-09-17T01:49:18.093-07:00What is EGroupware?<a href="http://www.egroupware.org/">EGroupware</a> is a free enterprise ready groupware software for your network. It enables you to manage contacts, appointments, todos and many more for your whole business.Anilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com0tag:blogger.com,1999:blog-1761502431182951293.post-83596512248228253642008-09-10T22:10:00.000-07:002008-09-10T22:21:51.717-07:00limitipconn module For Apache ( Debian GNU/Linux)Use limitipconn module to limit maximum connections to web site.<br /><br /><span style="font-weight:bold;">step 1)</span> Install <span style="font-weight:bold;">apache2-mod-limitipconn_0.22-1_i386</span> module <br /><span style="font-weight:bold;"><br />step 2)</span> <span style="font-weight:bold;">limitipconn</span> is enabled in <span style="font-weight:bold;">mod_enabled</span> and following lines are added in the apache2.conf file.<br /><br />< IfModule mod_limitipconn.c ><br /> < Location / ><br /> MaxConnPerIP 5<br /> # exempting images from the connection limit is often a good<br /> # idea if your web page has lots of inline images, since these<br /> # pages often generate a flurry of concurrent image requests<br /> NoIPLimit image/*<br /> < /Location ><br />< /IfModule >Anilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com0tag:blogger.com,1999:blog-1761502431182951293.post-8201557172256526172008-08-17T23:32:00.000-07:002008-08-17T23:47:17.868-07:00Virtualization, RHEL 5.1RHEL 5.1 will bring hardware virtualization feature improvements, paravirtualized drivers, the Xen 3.0.5 hypervisor and features like non-uniform memory access (NUMA) topology and loopback removal. Also, 5.1 will support live moves of virtual machines in clusters, along the lines of the functionality of VMware's VMotion.<br /><br />Users of older versions of Red Hat are not being left out of the virtualization loop. Red Hat added some Xen support features to Red Hat Enterprise Linux 4.5. <br /><br /><br />The 4.5 option will have limitations. RHEL 4.5 includes virtualization support, so you have the choice of full virt or paravirt. Anything prior to RHEL 4.5 will run out of the box but will need full virtualization. You'll need a new chip. You don't have to touch the code, but you won't get the performance you get with RHEL 5.<br /><br />VMware is way ahead of all the others in features and robustness, but VMware doesn't have a product that scales well. There are definitely limitations in high-availability, so most people are just virtualizing file servers at this point and not databases and performance-intensive apps.<br /><br />To get the most out of RHEL 5's virtualization support options, these recommendations:<br /><br /> * Secure RHEL 5 platform layer before installing any virtual machines or applications.<br /> * Run SELinux to run in enforcing mode.<br /> * Remove or disable any unwanted services, like AutoFS, NFS, FTP, WWW, NIS, telnetd, sendmail and so on.<br /> * Only add the minimum number of user accounts needed for platform management.<br /> * Avoid running applications on dom0/Hypervisor, because running apps in dom0 may impact virtual machine performance.<br /> * Use a central location for a virtual machine installation, which will make it easier to move to shared storage later on.Anilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com0tag:blogger.com,1999:blog-1761502431182951293.post-80340379709966076862008-08-12T06:09:00.000-07:002008-08-12T06:32:43.256-07:00Postfix(MTA) appln corrupt ( OS: RHEL4)If your postfix (MTA) stopped working or corrupt and not sure how to upgrade or downgrade it for better performance???<br /><br />Here follows the solution for that :<br /><br />step 1 : Query installed appln to know version details ( use following command )<br /><br />command # rpm -qi postfix<br /><br />step 2: Search for updated RPM of Postix ( if have subscription use www.rhn.redhat.com) and download to local machine<br /><br />step 3: Query to list postfix related files using following command as a root<br /><br />command# rpm -ql postfix <br /><br />step 4: better backup files ( output of above command ) which are essential like, Configuration files /etc/postfix and mail queue /var/spool/postfix using command {cp -a source destination}<br /><br />step 5: simulate RPM package installation before installing to machine. This will help to identify dependances error and file conflicts error.<br /><br />command # rpm -Uvh --test postfix-2.2.x-RHEL.rpm<br /><br />step 6: If found no error on above command , Now you can go for installing RPM using following command<br /><br />command # rpm -Uvh postfix-2.2.x-RHEL.rpm<br /><br />step 7 : To release mail queue built on the system when MTA was corrput. we need to requeue mails to flow again by following command<br /><br />command # postsuper -r ALL<br /><br />step 8 : Give a look on maillog to check for mail delivery to domain.<br /><br />command #tail -f /var/log/maillog <br /><br />Note : if you want to downgrade MTA, use this command instead of step 5 and rest of steps are same.<br /><br />command # rpm -Uvh --test --oldpackage postfix-2.2.x-RHEL.rpm<br /><br />command # rpm -Uvh --oldpackage postfix-2.2.x-RHEL.rpmAnilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com0tag:blogger.com,1999:blog-1761502431182951293.post-59303671773836944352008-08-07T22:43:00.000-07:002008-08-07T23:00:06.903-07:00Troubleshooting Tools: Diagnosis DNSIn this Troubleshooting Tools for DNS, Given a record name, and a record type, you will receive a report detailing all possible answers. This is accomplished by traversing the DNS tree from the root examining all possible routes that a client could travel, calculating percentage probabilities on the way.<br /><br />Visit squish.net DNS checker... :<a href="http://www.squish.net/dnscheck/">http://www.squish.net/dnscheck/</a>Anilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com0tag:blogger.com,1999:blog-1761502431182951293.post-45667724018179477892008-08-07T04:53:00.000-07:002008-08-07T04:57:07.472-07:00Red Hat Linux Tips and TricksWe know that top is a very powerful tool for monitoring running processes. Now we investigate the power of mutliple sections during an active session of top.<br /><br /> 1. At the command-line, type top.<br /> 2. Activate multiple sections by using "shift+a"<br /> 3. The interface will now display four sections. Use the lower-case "a" to toggle between sections. Notice in the top left hand corner you will see the active section identifier: 1:Def, 2:Job, 3:Mem, 4:Usr<br /> 4. To add color to section 1:Def.<br /> 1. Press "a" to toggle to section 1:Def.<br /> 2. Press "z" to toggle color on and off. Notice that you can toggle from one section to the other to add a different color scheme to each section.<br /> 5. Highlight the sort fields in section 1:Def.<br /> 1. Press "a" to toggle to section 1:Def.<br /> 2. Make sure color is activated by pressing "z".<br /> 3. Press ""x" to toggle the highlight feature of the sort fields. You may not recognize the highlighting right away, but by holding down the left Shift key and using the < and > keys, you can move the sort field left and right respectively.Anilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com0tag:blogger.com,1999:blog-1761502431182951293.post-27836732406332599552008-08-07T04:49:00.000-07:002008-08-07T04:53:29.790-07:00Red Hat Linux Tips and TricksWe know that the out-of-the-box resources should be a primary tool of any system administrator. We also know that navigating from one node to the other using "info" in search of information can be frustrating.<br /><br />For example, you want information on configuring grub.conf. You find that running the command "info grub" displays a long menu of options, including one that applies to configuration. You get there by using the hypertext navigation method, placing the cursor on the line that reads "* Configuration" and then hitting the ENTER key.<br /><br />How would you slice out or print just the "Configuration" node to file? <br /><br />Answer: If you would like to print the Configuration node to a text file, run the following command:<br /><br /> # info grub Configuration -o mynewfilename.txt<br /><br />You now have a single text file named "mynewfilename.txt" with the information from the Configuration node of info. This can be done with any node you would like to slice out of info pages into a more manageable and specific text file.Anilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com0tag:blogger.com,1999:blog-1761502431182951293.post-20883326492994238962008-08-04T22:12:00.000-07:002008-08-04T22:49:41.915-07:00All you have to know about RPMThe RPM Package Manager (<a href="http://www.rpm.org/">http://www.rpm.org/</a>) is a powerful command line driven package management system capable of <span style="font-weight:bold;">installing</span>, <span style="font-weight:bold;">uninstalling</span>, <span style="font-weight:bold;">verifying</span>, <span style="font-weight:bold;">querying</span>, and <span style="font-weight:bold;">updating</span> computer software packages. <br />RPM is free software, released under the GNU GPL.RPM is a core component of many Linux distributions, such as Red Hat Enterprise Linux, the Fedora Project, SUSE Linux Enterprise, openSUSE, CentOS, Mandriva Linux, and many others. It is also used on many other operating systems as well, and the RPM format is part of the Linux Standard Base.<br /><br />For simply install a package do:<br /><br /><span style="font-weight:bold;">rpm -i package.rpm</span><br /><br />Where "-i" is the Install parameter and "package.rpm" is the RPM you're installing. You can add more parameters to the above command,try this:<br /><br /><span style="font-weight:bold;">rpm -ivh package.rpm</span><br /><br />The "-v" is for verbose and "-h" for the hashing marks. It'll print some "#" when unpacking and then installs the package. You can use "--percent" instead of "-h" if you want.<br /><br />The above command is maybe the first RPM command you've learned. Upgrading to a New package can be done in 2 ways, the Freshen way and by executing:<br /><br /><span style="font-weight:bold;">rpm -Uvh new-package.rpm</span><br /><br />Note that the "-U" Upgrading option simple removes the old and installed package, then install the new one. The "-Uvh" can be used to install a package too, if the package does not exist on your system the new-package.rpm will be installed.<br /><br />Now imagine the situation where the new version of Samba you've just installed is not compatible with your applications, what to do? Answer: Upgrade to the old version. You can call this a "Downgrade" if you want. The command for install the Old package will be:<br /><br /><span style="font-weight:bold;">rpm -Uvh --oldpackage Samba-old-version.rpm</span><br /><br />Where "--oldpackage" option says that Samba package version is older than the one installed. The command will remove the installed version and then install the Samba-old-ver.rpm.<br /><br />For More hands on Refer To :<br /><br /><a href="http://fedoranews.org/alex/tutorial/rpm/">http://fedoranews.org/alex/tutorial/rpm/</a>Anilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com0tag:blogger.com,1999:blog-1761502431182951293.post-46263905254327811762008-06-20T06:40:00.000-07:002008-06-20T06:54:45.801-07:00Content Management Systems (CMS)A content management system (CMS) is computer software used to create, edit, manage, and publish content in a consistently organized fashion. CMSs are frequently used for storing, controlling, versioning, and publishing industry-specific documentation such as news articles, operators' manuals, technical manuals, sales guides, and marketing brochures. The content managed may include computer files, image media, audio files, electronic documents, and Web content. <br /><br /><br /><span style="font-weight:bold;">Web content management system</span><br /><br />A Web content management system is a CMS designed to simplify the publication of Web content to Web sites, in particular allowing content creators to submit content without requiring technical knowledge of HTML or the uploading of files.<br /><br /><span style="font-weight:bold;">Details of few CMSs</span><br /><br /><span style="font-weight:bold;">1. Joomla!</span><br /><br />Joomla is a free, open source content management system for publishing content on the world wide web and intranets. The system includes features such as page caching to improve performance, RSS feeds, printable versions of pages, news flashes, blogs, polls, website searching, and language internationalization. Joomla is licensed under the GPL, and is the result of a fork of Mambo.<br /><br />It is written in the PHP programming language and uses the MySQL database by default.<br /><br /><span style="font-weight:bold;">2.Plone (software)</span><br /><br />Plone is a free and open source content management system built on top of the Zope application server. It is suited for an internal website or may be used as a server on the Internet, playing such roles as a document publishing system and groupware collaboration tool.<br /><br />Plone is released under the GNU General Public License (GPL) and is designed to be extensible. Major development is conducted periodically during special meetings called Plone Sprints. Additional functionality is added to Plone with Products, which may be distributed through the Plone website or otherwise. The Plone Foundation owns and protects all copyrights and trademarks. Plone also has legal backing from the council of the Software Freedom Law Center.<br /><br /><br /><br /><br /><br />Refer for more : <br /><br /><a href="http://en.wikipedia.org/wiki/Content_management_system">CMS</a><br /><a href="http://en.wikipedia.org/wiki/List_of_content_management_systems">List of CMS</a><br /><a href="http://en.wikipedia.org/wiki/Joomla!">Joomla!</a><br /><a href="http://en.wikipedia.org/wiki/Plone_(software)">Plone</a>Anilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com1tag:blogger.com,1999:blog-1761502431182951293.post-74198926440434438292008-06-16T06:31:00.000-07:002008-06-16T06:37:56.679-07:00Commands from Remote Shell: rshThe remote shell command rsh allows you to execute a command on a remote machine without actually logging onto that machine. The command rsh uses the same .rhosts file as does rlogin, yet while rlogin will prompt you for a password if it has trouble with the .rhost file, both rsh and rcp require a properly functioning .rhosts file. If the .rhosts files is not properly configured, these commands will issue an error message and quit. <br /><br />leo$ rsh user@server command <br /><br />example :<br /><br />leo$ rsh user@server df -hAnilkumar Naikhttp://www.blogger.com/profile/17766914931097519703noreply@blogger.com0