This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://distfiles.gentoo.org/releases/amd64/autobuilds/current-stage3-amd64/stage3-amd64-20150423.tar.bz2 | |
bzcat stage3-amd64-20150423.tar.bz2 | docker import - 'gentoo:latest' | |
FROM gentoo:latest | |
MAINTAINER Paul Healy <ph> | |
EXPOSE 22 | |
RUN echo "root:supersecret" | chpasswd | |
RUN mkdir /usr/portage | |
RUN rc-config add sshd | |
ENTRYPOINT ["/sbin/init"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The suggestion from here works: | |
http://community.skype.com/t5/Linux/Skype-4-3-crash-on-ubuntu-14-04/td-p/3219892/page/2 | |
sqlite3 ~/.Skype/[YOURUSER}/main.db | |
sqlite> DELETE FROM Messages WHERE type=68; | |
sqlite> .quit | |
Note that this deletes file transfer history. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ref: https://wiki.gentoo.org/wiki/ConsoleKit#startx_integration | |
exec ck-launch-session dbus-launch --sh-syntax --exit-with-session startkde |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Notes: | |
# set the server use flag on tigervnc: net-misc/tigervnc server | |
# turn off compositing/all-effects | |
# set password with vncpasswd(1) | |
Section "Module" | |
Load "vnc" | |
EndSection | |
Section "Screen" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# from: lmiphay overlay | |
emerge -av kde-misc/plasma-custom-desktop-menu kde-misc/webslice-plasmoid | |
# see: | |
# post-install message from kde-misc; e.g. add /usr/share/applications/uxterm.desktop | |
# add webslice widget to the desktop - sample urls: | |
# http://www.met.ie/weathermaps/Web_radar.gif | |
# http://www.yr.no/place/Ireland/Leinster/Dublin/meteogram.png | |
# http://www.rte.ie/weather/images/nat-today.gif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# top mount point | |
/shared /shared none bind,unbindable,shared 0 0 | |
# virtual machines | |
/lxc/c1 /shared/c1 none bind 0 0 | |
/lxc/c2 /shared/c2 none bind 0 0 | |
/lxc/c3 /shared/c3 none bind 0 0 | |
/home /shared/home none bind 0 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sed -i -- 's/runscript/openrc-run/g' $(grep -l '^#!/sbin/runscript' /etc/init.d/*) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
INSTALL_MASK="/etc/cron.daily/0yum-update.cron" | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lxc-copy is the replacement for lxc-clone: | |
mkdir -p <new_lxc_path> | |
lxc-copy --name=<existing_lxc_name> --newname <new_lxc_name> --newpath /<new_lxc_path> | |
In the new container: | |
1. /etc/conf.d/hostname - set new hostname | |
2. /etc/conf.d/net - set new ip (if static ip) | |
3. /etc/hosts - add new ip/hostname |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# /etc/X11/xorg.conf.d/40-vnc.conf | |
# requires: net-misc/tigervnc[server] | |
Section "Module" | |
Load "vnc" | |
EndSection | |
Section "Screen" | |
Identifier "Default Screen" | |
# create with: vncpasswd |
OlderNewer