Sponsored Content
Top Forums UNIX for Advanced & Expert Users [Solved] Add hardware in virt-install command Post 302760041 by hiddenshadow on Wednesday 23rd of January 2013 09:39:42 AM
Old 01-23-2013
I have not thought about it but it's running...

thanks a lot for your help!
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

[Solved] trying to install pecl without having it prompt for a yes m

I want to install pecl from a single command without it asking me for a response of "yes" or "no" to finish the install... -------------------------------------------------------------------------- # pecl install pecl_http downloading pecl_http-1.7.0.tgz ... Starting to download... (1 Reply)
Discussion started by: sjsotelo
1 Replies

2. Debian

install hardware requirements

Does any one have some words on this ' microprocessor '* and if there should be any attempt to install Debian Linux into it. Thank you I have looked at this page: 2.1.*Supported Hardware 2.1 Supported Hardware Chapter 2. System Requirements and crossed check many times and do not see any... (4 Replies)
Discussion started by: cowLips
4 Replies

3. UNIX for Advanced & Expert Users

[Solved] Cannot install KVM guest on CentOS/RedHat

Hi, I've a CentOS Server and I need to create KVM guest machine without X. /usr/sbin/virt-install --name server1 --ram 4000 --vcpus=8 --file=/srv/virtual/server1.img --file-size=20 --cdrom /tmp/server1.iso --mac=52:54:00:fd:48:7c The iso was created with cobbler... So, now the machine is... (5 Replies)
Discussion started by: hiddenshadow
5 Replies

4. Red Hat

[Solved] Cannot install git on RHEL 6

Hi, I am trying to install git on RHEL 6. From the research I have done I should be able to just say: sudo yum install git but it is not working (it says no package git is available). I am fairly new to linux and cannot figure this out. Thanks for any help you can provide. (7 Replies)
Discussion started by: dsabol
7 Replies

5. Solaris

[solved] How to blink faulty disk in Solaris hardware?

Hi Guys, One of two disks in my solaris machine has failed, the name is disk0, this is SUN physical sparc machine But I work remotely, so people working near that physical server are not that technical, so from OS command prompt can run some command to bink faulty disk at front panel of Server.... (9 Replies)
Discussion started by: manalisharmabe
9 Replies

6. Shell Programming and Scripting

[Solved] While loop error when add sqlplus command

Hi gurus, I hit a block when write the script. I need do while loop, in the loop I have code below. sqlplus -s abc/abc@abc <<EOF spool testwhile select * from dual; spool off exit; EOF when I run script with only this code, it works fine. if I add code as below: #!/bin/ksh ... (5 Replies)
Discussion started by: ken6503
5 Replies

7. Red Hat

Virt-install: ERROR Host does not support any virtualization

Hello guys! First of all sorry about my english. I am using KVM to virtualizate. But when i run the virt-install command, it shows the next error: ERROR Host does not support any virtualization options.My server had virtualisation extensions enabled in the bios. It is my first time using... (7 Replies)
Discussion started by: morrison71
7 Replies

8. UNIX for Beginners Questions & Answers

Installation of virt-manager while yum update and yum install rhvm does not work

I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal. I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
Discussion started by: Paras Pandey
1 Replies
Moose::Manual(3pm)					User Contributed Perl Documentation					Moose::Manual(3pm)

