Skip to content

Instantly share code, notes, and snippets.

@jensk
Created August 20, 2014 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jensk/020c29efd1f32e661eec to your computer and use it in GitHub Desktop.
Save jensk/020c29efd1f32e661eec to your computer and use it in GitHub Desktop.
Vagrant-lxc gentoo base box update documentation
Vagrant-lxc gentoo base box update documentation
===========================================
Start box to prepare it
------------------------
sudo lxc-start --name peter -f gentoo-tpl.conf
System Upgrade via Buildbox
--------------
pdry|prun
eix-sync
cd /usr/local/portage && git pull
emerge --update --newuse --deep --with-bdeps=y @system @world -a
emerge @preserved-rebuild -a
perl-cleaner --all -- --getbinpkg
python-updater -- --getbinpkg
emerge -va --depclean
pdry|prun
Webdev Toolchain Updates
-----------------
### NPM
npm update -g gulp
npm update -g bower
npm update -g
### COMPOSER
cd /usr/local/bin
./composer self-update
chmod 0755 composer
### PHPUNIT
wget https://phar.phpunit.de/phpunit-lts.phar
mv phpunit-lts.phar phpunit
chmod 0755 phpunit
wget https://phar.phpunit.de/phpunit.phar
mv phpunit.phar phpunit4
chmod 0755 phpunit4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment