Difference between revisions of "Gentoo"
From Christoph's Personal Wiki
(New page: '''Gentoo Linux''' is a computer operating system based on the Linux kernel and built using the Portage package management system. ==Networking== ===tsocks=== Use ...) |
(→Misc) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 20: | Line 20: | ||
* Now you can install/sync: | * Now you can install/sync: | ||
$ tsocks emerge --sync | $ tsocks emerge --sync | ||
+ | |||
+ | ==Misc== | ||
+ | * Check if you are running "init" or "[[systemd]]": | ||
+ | $ cat /proc/1/comm | ||
+ | systemd | ||
+ | |||
+ | * Restart network: | ||
+ | $ systemctl restart network.target | ||
==External links== | ==External links== | ||
* [http://www.gentoo.org/ Official website] | * [http://www.gentoo.org/ Official website] | ||
+ | * [http://wiki.gentoo.org/wiki/Gentoo_Cheat_Sheet Gentoo Cheat Sheet] | ||
* [http://wiki.gentoo.org/wiki/Systemd systemd] — on the Gentoo wiki | * [http://wiki.gentoo.org/wiki/Systemd systemd] — on the Gentoo wiki | ||
* [http://wiki.gentoo.org/wiki/Safe_CFLAGS Safe CFLAGS] — on the Gentoo wiki | * [http://wiki.gentoo.org/wiki/Safe_CFLAGS Safe CFLAGS] — on the Gentoo wiki | ||
+ | * [http://wiki.gentoo.org/wiki/Pfl pfl] — on the Gentoo wiki | ||
* [http://wiki.gentoo.org/wiki/Eix eix] — a set of utilities for searching and diffing your local portage-tree and overlays using a binary cache. | * [http://wiki.gentoo.org/wiki/Eix eix] — a set of utilities for searching and diffing your local portage-tree and overlays using a binary cache. | ||
+ | * [http://wiki.gentoo.org/wiki/Gentoolkit gentoolkit] | ||
+ | * [http://wiki.gentoo.org/wiki/Overlay Overlays] | ||
+ | * [https://extensions.gnome.org/ Gnome extensions] | ||
+ | {{stub}} | ||
[[Category:Linux Command Line Tools]] | [[Category:Linux Command Line Tools]] |
Latest revision as of 01:45, 14 May 2015
Gentoo Linux is a computer operating system based on the Linux kernel and built using the Portage package management system.
Contents
Networking
tsocks
Use `tsocks`
(the Transparent SOCKS Proxying Library) to route traffic through an SSH tunnel.
- Install
`tsocks`
first:
$ emerge -av tsocks $ cp /etc/socks/tsocks.simple.example /etc/socks/tsocks.conf $ vi /etc/socks/tsocks.conf # Should only have the following two lines: server = 127.0.0.1 server_port = 11024 # choose any port over 1024
- Open a new shell and SSH into a "bastion" server:
$ ssh -D 11024 bob@x.x.x.x -p2222
- Now you can install/sync:
$ tsocks emerge --sync
Misc
- Check if you are running "init" or "systemd":
$ cat /proc/1/comm systemd
- Restart network:
$ systemctl restart network.target
External links
- Official website
- Gentoo Cheat Sheet
- systemd — on the Gentoo wiki
- Safe CFLAGS — on the Gentoo wiki
- pfl — on the Gentoo wiki
- eix — a set of utilities for searching and diffing your local portage-tree and overlays using a binary cache.
- gentoolkit
- Overlays
- Gnome extensions
This article is curently a "stub". This means it is an incomplete article needing further elaboration.
I always welcome suggestions, comments, and criticism. If you have something to contribute to this site, please follow this link: Contributing Information. Thank you!