Gentoo Linux quick installer script

Published on

Before you read There is also full automated script available that can be executed on the host OS (works well for macOS and Linux, but could be tricky on Windows): https://github.com/sormy/gentoo-vbox-builder. gentoo-vbox-builder doesn’t require any manual typing in VirtualBox console or any manipulations inside VirtualBox as the script referenced below. However, the script below is … Continue reading Gentoo Linux quick installer script

Setup nextcloud/owncloud on Gentoo linux

Published on

Configure Portage Create portage folders for accepted keywords and use flags (if you don’t have them yet): mkdir -p /etc/portage/package.accept_keywords mkdir -p /etc/portage/package.use Setup MySQL Install the mysql-like server (mysql or mariadb or percona-server): echo “dev-db/percona-server” > /etc/portage/package.accept_keywords/percona-server emerge percona-server Edit: nano /etc/mysql/my.cnf … [mysqld] innodb_data_file_path = ibdata1:10M:autoextend innodb_buffer_pool_size = 128M innodb_log_file_size = 32M Add … Continue reading Setup nextcloud/owncloud on Gentoo linux

Check CPU/Volume credits on AWS T micro/nano/small instances

Published on

T instances and Gentoo AWS t2/t3/t3a/t4g nano/micro/small instances is not the best choice for compilation of heavy applications, especially on Gentoo where every package is compiled from source code. However, these small T instances are very cost-effective and could be used as playground or for small projects. Before upgrading any heavy package like gcc, glibc, … Continue reading Check CPU/Volume credits on AWS T micro/nano/small instances

Recover GCC on Gentoo

Published on

Why? Gentoo could became completely unusable if for some reason build chain is broken. If you see “Segmentation fault” from “gcc” then probably replacing whole GCC by the version provided in Stage 3 could be a good fix. You could also use this method to install binary version of other packages, like binutils, libtool, glibc … Continue reading Recover GCC on Gentoo

Gentoo Monit

Published on

Installation emerge app-admin/monit Configuration Save default config file: mv /etc/monitrc /etc/monitrc.dist /etc/monitrc: # each cycle is 1 minute, wait for 2 minutes before starting monitoring to be sure that all services are up. set daemon 60 with start delay 120 # if we will use integrated monit ssl validation then we need normal validation because … Continue reading Gentoo Monit

Modify Linux Kernel Font

Published on

Reasons There are not so much reasons to change integrated in kernel fonts. But I will publish my reasons for that: – I would like to see kernel boot console – MacBookPro has no way to change screen resolution through efifb kernel module, so on my MacBookPro Retina 13″ I have 2560×1600 native screen resolution. … Continue reading Modify Linux Kernel Font

Gentoo on AWS

Published on

Introduction This article was recently updated (as of 2020-10-18) to better fit current realities ;-). There are a lot of Gentoo AMI images available for free on Amazon Marketplace but all of them are either outdated or are from untrusted sources. By the way, the lack of official guidelines how to install Gentoo on EC2 … Continue reading Gentoo on AWS