NAME
Moose::Manual - What is Moose, and how do I use it? VERSION
version 2.0603 WHAT IS MOOSE
? Moose is a complete object system for Perl 5. Consider any modern object-oriented language (which Perl 5 definitely isn't). It provides keywords for attribute declaration, object construction, inheritance, and maybe more. These keywords are part of the language, and you don't care how they are implemented. Moose aims to do the same thing for Perl 5 OO. We can't actually create new keywords, but we do offer "sugar" that looks a lot like them. More importantly, with Moose, you define your class declaratively, without needing to know about blessed hashrefs, accessor methods, and so on. With Moose, you can concentrate on the logical structure of your classes, focusing on "what" rather than "how". A class definition with Moose reads like a list of very concise English sentences. Moose is built on top of "Class::MOP", a meta-object protocol (aka MOP). Using the MOP, Moose provides complete introspection for all Moose-using classes. This means you can ask classes about their attributes, parents, children, methods, etc., all using a well-defined API. The MOP abstracts away the symbol table, looking at @ISA vars, and all the other crufty Perl tricks we know and love(?). Moose is based in large part on the Perl 6 object system, as well as drawing on the best ideas from CLOS, Smalltalk, and many other languages. WHY MOOSE
? Moose makes Perl 5 OO both simpler and more powerful. It encapsulates Perl 5 power tools in high-level declarative APIs which are easy to use. Best of all, you don't need to be a wizard to use it. But if you want to dig about in the guts, Moose lets you do that too, by using and extending its powerful introspection API. AN EXAMPLE
package Person; use Moose; has 'first_name' => ( is => 'rw', isa => 'Str', ); has 'last_name' => ( is => 'rw', isa => 'Str', ); no Moose; __PACKAGE__->meta->make_immutable; This is a complete and usable class definition! package User; use DateTime; use Moose; extends 'Person'; has 'password' => ( is => 'rw', isa => 'Str', ); has 'last_login' => ( is => 'rw', isa => 'DateTime', handles => { 'date_of_last_login' => 'date' }, ); sub login { my $self = shift; my $pw = shift; return 0 if $pw ne $self->password; $self->last_login( DateTime->now() ); return 1; } no Moose; __PACKAGE__->meta->make_immutable; We'll leave the line-by-line explanation of this code to other documentation, but you can see how Moose reduces common OO idioms to simple declarative constructs. TABLE OF CONTENTS
This manual consists of a number of documents. Moose::Manual::Concepts Introduces Moose concepts, and contrasts them against "old school" Perl 5 OO. Moose::Manual::Unsweetened Shows two example classes, each written first with Moose and then with "plain old Perl 5". Moose::Manual::Classes How do you make use of Moose in your classes? Now that I'm a Moose, how do I subclass something? Moose::Manual::Attributes Attributes are a core part of the Moose OO system. An attribute is a piece of data that an object has. Moose has a lot of attribute- related features! Moose::Manual::Delegation Delegation is a powerful way to make use of attributes which are themselves objects. Moose::Manual::Construction Learn how objects are built in Moose, and in particular about the "BUILD" and "BUILDARGS" methods. Also covers object destruction with "DEMOLISH". Moose::Manual::MethodModifiers A method modifier lets you say "before calling method X, do this first", or "wrap method X in this code". Method modifiers are particularly handy in roles and with attribute accessors. Moose::Manual::Roles A role is something a class does (like "Debuggable" or "Printable"). Roles provide a way of adding behavior to classes that is orthogonal to inheritance. Moose::Manual::Types Moose's type system lets you strictly define what values an attribute can contain. Moose::Manual::MOP Moose's meta API system lets you ask classes about their parents, children, methods, attributes, etc. Moose::Manual::MooseX This document describes a few of the most useful Moose extensions on CPAN. Moose::Manual::BestPractices Moose has a lot of features, and there's definitely more than one way to do it. However, we think that picking a subset of these features and using them consistently makes everyone's life easier. Moose::Manual::FAQ Frequently asked questions about Moose. Moose::Manual::Contributing Interested in hacking on Moose? Read this. Moose::Manual::Delta This document details backwards-incompatibilities and other major changes to Moose. JUSTIFICATION
If you're still asking yourself "Why do I need this?", then this section is for you. Another object system!?!? Yes, we know there are many, many ways to build objects in Perl 5, many of them based on inside-out objects and other such things. Moose is different because it is not a new object system for Perl 5, but instead an extension of the existing object system. Moose is built on top of Class::MOP, which is a metaclass system for Perl 5. This means that Moose not only makes building normal Perl 5 objects better, but it also provides the power of metaclass programming. Is this for real? Or is this just an experiment? Moose is based on the prototypes and experiments Stevan did for the Perl 6 meta-model. However, Moose is NOT an experiment or prototype; it is for real. Is this ready for use in production? Yes. Moose has been used successfully in production environments by many people and companies. There are Moose applications which have been in production with little or no issue now for years. We consider it highly stable and we are committed to keeping it stable. Of course, in the end, you need to make this call yourself. If you have any questions or concerns, please feel free to email Stevan or the moose@perl.org list, or just stop by irc.perl.org#moose and ask away. Is Moose just Perl 6 in Perl 5? No. While Moose is very much inspired by Perl 6, it is not itself Perl 6. Instead, it is an OO system for Perl 5. Stevan built Moose because he was tired of writing the same old boring Perl 5 OO code, and drooling over Perl 6 OO. So instead of switching to Ruby, he wrote Moose :) Wait, post modern, I thought it was just modern? Stevan read Larry Wall's talk from the 1999 Linux World entitled "Perl, the first postmodern computer language" in which he talks about how he picked the features for Perl because he thought they were cool and he threw out the ones that he thought sucked. This got him thinking about how we have done the same thing in Moose. For Moose, we have "borrowed" features from Perl 6, CLOS (LISP), Smalltalk, Java, BETA, OCaml, Ruby and more, and the bits we didn't like (cause they sucked) we tossed aside. So for this reason (and a few others) Stevan has re-dubbed Moose a postmodern object system. Nuff Said. AUTHOR
Moose is maintained by the Moose Cabal, along with the help of many contributors. See "CABAL" in Moose and "CONTRIBUTORS" in Moose for details. COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Infinity Interactive, Inc.. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. perl v5.14.2 2012-06-28 Moose::Manual(3pm)
All times are GMT -4. The time now is 01:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy