Trying OpenSolaris VPS : Install pkg-get

I have chance to try opensolaris vps, since I have no experience in OpenSolaris before I try to learn some basic command before achieve my goal :

Running wordpress in my OpenSolaris VPS

Here’s what I reach so far :

1. pkg for listing file

[arasyid@TGL107201 mysql]# pkg list -s | grep mysql
SUNWmysql-base                 MySQL Database Management System (Base)
SUNWmysql5                     MySQL 5.0.45 – MySQL Database Management System (usr component)

2. pkgadd for install

pkgadd -d http://www.blastwave.org/pkg_get.pkg

By default, it wil save all file in /opt

Make sure to update /opt/csw/etc/pkg-get.conf for nearest mirror

I use :

url=http://blastwave.network.com/csw/unstable

Using vi and update catalog file:

/opt/csw/bin/pkg-get -U

3. Use pkg-get for install software

I want to install nano for vi alternative 🙂

/opt/csw/bin/pkg-get -i nano

I want to install ee but I can’t find it.

[arasyid@TGL107201 bin]# /opt/csw/bin/pkg-get -a | grep nano
nano 1.2.5,REV=2005.08.14
[arasyid@TGL107201 bin]#

Install wget for download file

/opt/csw/bin/pkg-get -i wget

Great, I love it.

Tags: