Prumnopytis

Prumnopytis

Updating a fresh Gentoo image on linode

Description

All the interactions, via shell ssh, with a linode I am setting up.

Shell

First things first

  • Add a Linode with their Gentoo base image
  • Add my public key, via Linode's web shell

Example shell working

ssh root@XXX.XXX.XX.XXX << EOF
  pwd
EOF

Syncing portage

ssh root@XXX.XXX.XX.XXX <<EOF
  emerge --sync
EOF

Updating portage

ssh root@XXX.XXX.XX.XXX <<EOF
  emerge --oneshot portage
EOF

Upgrading system

ssh root@XXX.XXX.XX.XXX <<EOF
  emerge -vuDN --with-bdeps y --keep-going world
EOF

Update configuration

ssh root@XXX.XXX.XX.XXX <<EOF
  echo '-5' | etc-update
EOF

Clean dependencies

ssh root@XXX.XXX.XX.XXX <<EOF
  emerge -v --depclean
EOF

Comments

comments powered by Disqus