dennislfromga / cbc-projects Goto Github PK
View Code? Open in Web Editor NEWChromebook Central Projects
Chromebook Central Projects
Hope this helps,
-DennisLfromGA
Here's how to do it ...
ctrl+alt+t
vmc start dev
- or if it's already started -
vsh dev
Then change directories to the 'lxd_conf
' folder:
cd /mnt/stateful/lxd_conf
curl -JO https://transfer.sh/11lhwV/lxd-conf.bin.tar.gz
( If the link doesn't work let me know and I'll generate a new one. )
That will download the tar gzip file to '/mnt/stateful/lxd_conf
'
/mnt/stateful/lxd_conf/bin
:tar -xvaf lxd-conf.bin.tar.gz
Here's a list of the files you should now have in 'bin/
'
ls -la bin/
total 276K
drwxr-xr-x 1 denny denny 200 Apr 22 16:57 .
drwxr-xr-x 1 denny denny 484 Apr 22 17:34 ..
-rw-r--r-- 1 denny denny 3.5K Apr 22 15:08 .bash_aliases
-rw-r--r-- 1 denny denny 2.4K Apr 22 15:13 .bashrc
-rw-r--r-- 1 denny denny 2.2K Apr 22 15:08 .lxc.bash_aliases
-rw-r--r-- 1 denny denny 2.6K Apr 22 15:33 lxc.bashrc
-rw-r--r-- 1 denny denny 464 Apr 22 16:13 .lxc.termina_aliases
-rwxr-xr-x 1 denny denny 387 Apr 22 15:08 mywanip
-rwxr-xr-x 1 denny denny 20K Apr 22 15:08 name
-rwxr-xr-x 1 denny denny 226K Apr 22 15:08 screenfetch
-rwxr-xr-x 1 denny denny 2.1K Apr 22 16:57 transfer.sh
. /mnt/stateful/lxd_conf/bin/lxc.bashrc
That will setup your environment and give you some aliases & stuff to make things a little easier.
To see what aliases are defined just run:
al
You can see shortcuts for a lot of often used commands, if you forget or want to look for those with 'lxc' just run this:
alf lxc
Important: Each time you start your Termina session you will need to run Step 5 again.
run_container.sh --container_name=stretch --shell --user=<username>
Substitute the container_name and to match your situation.
$HOME
directorycd
sudo apt-get install curl wget
curl -JO https://transfer.sh/11lhwV/lxd-conf.bin.tar.gz
( If the link doesn't work let me know and I'll generate a new one. )
That will download the tar gzip file to your $HOME
folder.
$HOME/bin
':tar -xvaf lxd-conf.bin.tar.gz
cp ./bin/.bash* .
. ./.bashrc
That will setup your environment and give you some aliases & stuff to make things a little easier.
See above for viewing your aliases, etc.
~Denny
# Update installed packages
sudo apt-get update &&
sudo apt-get -y upgrade
# Fix & Cleanup Up Apt Packages, etc. -
sudo apt-get -f install &&
sudo apt-get autoremove &&
sudo apt-get -y autoclean &&
sudo apt-get -y clean
# Show packages manually installed
zgrep 'Commandline: apt' /var/log/apt/history.log /var/log/apt/history.log.*.gz
# Create a volume to use in the container(s) and then list it
lxc storage volume create default removable
lxc storage volume list default
# Then attach new volume to container(s)
lxc storage volume attach default removable penguin /data
lxc storage volume attach default removable stretch /data
# Configure the container to run with host-equivalent privileges... (removed)
lxc config set stretch security.privileged true
lxc config set MrUrbanity security.privileged true
# Mount & share the 'lxd_conf' directory in your containers with:
lxc config device add penguin lxd-conf disk source=$LXD_CONF path=/mnt/lxd_conf
> Device lxd-conf added to penguin
lxc config device add stretch lxd-conf disk source=$LXD_CONF path=/mnt/lxd_conf
> Device lxd-conf added to stretch
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.