Home» Install Pkg Get Solaris 10 Cheat

Install Pkg Get Solaris 10 Cheat

Install Pkg Get Solaris 10 Cheat Average ratng: 5,8/10 9376votes

This tutorial concentrates on the tasks that are necessary to get Oracle Solaris Zone instances up and running quickly. Complete your. pkg install web. This Solaris 11 desktop is on the LAN but may not have setup to access external site. It would be great if I could get some guidance on setting this up, if pkg needs. Solaris. Install. Cookbook. Perl. Modules lt Codev lt TWiki Why Solaris is different than Linux in this respect. Building CPAN modules on Solaris might be a bit different than on your average Linux platform. Here is the reason why. Solaris 1. 0 comes pre installed with Perl 5. This is the good news. However, it has been built with Suns Studio compiler suite. When perl is built it saves the name of the compiler and any compiler flags in its configuration files, and then uses these saved settings when any additional modules are built. So when you try to build additional modules it will expect to find the Sun Studio compiler. Solaris 1. 0 comes pre installed with GNU CC compiler but the Sun Studio compiler is optional and is likely not installed. Luckily Solaris comes with a tool called perlgcc that fixes this problem. It will make sure that modules are build with gcc rather than the Sun Studio compiler. Instead of invoking perl Makefile. PL to generate the makefile needed to compile a module, perlgcc Makefile. PL should be used instead. All command line arguments to perlgcc are passed unmodified to perl. Needless to say you can forget all in this article if you have Sun Studio compiler installed and wish to use that for building modules. However most Perl modules have only been tested to compile with the GNU CC compiler so if you do not want trouble stick with the recipe in this article. Where to install Perl modules. During install you need to decide if you want to install CPAN modules into the standard system wide location or to special location. There may be at least two reasons that you want to do the latter. You do not have privilege to install perl modules into the system wide location. You wish to keep your default Perl installation clean and have a clear overview of what has been installed only for the sake of TWiki. Note The remainder of this document assumes that your want to install TWiki related Perl modules into appstwiki rootperlmodules. Manual install method Note The automated method described below is an aternative and is preferred. It will save you a lot of time. These are the general steps to follow when installing a CPAN module manually on your TWiki host. Icd 10 Cheat Sheet FreeMake sure gcc can be found. On a default Solaris install the gcc is in usrsfwbin. Add this to your path if it is not already there. Check using the which command. If you plan to install into a special location then you need to make sure Perl reads modules from this location before continue with the steps below. This is done by PERL5. LIBPERL5. LIB appstwiki rootperlmodules export PERL5. LIB Download the package from CPAN and unpack into a temporary directory. PFr2B.png' alt='Final Fantasy 10 Cheats' title='Final Fantasy 10 Cheats' />Solaris pkg command Heres a quick cheat sheet for the most useful pkg commands. S it knows about pkg install xyz. Patch Installation Instructions For Solaris Systems. Before you install the Solaris patch, make sure that you have backed up the files listed in PreInstallation. Cross Reference of Linux and Solaris Administration Commands. Category Task. yum install aptget install pkg install Pkg Display installed packages rpm qa. Makefile. PL LIBappstwiki rootperlmodules PREFIXappstwiki rootperlmodules usrsfwbingmake MAKEusrsfwbingmake usrsfwbingmake MAKEusrsfwbingmake test usrsfwbingmake MAKEusrsfwbingmake install Remember to remove the temp directory. To view the modules installed in this special location, use grep appstwiki rootperlmodulessun. Note how we force the make process to use GNU make rather than the Sun equivalent. Automated install method preferred. These are the general steps to follow when installing a CPAN module automatically using the CPAN shell script. This script will automatically download, make and install Perl modules for you. It can use a range of different tools to download depending on what is installed on host. It can access the CPAN repository by either ftp or http. The suggestion below is to use http to access the CPAN repository and force the shell script to use the wget tool to download rather than any other alternative. With the release of the Oracle Solaris 10 10. Oracle Solaris Live Upgrade. Oracle Solaris Live Upgrade. Make sure gcc can be found. On a default Solaris install the gcc is in usrsfwbin. Add this to your path if it is not already there. Check using the which command. If you plan to install into a special location then you need to make sure Perl reads modules from this location before continue with the steps below. This is done by PERL5. LIBPERL5. LIB appstwiki rootperlmodules export PERL5. LIBRecommend to put the above into your login script. The following step will need to access the internet. Therefore make sure to let Solaris know your proxy settings if any beforehand httpproxymyproxy 8. Start the CPAN shell script usrperl. MCPAN e shell. If this is the first time this script is run it will ask a lot of questions and store the results in HOME. UdUk6rMf6Pdz8_Spw.png' alt='Icd 10 Cheat Code Printable' title='Icd 10 Cheat Code Printable' />CPANMy. Config. pm. The file can edited by hand afterwards if need be. Here are some hints Be sure to use GNU tools rather than Sun equivalents make qusrsfwbingmake,tar qusrsfwbingtar, Make sure it uses wget and not anything else. Set your proxy to access Internet if required httpproxy qmyproxy 8. Install into special location makeplarg qLIBappstwiki rootperlmodules PREFIXappstwiki rootperlmodules INSTALLMAN3. DIRappstwiki rootperlmodulesmanman. Exit the script exit. The above was one time only. Dental Icd 10 Cheat SheetNow you are ready to install Perl modules the easy way. Start the CPAN shell script usrperl. MCPAN e shell. Install a module, e. CGI Session Exit the shell script exit Solaris 1. This section has been added by Brian Martin. Install Pkg Get Solaris 10 Cheat' title='Install Pkg Get Solaris 10 Cheat' />Install Pkg Get Solaris 10 CheatOncology Icd 10 Cheat SheetsOn Solaris 1. Perl was build using Solaris Studio compiler and that you therefore need to use perlgcc when buildinginstalling additional Perl modules. However there are some minor differences to Solaris 1. Perl version will be newer and also come with a somewhat never CPAN module compared to the one delivered with Solaris 1. Here is an account of what I did. If you are inside a non global zone then it is very likely that this zone has been installed with the small server manifest as this is the default in Solaris 1. This means that you will have to add some packages even if these are indeed available in the global zone. So very likely your zone does not have a C compiler and some Perl modules will require a C compiler during the install phase. Fear not. Simply install the GNU CC compiler. After this gcc will immediately become part of your PATH because it lives in usrbin unlike in Solaris 1. Furthermore I wanted to make sure my Perl module builds would be using GNU make and GNU tar as opposed to the Solaris equivalents so I also did this. I wanted to do a self contained library of needed Perl modules for TWiki so before I started I defined my PERL5. LIB as follows. PERL5. LIBappstwiki rootperlmodules. In other words I set out to install Perl modules as non root. Admittedly this then becomes just as much a guide on how to install Perl modules as a non root user as it is a guide specific to Solaris. Just so you know. Here we go I did first time start of CPAN as described above, answered the questions and exited the CPAN shell. The Perl CPAN module stores preferences in. CPANMy. Config. pm. I customized this file as follows. Crystal Topas 3D Software here. LIBappstwiki rootperlmodules PREFIXappstwiki rootperlmodules INSTALLMAN3. DIRappstwiki rootperlmodulesmanman. In the above I only mention those preferences that I edited by hand. The rest was set during the initial question and answer phase and were ok for my usage. Some explanation of the reasonings for my customisations to the CPAN preferences. The preferences named make, makeinstallmakecommand and tar simply make sure that I use the GNU tools as opposed to the Solaris equivalents. Theta Healing Technique Pdf To Excel. You might experience that you do not need this, i. Solaris Zones Cheat Sheet. Solaris Containers cheat sheet. This a quick cheat sheet of the commands that can be used when using zones containers, for a more complete guide see solaris zones. Zone States Configured. Configuration has been completed and storage has been committed. Additional configuration is still required. Incomplete. Zone is in this state when it is being installed or uninstalled. Installed. The zone has a confirmed configuration, zoneadm is used to verify the configuration, Solaris packages have been installed, even through it has been installed, it still has no virtual platform associated with it. Ready active Zones virtual platform is established. The kernel creates the zsched process, the network interfaces are plumbed and filesystems mounted. The system also assigns a zone ID at this state, but no processes are associated with this zone. Fm 2005 Completo there. Running active A zone enters this state when the first user process is created. This is the normal state for an operational zone. Shutting down Down active Normal state when a zone is being shutdown. Files and Directorieszone config file etczoneszone index etczonesindex. Note used by libsvcmethodsvc zones to start and stop zones Cheat sheet Creating a zone zonecfg z lt zone see creating a zone for a more detailsdeleting a zone from the global ssytem halt the zone first, then uninstall it zoneadm z lt zone haltzoneadm z lt zone uninstall now you can delete it zonecfg z lt zone delete F Display zones current configuration zonecfg z lt zone info Display zone name zonename. Create a zone creation file zonecfg z lt zone export   Verify a zonezoneadm z lt zone verify Installing a zone zoneadm z lt zone install Ready a zone zoneadm z lt zone ready boot a zone zoneadm z lt zone boot reboot a zone zoneadm z lt zone reboot halt a zone zoneadm z lt zone halt uninstalling a zone zoneadm z lt zone uninstall F Veiwing zones zoneadm list cv   login into a zone zlogin lt zone login to a zones console zlogin C lt zone use. S lt zone   addremove a package global zone pkgadd G d. If the G option is missing the package will be added to all zones addremove a package non global zone pkgadd Z d. If the Z option is missing the package will be added to all zones. Query packages in all non global zones pkginfo Zquery packages in a specified zone pkginfo z lt zone   lists processes in a zone ps z lt zone list the ipcs in a zone ipcs z lt zone process grep in a zone pgrep z lt zone list the ptree in a zone ptree z lt zone Display all filesystems df Zkdisplay the zones process informtion prstat Z prstat z lt zone Note Z reports information about processes and zones z reports information about a particular zone.