Vishal Vyas (Linux Admin)

16 Nov

                 http://www.vishalvyas.com

Vishal Vyas

Linux Server Administrator

Ahmedabad -380013

Mo:-91+9978839723

vishal.rhce@yahoo.com

vishal.gtpl@gmail.com

Using office resources for personal use is every Indian’s superpower…!

About these ads

22 Responses to “Vishal Vyas (Linux Admin)”

  1. Mr WordPress November 16, 2009 at 6:30 am #

    Hi, this is a comment.
    To delete a comment, just log in, and view the posts’ comments, there you will have the option to edit or delete them.

  2. vishalrhce November 16, 2009 at 6:47 am #

    Vishal Vyas
    Linux Administrator

  3. vikrant November 30, 2009 at 2:44 pm #

    what is a samba server

  4. jignesh December 18, 2009 at 4:47 am #

    great job done man…
    keep it up :)

  5. shivraj December 29, 2009 at 12:44 pm #

    Very Usefull Site

    Nice>

  6. Akshay January 20, 2010 at 11:31 am #

    Nice site to get the knowledge about linux… Good links provided.. Thanks vishal..

  7. R.sankar May 7, 2010 at 1:44 pm #

    hi vishal

    really this site is super and more informatic
    i need ladp configuration in linux pls send to me

  8. amit singh June 2, 2010 at 8:31 am #

    Your site is very useful for RHCE point of view..
    thanks……………..

  9. Priya June 10, 2010 at 7:13 am #

    Hi sir

    Your Site is fine and superb
    You Looking very handsome..

  10. Anil Jeeyani June 18, 2010 at 4:46 am #

    wahhh sarkar wahhh…

    carry on… gr8 work…

  11. Manish Soni July 22, 2010 at 4:55 am #

    Hi,

    Can you give step for cacti configuration.

    Manish Soni
    RHCE

    • Vishal July 22, 2010 at 5:16 am #

      Hi Manish

      * Once you have all the rpm’s downloaded install them using this command: rpm -i ‘filename’
      If you run into problems installing the rpms you can do rpm -i –force ‘filename’ to force the install.
      rpm -q file – will display the current version of the rpm installed. Rpm -e ‘filename’ will remove the rpm.

      * Once all the rpms are install go ahead and unzip Cacti and RRDtool. Use the following command: tar -zxvf ‘filename’

      5. Follow the instructions that come with RRDtool to install RRDtool.

      6.Follow the instructions that come with Cacti to install Cacti.

      * Create a new user account called ‘cactiuser’ on your box.

      * Once you have RRDtool and cacti installed do the following:
      a. Go into the directory where you have cacti – usually /var/www/html/cacti
      b. Once there create the mysql database:
      shell> mysqladmin –user=root create cacti
      shell> mysql cacti mysql –uer=root mysql

      mysql> GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY ‘somepassword’;

      mysql> flush privileges;

      * Edit the config.php file. Located in the cacti/include directory.
      Change the database name, house, username, password as you specified above.

      $database_default = “cacti”;
      $database_hostname = “localhost”;
      $database_username = “cactiuser”;
      $database_password = “cacti”;

      * As root change the permissions the /rra and /log Directories.

      shell> chown cactiuser rra/ log/

      * Change user to the user account cactiuser that you created in step 7.

      * Create a crontab which will run the cmd.php every five mintues.

      shell > crontab -e
      Then press ‘insert’ on the keyboard – this allows you to type.
      */5 * * * * cactiuser php /var/www/html/cacti/cmd.php > /dev/null 2>&1
      Then press ESC – this remove your typing capability.
      press: Shift ZZ – this will save and exit the crontab.

      *Point your web browser to and follow the directions:

      http://your-server/cacti/

  12. shijitht August 3, 2010 at 11:07 am #

    what abt RHCA?

  13. Ritesh Patel November 11, 2010 at 8:54 am #

    Hi Vishal

    Any Job call me 9327929749

    Ritesh Patel(Jetking)
    9327929749

  14. Kiran December 14, 2010 at 6:08 pm #

    Nice work buddy .

  15. botad12 May 2, 2011 at 3:33 am #

    ohhh tamaro blog to bow batha juve 6e

  16. mitesh June 28, 2011 at 6:34 am #

    how can i define which rpm & which service

  17. Vishal Vyas June 28, 2011 at 6:52 am #

    rpm –help or…

    rpm -qa :- Display list all installed packages

    rpm -qi ftp :- Display installed information along with package version and short description

    rpm -qf /etc/passwd :- Find out what package a file belongs to i.e. find what package owns the file

    rpm -qc httpd :- Display list of configuration file(s) for a package

    rpm -qa –last :- Display list of all recently installed RPMs

    rpm -qR bash :- Find out what dependencies a rpm file has

    Vishal Vyas

  18. keval July 4, 2011 at 7:47 pm #

    Great work….Really impressed by ur work. I saw u at gadhada but i dont remember when and where…Gadhada(swa) is my home town…Any way keep it up :-)

  19. technologybasic September 1, 2011 at 8:40 am #

    i like ur site.

  20. sudhakarreddy January 9, 2013 at 7:44 am #

    ur site is very useful for linux lerners

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 26 other followers

%d bloggers like this: