2007-08-24

tobyaw: (Default)
2007-08-24 11:24 am

Adding a user in Solaris 10

To add a user in Solaris 10:
# useradd -c 'Full Name' -d /export/home/username -m -s /bin/bash username
(to add an admin user, add -g staff in there)

Then add a password for the user:
# passwd username
tobyaw: (Default)
2007-08-24 11:24 am

Adding a user in Solaris 10

To add a user in Solaris 10:
# useradd -c 'Full Name' -d /export/home/username -m -s /bin/bash username
(to add an admin user, add -g staff in there)

Then add a password for the user:
# passwd username
tobyaw: (Default)
2007-08-24 05:11 pm
Entry tags:

Installing curl on Solaris 10

Install the Sun developer tools, and add /usr/ccs/bin to your path. Download http://curl.haxx.se/download/curl-7.16.4.tar.gz, then:

$ gunzip curl-7.16.4.tar.gz
$ tar -xvf curl-7.16.4.tar
$ cd curl-7.16.4
$ ./configure --without-ssl
$ make
$ su
# PATH=$PATH:/usr/ccs/bin
# export PATH
# make install
tobyaw: (Default)
2007-08-24 05:11 pm
Entry tags:

Installing curl on Solaris 10

Install the Sun developer tools, and add /usr/ccs/bin to your path. Download http://curl.haxx.se/download/curl-7.16.4.tar.gz, then:

$ gunzip curl-7.16.4.tar.gz
$ tar -xvf curl-7.16.4.tar
$ cd curl-7.16.4
$ ./configure --without-ssl
$ make
$ su
# PATH=$PATH:/usr/ccs/bin
# export PATH
# make install
tobyaw: (Default)
2007-08-24 05:18 pm
Entry tags:

Installing rsync on Solaris 10

Install the developer tools, and install curl. Then:

$ curl -O http://rsync.samba.org/ftp/rsync/rsync-2.6.9.tar.gz
$ gunzip rsync-2.6.9.tar.gz
$ tar -xvf rsync-2.6.9.tar
$ cd rsync-2.6.9
$ ./configure
$ make
$ su
# PATH=$PATH:/usr/ccs/bin
# export PATH
# make install
tobyaw: (Default)
2007-08-24 05:18 pm
Entry tags:

Installing rsync on Solaris 10

Install the developer tools, and install curl. Then:

$ curl -O http://rsync.samba.org/ftp/rsync/rsync-2.6.9.tar.gz
$ gunzip rsync-2.6.9.tar.gz
$ tar -xvf rsync-2.6.9.tar
$ cd rsync-2.6.9
$ ./configure
$ make
$ su
# PATH=$PATH:/usr/ccs/bin
# export PATH
# make install
tobyaw: (Default)
2007-08-24 05:36 pm

Installing ruby, gem, rails, mongrel on Solaris 10

Install the Sun developer tools, and install curl. Then to install ruby:
$ curl -O ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.6.tar.gz
$ gunzip ruby-1.8.6.tar.gz
$ tar -xf ruby-1.8.6.tar
$ cd ruby-1.8.6
$ ./configure --without-gcc
$ make
$ su
# PATH=$PATH:/usr/ccs/bin
# export PATH
# make install
# make install-doc


To install gem:
$ curl -O http://rubyforge.rubyuser.de/rubygems/rubygems-0.9.4.tgz
$ gunzip rubygems-0.9.4.tgz
$ tar -xf rubygems-0.9.4.tar
$ cd rubygems-0.9.4
$ su
# PATH=$PATH:/usr/local/bin
# export PATH
# ruby setup.rb


Then to install rails, mongrel etc.:
# gem install rails
# gem install mongrel


(If a gem complains about being unable to build a native extension, try doing PATH=$PATH:/usr/local/bin; export PATH first.)
tobyaw: (Default)
2007-08-24 05:36 pm

Installing ruby, gem, rails, mongrel on Solaris 10

Install the Sun developer tools, and install curl. Then to install ruby:
$ curl -O ftp://ftp.ruby-lang.org/pub/ruby/ruby-1.8.6.tar.gz
$ gunzip ruby-1.8.6.tar.gz
$ tar -xf ruby-1.8.6.tar
$ cd ruby-1.8.6
$ ./configure --without-gcc
$ make
$ su
# PATH=$PATH:/usr/ccs/bin
# export PATH
# make install
# make install-doc


To install gem:
$ curl -O http://rubyforge.rubyuser.de/rubygems/rubygems-0.9.4.tgz
$ gunzip rubygems-0.9.4.tgz
$ tar -xf rubygems-0.9.4.tar
$ cd rubygems-0.9.4
$ su
# PATH=$PATH:/usr/local/bin
# export PATH
# ruby setup.rb


Then to install rails, mongrel etc.:
# gem install rails
# gem install mongrel


(If a gem complains about being unable to build a native extension, try doing PATH=$PATH:/usr/local/bin; export PATH first.)
tobyaw: (Default)
2007-08-24 07:11 pm
Entry tags:

Installing sudo on Solaris 10

Install the Sun developer tools, and curl. Then:
$ curl -O ftp://ftp.sudo.ws/pub/sudo/sudo-1.6.9p4.tar.gz
$ gunzip sudo-1.6.9p4.tar.gz
$ tar -xf sudo-1.6.9p4.tar
$ cd sudo-1.6.9p4
$ ./configure
$ make
$ su
# PATH=$PATH:/usr/ccs/bin
# export PATH
# make install


The sudo configuration is stored in a file /etc/sudoers which is edited by running /usr/local/sbin/visudo as root. To allow all members of the staff group to use sudo, add the line:
%staff  ALL=(ALL) SETENV: ALL
tobyaw: (Default)
2007-08-24 07:11 pm
Entry tags:

Installing sudo on Solaris 10

Install the Sun developer tools, and curl. Then:
$ curl -O ftp://ftp.sudo.ws/pub/sudo/sudo-1.6.9p4.tar.gz
$ gunzip sudo-1.6.9p4.tar.gz
$ tar -xf sudo-1.6.9p4.tar
$ cd sudo-1.6.9p4
$ ./configure
$ make
$ su
# PATH=$PATH:/usr/ccs/bin
# export PATH
# make install


The sudo configuration is stored in a file /etc/sudoers which is edited by running /usr/local/sbin/visudo as root. To allow all members of the staff group to use sudo, add the line:
%staff  ALL=(ALL) SETENV: ALL