Creating Your Own Linux Distribution

Titus Tech Talk
27 Aug 202020:41

Summary

TLDREn este video, el presentador ofrece una sesión en vivo donde construye un entorno personalizado para Linux, enfocándose en Arch Linux, una distribución ideal para aprender sobre Linux. Se discuten temas como la personalización de la distribución, la instalación de paquetes básicos y la configuración de un sistema sin entorno de escritorio completo para evitar el exceso de 'bloat'. El objetivo es crear una experiencia de aprendizaje y personalización, con scripts que automatizan gran parte del proceso, permitiendo a los espectadores construir su propia versión de Arch Linux.

Takeaways

  • 😀 El stream en vivo trata sobre construir un entorno personalizado de Linux.
  • 🔧 Se menciona que Gen 2 es la distribución utilizada por Chrome OS, muy personalizada.
  • 📚 El presentador sugiere que solo existen tres distribuciones principales: Debian, Arch y las basadas en Red Hat como Fedora.
  • ⚙️ Arch Linux es destacado como una gran opción para aprender sobre Linux.
  • 🛠️ Se habla de un proyecto llamado Archmatic, creado para automatizar la instalación y configuración de Arch Linux.
  • 🔄 El proceso de instalación se divide en partes para facilitar la depuración y el aprendizaje.
  • 💻 Se enfatiza la importancia de no utilizar entornos de escritorio y evitar el exceso de paquetes innecesarios.
  • 🔗 Se menciona la necesidad de instalar paquetes básicos como git, curl y wget para obtener scripts.
  • 🔄 Durante el stream, se muestra cómo se puede fallar y cómo solucionar problemas en vivo, lo cual es instructivo para el espectador.
  • 🖥️ El objetivo final es tener una instalación de Linux personalizada y minimalista, con solo los paquetes necesarios.
  • 🔧 Se utiliza el Awesome Window Manager en lugar de un entorno de escritorio completo, para mantener la instalación ligera.

Q & A

  • ¿Qué se discute en el directo en vivo mencionado en el guion?

    -Se discute la creación de un entorno personalizado para Linux, enfocándose en la instalación y configuración de Arch Linux como un sistema básico y sin rastro de desperdicio.

  • ¿Por qué el presentador considera que solo existen tres distribuciones principales de Linux?

    -El presentador opina que las tres distribuciones principales son Debian, Arch y las basadas en Red Hat, como Fedora, porque estas son las ramas principales y las demás son simplemente personalizaciones o derivadas de ellas.

  • ¿Qué proyecto llamado Archmatic se menciona en el guion y para qué sirve?

    -Archmatic es un proyecto personalizado creado por el presentador, que busca automatizar el proceso de instalación y configuración de Arch Linux, facilitando así la creación de un sistema personalizado.

  • ¿Cuál es el propósito de no utilizar un entorno de escritorio en la instalación descrita en el guion?

    -El propósito es evitar el exceso de 'rastro de desperdicio', es decir, instalar solo los paquetes necesarios y evitar la sobrecarga de software innecesario.

  • ¿Qué significa 'bloat' en el contexto del guion y por qué se busca evitarlo?

    -El término 'bloat' se refiere a la acumulación de software no necesario o de más que puede ralentizar el sistema. Se busca evitarlo para mantener un sistema ligero y eficiente.

  • ¿Qué es systemd-boot y cómo se relaciona con la instalación de Arch Linux descrita en el guion?

    -systemd-boot es un gestor de arranque que utiliza systemd para manejar el inicio del sistema. En el guion, se menciona que es más fácil de configurar que GRUB si todo está configurado correctamente.

  • ¿Qué es el 'UUID' y por qué es importante al crear una entrada de arranque en el guion?

    -El UUID (Universally Unique Identifier) es un identificador único para el disco o partición. Es importante al crear una entrada de arranque para que el sistema pueda identificar y cargar correctamente la partición con el sistema operativo.

  • ¿Qué es Awesome Window Manager y cómo se utiliza en el guion?

    -Awesome Window Manager es un administrador de ventanas ligero y personalizable para entornos de escritorio de Linux. En el guion, se instala y se configura para crear un escritorio personalizado.

  • ¿Por qué el presentador decide no empaquetar el proyecto en un ISO?

    -El presentador opta por no empaquetar el proyecto en un ISO porque quiere que los espectadores aprendan los pasos y puedan personalizar el script según sus necesidades, en lugar de simplemente descargar e instalar un archivo ISO listo.

  • ¿Qué es 'neofetch' y cómo se utiliza en el guion?

    -Neofetch es un script que muestra información sobre el sistema operativo, el hardware y la configuración del entorno de escritorio. En el guion, se utiliza para mostrar el estado del sistema después de la instalación y configuración.

  • ¿Qué es 'Material Awesome' y cómo se relaciona con la configuración del escritorio en el guion?

    -Material Awesome es un tema para el administrador de ventanas Awesome, que proporciona un aspecto minimalista y moderno. En el guion, se menciona como parte de la configuración del escritorio personalizado.

Outlines

00:00

😀 Introducción a la transmisión en vivo de creación de entornos Linux

El presentador inicia la transmisión en vivo con una introducción entusiasta, anunciando un enfoque especial en la creación de un entorno personalizado para Linux. Se menciona la discusión previa en el chat sobre Gen 2 y LFS, y se destaca que Gen 2 es la distribución utilizada por Chrome OS. El hablante expresa su preferencia por las ramas principales de las distribuciones, como Debian, Arch y las basadas en Red Hat, como Fedora, y enfatiza la importancia de la personalización. La transmisión se centrará en Arch Linux, destacando su valor educativo y la intención de realizar este proceso periódicamente con diferentes distribuciones.

05:02

🛠️ Preparación y automatización del proceso de instalación de Arch Linux

El hablante describe el proyecto 'archmatic', una herramienta de automatización para facilitar la instalación y configuración de Arch Linux. Se discute la estructura del proyecto y cómo se divide en partes para facilitar la solución de problemas. Se menciona la intención de empaquetar el proyecto en un script único en el futuro, pero para esta transmisión se presenta como un proceso en etapas. Se detalla el proceso de clonación del repositorio y el inicio de la configuración, incluyendo la formateo de discos y la instalación de utilidades básicas como git y curl.

10:02

🔧 Configuración del sistema de arranque y particiones

En este párrafo, el hablante se enfoca en la configuración del sistema de arranque y la creación de particiones. Se utiliza 'sg disk' para gestionar las particiones y se discuten los problemas potenciales con la tabla de particiones. Se muestra cómo crear una entrada de arranque para Systemd-boot, incluyendo la adición del UUID de la partición y la configuración de la entrada de arranque para el kernel de Linux. Se destaca la importancia de tener una comprensión profunda de estos pasos para evitar errores en la instalación.

15:04

🖥️ Instalación y configuración del entorno de trabajo

El hablante procede a instalar y configurar el entorno de trabajo, eligiendo el Awesome Window Manager en lugar de un entorno de escritorio completo. Se detalla la instalación de paquetes básicos y la personalización del sistema, incluyendo la configuración de un nuevo usuario y la selección de un kernel LTS para mayor estabilidad. Se menciona la intención de mantener un sistema liviano y eficiente, evitando el exceso de paquetes innecesarios.

20:06

🔄 Revisión y ajustes finales en la configuración de Awesome Window Manager

El hablante revisa y ajusta la configuración del Awesome Window Manager para personalizar el escritorio. Se menciona el uso de 'material-awesome' y se describe cómo se configura el tema, la transparencia y los efectos. Se discuten los problemas encontrados con la configuración inicial y cómo se resuelven clonando la configuración del hablante desde su repositorio de GitHub. Se enfatiza la flexibilidad de Awesome para adaptarse a las preferencias personales del usuario.

📝 Conclusión y planificación futura

Para concluir, el hablante reflexiona sobre el proceso de la transmisión en vivo y destaca la eficacia del script 'archmatic' en su primera ejecución. Se reconoce la necesidad de mejorar ciertos aspectos del script, especialmente en la fase de inicio y post-instalación. Se anuncia planes futuros para realizar un recorrido similar con distribuciones basadas en Debian y Fedora, con el objetivo de mostrar la versatilidad y personalización de las distribuciones Linux.

Mindmap

Keywords

💡Linux

Linux es un sistema operativo de código abierto que se utiliza en una amplia variedad de dispositivos, desde servidores hasta teléfonos móviles. En el video, el tema principal es construir un entorno personalizado de Linux, lo que implica una experiencia de aprendizaje y personalización profunda de este sistema operativo. Se menciona en el contexto de las distribuciones de Linux, como Arch Linux y Debian, que son utilizadas como base para la creación de un sistema personalizado.

💡Distribuciones de Linux

Las distribuciones de Linux son versiones específicas del sistema operativo Linux, cada una con sus propias características y personalizaciones. En el script, se habla de las distribuciones principales como Debian, Arch y las basadas en Red Hat, como Fedora, y cómo se pueden personalizar para crear un entorno de Linux único.

💡Arch Linux

Arch Linux es una distribución de Linux que se destaca por su enfoque en la personalización y configuración manual. En el video, se elige Arch Linux como la base para construir un entorno personalizado, destacando su capacidad para aprender y adaptar el sistema a las necesidades específicas del usuario.

💡Personalización

La personalización se refiere al proceso de adaptar y ajustar un sistema o programa para satisfacer las preferencias y necesidades individuales. En el video, la personalización es el objetivo principal, donde se muestra cómo tomar una distribución de Linux y adaptarla con software y configuraciones específicas para crear un sistema personalizado.

💡Gen 2

Gen 2 se refiere a una generación o versión de tecnología o software, aunque en el script no se da un contexto específico. Se menciona en relación con la conversación previa al video, donde los espectadores hablaban sobre Gen 2 y LFS (Logical Volume Manager), aunque no se profundiza en su significado dentro del video.

💡Pac-Man

Pac-Man es el gestor de paquetes de Arch Linux, utilizado para instalar, actualizar y eliminar software. En el script, se utiliza Pac-Man para instalar herramientas y paquetes necesarios en el proceso de personalización del sistema de Linux.

💡AWESOME

AWESOME es un gestor de ventanas para X Window System que se menciona en el video como parte de la personalización del entorno de escritorio. Aunque no se utiliza un entorno de escritorio completo, AWESOME es elegido por su flexibilidad y capacidad para crear un escritorio personalizado.

💡Script

Un script es un conjunto de instrucciones ejecutadas automáticamente por un intérprete o sistema. En el video, se crea y utiliza un script llamado 'archmatic' para automatizar el proceso de instalación y configuración del sistema Linux personalizado, simplificando el proceso y facilitando la personalización.

💡EFI

EFI (Extensible Firmware Interface) es un estándar de firmware utilizado en computadoras modernas para iniciar el sistema operativo. En el script, se menciona la creación y configuración de una partición EFI durante el proceso de instalación del sistema Linux.

💡Systemd-boot

Systemd-boot es un cargador de arranque que utiliza el sistema de inicialización systemd para iniciar el sistema operativo. En el video, se discute su uso en lugar de GRUB, presentando una alternativa para la gestión del arranque en sistemas Linux personalizados.

💡Neofetch

Neofetch es un script que muestra información sobre el sistema operativo, el hardware y el entorno de escritorio. En el video, se utiliza Neofetch para mostrar el estado del sistema después de la instalación y personalización, evidenciando la eficiencia y la funcionalidad del sistema personalizado.

Highlights

Live stream focuses on building a custom Linux environment.

Introduction to Gen 2, the distribution used by Chrome OS.

Discussion on the importance of choosing a mainline Linux distribution.

Emphasis on Arch Linux as a great learning experience.

Introduction of a custom project called Archmatic for automation.

Explanation of the process to build a Linux environment from Arch Linux.

Details on avoiding bloat and installing only necessary packages.

The decision not to use desktop environments for a streamlined setup.

Demonstration of the script's first run and potential for failure.

Instructions on using 'sgdisk' for partitioning during setup.

Troubleshooting steps for the boot loader configuration.

The use of 'systemd-boot' as an alternative to GRUB.

Customizing the Arch Linux installation with minimal packages.

Installation of Awesome Window Manager for a lightweight desktop experience.

Discussion on the importance of using the LTS kernel for stability.

Final setup and configuration of the custom Arch Linux environment.

Reflection on the success of the first run-through of the new script.

Plans for future live streams to build custom environments for Debian and Fedora.

Transcripts

play00:01

all right how's everybody doing this

play00:03

morning

play00:04

uh we have a special special

play00:07

a live stream today where we're

play00:09

basically building kind of our own

play00:11

environment for linux uh i saw some

play00:14

really good stuff

play00:15

on chat that was uh you know pre-game

play00:18

chat i guess

play00:19

where some people were talking about gen

play00:21

2 and lfs which is great

play00:23

a lot of people don't realize this but

play00:25

gen 2 is the

play00:27

distribution that chrome os uses it's

play00:29

just a very customized

play00:31

uh os now most people know i hate

play00:34

to say hello here's all these different

play00:36

distributions try them out because i

play00:37

think

play00:38

honestly just pick a mainline branch and

play00:40

then go for it so

play00:41

in my eyes there's really only three

play00:44

distributions

play00:46

that you really that really exist and

play00:48

that's debian

play00:50

arch and and a lot of the the red hat

play00:54

based stuff which would be fedora

play00:56

for for most people but there's so many

play00:58

spin-offs of that and really when it

play01:00

comes to the spin-offs of those

play01:01

distributions

play01:02

it comes to customization so in today's

play01:05

live stream really what we're going over

play01:07

is just kind of taking one of those

play01:09

mainline branches

play01:10

and i think we're gonna probably do this

play01:12

maybe once every month or two

play01:15

and the next one we'll pick a different

play01:17

branch so

play01:18

in today's branch of course we're gonna

play01:20

choose

play01:21

arch linux uh which when it comes to

play01:24

arch uh

play01:26

arch is fantastic for learning linux

play01:29

so when it comes down to that that's

play01:33

that's really the the big thing about uh

play01:36

arch linux that i want people to take

play01:38

away from it it's a great

play01:39

learning experience if i just want

play01:41

something to work forever and ever and

play01:43

ever and just kind of leave it in the

play01:44

background much like my streaming pc

play01:46

that i use to

play01:47

display all the overlays with my stream

play01:49

deck and everything typically that's

play01:50

debian based

play01:51

i have a custom project we've already

play01:53

kind of started it's called archmatic

play01:55

it's been on my repost for a long time

play01:57

but i kind of retooled it this past

play01:59

week and fixing it up to basically do a

play02:03

lot of the automation for us

play02:05

eventually it'll get to the point where

play02:07

it just is a one

play02:09

script and you just click that and just

play02:11

does everything for you

play02:13

but for today's video it's obviously

play02:16

broken up into about five parts

play02:18

the reason why breaking it up when

play02:20

before you combine it into a script it

play02:21

just makes it easier to troubleshoot

play02:23

stuff are you gonna go package this in

play02:25

an iso

play02:26

i am not i am not crypto thank you for

play02:29

the super chat by the way

play02:31

um i will make obviously it's on github

play02:34

i eventually want to make it just so you

play02:36

can kind of learn the steps and

play02:38

customize this script to your needs what

play02:40

i like to do we're just going to

play02:42

first grab some utilities uh from

play02:44

pac-man

play02:45

uh we're going to have to do a syyy just

play02:47

to kind of update the

play02:49

what's there and then once it grabs our

play02:52

database we'll be able to

play02:54

grab some of the utilities we need first

play02:57

off we're going to need git

play02:58

curl w get

play03:01

just some basic things just to grab

play03:04

those scripts that we're talking about

play03:06

yeah and some people are asking in chat

play03:09

about

play03:09

desktop environments of today um we're

play03:12

not going to use any desktop

play03:13

environments this is going to be

play03:15

from not from scratch because links from

play03:17

scratch are building the kernel you're

play03:18

building out the package manager you're

play03:20

building out everything

play03:21

where arch just kind of makes it easy

play03:24

and

play03:25

i mean i say easy but relatively

play03:28

to build your own and get every single

play03:31

little piece what you want

play03:33

uh so that's the point of this this

play03:35

stream is really to get

play03:36

everything that you use and make it

play03:39

streamlined so you're not gonna have a

play03:42

whole bunch of bloat you're not gonna

play03:43

have any bloat really

play03:44

every single package we're purposely

play03:47

installing

play03:48

and saying these are exactly what i will

play03:50

use

play03:51

and then there won't be any excess

play03:53

packages that we never use

play03:54

in this uh thing so we're gonna just get

play03:56

clone and we're gonna get

play03:58

that github project we're going to clone

play04:00

it

play04:01

and then we can start the actual setup

play04:04

now this i've never actually tried this

play04:05

script prior to the live stream

play04:07

which well probably should have but you

play04:10

know i always like to show

play04:12

failure on my live streams

play04:15

uh it's just it's just fun that way

play04:18

so you guys can know that hey nobody's

play04:20

perfect

play04:22

and uh when you look at like a youtube

play04:24

video and someone does it in like five

play04:25

minutes

play04:26

just know that that's probably chopped

play04:28

up a bit

play04:30

so let's go ahead run the pre-install

play04:33

pre-installs first and then you go once

play04:35

it boots into the system

play04:36

zero through nine i couldn't remember

play04:38

the order i put it in

play04:40

it is still early for me all right so

play04:42

this is the pre-install

play04:43

once you get in here clone it and then

play04:46

from the clone

play04:47

reinstall this will reformat our drives

play04:49

but i don't care let's let's see what

play04:51

happens

play04:52

yeah so this will automatically format

play04:54

your drive so don't don't run it on

play04:56

like your main box um obviously

play04:59

that would not be good so this what it

play05:01

does is

play05:02

it says hey um this

play05:05

is gonna format your drive it doesn't

play05:07

lsb okay so you can pick out what one

play05:10

is the actual thing so we're gonna go

play05:11

dev sda because that's our

play05:13

our actual main disk for this machine it

play05:16

should go through format it

play05:18

let's see what happens all right so

play05:21

proceed anyways

play05:23

yes so like i hate making

play05:26

distributions or i hate making uh new

play05:29

distributions so

play05:30

really this is just gonna be a

play05:31

customized arch you can call it whatever

play05:33

you want

play05:34

i'll i'll leave it to you guys as this

play05:36

is something i want you guys to just run

play05:38

and at the end of the day you're just

play05:39

going to have

play05:41

the base arch and then obviously here in

play05:43

a month or two

play05:44

we can switch over and do the same thing

play05:46

for debian

play05:47

to where it would automatically do a lot

play05:49

of this stuff as well

play05:50

but overall i think the script's working

play05:52

really well i really like how the

play05:53

formatting worked out really

play05:55

good there we're going to see if the

play05:56

actual partition tables are proper this

play05:58

time

play05:59

the last time we got to this step uh the

play06:01

partition tables weren't

play06:03

uh so i'm curious to see if this cg disc

play06:05

or sg disc is what we're using for

play06:08

in the script so this time around it

play06:09

uses sg disk

play06:11

we'll see how well it does with the

play06:12

partition tables and and how well it

play06:14

partitioned that

play06:15

efi partition how many times can i say

play06:18

partition

play06:18

all right now let's do a boot ctl

play06:21

install i believe

play06:25

this is ch yeah it is ch root i believe

play06:28

yeah yeah we're ch root in

play06:30

so we should be able to just do b ctl

play06:32

install

play06:37

that looked like it worked but i don't

play06:40

think we have a loader

play06:41

if we go into so this is using systemd

play06:44

boots so

play06:44

folks that never seen systemd boot it's

play06:46

actually easier than grub

play06:48

if everything's set up exactly right um

play06:51

but a lot of times it's not so it can

play06:54

definitely throw you through a loop if

play06:56

we go into our boot

play06:57

let's see here we have the linux image

play07:00

in efi we should have an actual loader

play07:03

file

play07:04

which i don't see any loader you know

play07:07

what i don't think in the options i

play07:09

don't i don't think this is right

play07:10

anyways

play07:11

because i think i need to use uuid when

play07:13

i'm making this loader

play07:15

so under boot loader we need to actually

play07:18

add those uh the directory

play07:21

and entries i think we should be fine

play07:23

after that though

play07:24

so let's flip back over here and see

play07:27

what we got

play07:31

let's come back into the boot directory

play07:33

do an ls

play07:35

loader ls and

play07:39

i think in entries we should see

play07:41

something which we don't have anything

play07:43

so let's make an

play07:44

arch.com entry

play07:47

and then here we'll make the title

play07:50

title um arch

play07:54

linux and from here we're going to do a

play07:57

full

play07:58

retrieve of a blk id

play08:02

and we're going to grab sda

play08:06

1 or sda2 so we're going to actually

play08:10

wrap actually let's grab ext4 i believe

play08:14

would be oh i'm trying to think of what

play08:17

i named this

play08:19

i don't think i named yeah let's just

play08:21

grab the whole blk id and then we'll

play08:22

just clean it up

play08:24

all right so we don't need sda1

play08:29

we'll delete that sda2

play08:33

we'll just get rid of and then let's

play08:36

just

play08:36

punch into insert mode and then we're

play08:39

just going to pull this

play08:40

back grab just the uuid

play08:44

and that should be it

play08:48

let's escape that and then we're just

play08:52

going to delete the rest of the line

play08:55

so i'm just grabbing the uuid and we're

play08:57

just building this one

play08:58

systemd entry out it's weird that i

play09:01

think there's some program for systemd

play09:03

i think i can't remember what it is but

play09:05

it'll actually build the loader files

play09:07

for you i need to look more into that so

play09:09

i'm not custom building it like this

play09:10

so this one let's just go ahead

play09:14

delete that we'll put root in

play09:18

equals and quote it

play09:21

and then end up with rw at the end i

play09:24

always keep hitting escape darn vms

play09:29

but anyways this is a good test

play09:32

and then we'll save and quit so for

play09:35

clear

play09:36

list we can cap that arch and this is

play09:40

what

play09:40

our boot should be sometimes you can do

play09:42

a u code in here i don't think i need

play09:44

the u code

play09:46

on this maybe i do let's see i don't

play09:49

have it over

play09:50

here but i did notice on this one

play09:54

having the intel u code

play09:58

which this is an intel on this guy i

play10:00

don't know if i actually need that for

play10:02

the virtual box or not let's take a look

play10:06

let's take a look and and when i say

play10:08

linux is linux a lot of this

play10:10

is universal so right now i don't see a

play10:14

u code anywhere in here

play10:15

as far as the image also matching what

play10:18

we just installed on that so if we

play10:20

cat into loader

play10:24

oh cat loader entries

play10:28

arch i always like anytime i make a

play10:32

custom boot entry just checking to make

play10:34

sure

play10:35

that like this right here vm

play10:38

linux also matches this file then we

play10:41

also have init ram

play10:42

fs linux in it ram fs dash linux

play10:46

right here so those files are good but

play10:48

don't put

play10:49

entries in here for files you don't have

play10:51

obviously that would

play10:53

not work you might see other things in

play10:55

just the boot directory

play10:56

when you do a listing you might see uh

play10:59

amd

play11:00

dash u code or intel dash u code you'd

play11:02

want to add that option

play11:04

into the loader file uh per per the

play11:07

entry in here so you can actually see

play11:09

that right here but

play11:11

we don't need to do it in this instance

play11:16

all right so now

play11:21

yay we have ip

play11:24

we'll first update our databases

play11:28

and then let's do a listing

play11:31

[Music]

play11:32

all listing all right yeah we're this is

play11:35

bare bones so we're not

play11:37

we're not really using anything uh let's

play11:39

let's see where we start with

play11:41

so this is as bare bones linux distro as

play11:44

you can get

play11:47

just i'm already starting to blow it up

play11:49

with neofetch i hear you guys i hear you

play11:51

guys i don't even need to look at chat

play11:52

to know that's what you guys are saying

play11:53

all right so bare bones linux distro

play11:56

about 67 megs of memory

play11:59

being used um 163 packages

play12:04

so overall i mean that's pretty pretty

play12:06

[Music]

play12:08

light

play12:11

so we will be using awesome window

play12:12

manager we will not be using

play12:14

any desktop environments however there's

play12:16

going to be pieces of desktop

play12:17

environments we might grab

play12:19

like lx appearance i think is one um

play12:22

a lot of x utilities i like to use i

play12:25

switched off x screensaver and i'm now

play12:27

using xfc for

play12:28

power manager i love the xfce power

play12:31

manager

play12:32

i think it's one of the best so i'm just

play12:35

kind of piecemealing a little bit of

play12:36

this

play12:36

but what i don't want is to hit a large

play12:39

desktop package and install an entire

play12:41

desktop environment and load up this

play12:43

whole system

play12:44

as if this ever goes over like a

play12:45

thousand packages

play12:47

i did something wrong um so i think from

play12:50

here let's go ahead

play12:52

and now we have to install some of our

play12:54

stuff which

play12:55

get curl that should be able to get us

play12:58

most of the way there

play12:59

[Music]

play13:02

and we're going to get clone

play13:05

notice that the installation media is

play13:07

different from the actual install so

play13:08

that's why we're cloning it twice

play13:11

and we're going to just go crystal's

play13:13

tech archmatic

play13:16

and then we can actually do a listing

play13:20

i need to grab my aliases it's driving

play13:23

me batty

play13:24

all right anyhoo all right uh

play13:27

ls al and we should have all executing

play13:31

scripts

play13:31

and we can run our setup and this

play13:35

should create our user get everything

play13:37

exactly how it should be

play13:40

oh somebody says arch

play13:43

somebody done like awesome window

play13:44

manager

play13:47

hater all right we'll call this one

play13:50

titus arch

play13:51

for the host name username we're going

play13:53

to call this titus

play13:54

password super secure

play13:58

and here we go this should

play14:02

start customizing the distro itself uh

play14:05

using just the zero setup

play14:06

and then we'll walk through each step

play14:09

and see what we get

play14:11

and now now we can do this

play14:15

now this should install this is doing

play14:17

xorg and i think i put little

play14:19

little brackets here to see what all is

play14:21

going on but i'll try and say what's

play14:22

happening as it's installing

play14:25

so right now it's just doing all the

play14:26

xorg stuff which is this display

play14:28

renderer

play14:30

alright so this one is finished for the

play14:32

base and now we can move on to

play14:35

the software the software portion is

play14:37

just like your basic utilities that are

play14:39

needed

play14:40

a file manager that type of thing so

play14:42

let's go ahead and run it

play14:44

so we're going to go to software pac-man

play14:48

so this is just going to be some little

play14:49

things i am adding the lts kernel

play14:52

if you're ever running arch you always

play14:54

want the lts kernel because there's

play14:55

going to be times things break

play14:57

so that's why

play15:00

and also like this basic setup should

play15:03

get you to

play15:04

basically how my desktop looks as well

play15:07

so

play15:08

it should be a very very minimal install

play15:10

with

play15:11

pretty much everything that you need or

play15:13

everything that i use

play15:14

but if there is something missing fork

play15:16

it add add whatever packages you want to

play15:19

it

play15:19

or remove packages there's things that i

play15:22

know a lot of the linux community hates

play15:23

that i use

play15:24

like vs code um and some

play15:28

some other probably software packages in

play15:30

there as well

play15:33

uh the system specs on this guy is four

play15:35

megs of memory

play15:37

uh two cores um

play15:42

32 gigs of memory or 32 gigs on the hard

play15:45

drive

play15:47

so not not much uh if we look at

play15:50

let's see what we're at on the neofetch

play15:52

already

play15:54

yeah we're already up to 800 packages

play15:57

yeah we're getting close to that

play15:59

thousand thousand package marker

play16:01

but pretty much everything's installed

play16:02

except for the aur

play16:04

stuff which i don't really use much in

play16:06

the aur so this should go pretty quick

play16:08

all right so we got all that in um now

play16:11

we can do the post install

play16:13

and we should be able to boot up here

play16:18

and there we are

play16:22

all right got got my display in just

play16:24

fine

play16:25

that worked in the script this part did

play16:29

not

play16:32

ah oh you know what it is i bet you

play16:37

um

play16:40

let's go into the config file

play16:46

is there not there's not even an awesome

play16:47

config all right so i know what happened

play16:49

git clone um i

play16:52

forgot to clone my configuration uh into

play16:56

here so github.com

play16:58

and we're gonna just clone this directly

play17:01

into here and we should have pretty much

play17:03

an identical setup

play17:04

to what i'm running on most of my

play17:05

systems

play17:07

so material

play17:11

awesome and then we're gonna run that to

play17:15

dot config awesome

play17:21

and then we should be able to reload

play17:22

this and we should have pretty much my

play17:24

desktop that you see on all my videos

play17:26

all right let's let's try reload awesome

play17:28

here we're gonna just go awesome

play17:31

restart oh there we go

play17:37

so we've got that

play17:41

my little synology drive so now we have

play17:43

the desktop

play17:44

so this isn't using and if i do

play17:47

[Music]

play17:49

terminator i would use my hotkeys but

play17:51

it's just going to pull up my stuff

play17:53

so i can actually pull this in and if i

play17:56

did it right

play17:57

we should be able to do some translucent

play17:59

effects and some other stuff

play18:00

i did switch the project out um i don't

play18:03

know if a car is in chat

play18:04

but when it comes to material awesome i

play18:06

did do pycom

play18:08

instead of compton compton's been

play18:10

deprecated for a while now

play18:12

um so we can actually um

play18:15

ditch that so we're gonna actually just

play18:17

change this around

play18:19

you know i'll probably use monospace for

play18:21

now i do have a video coming out next

play18:23

week

play18:24

going over terminal customization so

play18:27

to make terminal look decent but we're

play18:30

going to just

play18:30

clean this up just a hair

play18:35

mono space yeah let's go

play18:38

regular and blow that up a little

play18:42

bit background let's add a little

play18:46

transparency shall we 69

play18:49

transparency and we'll use some themes

play18:53

go green on black i like that

play18:57

and we should be solid here so let's

play19:00

close that out

play19:02

pull that back up and

play19:05

yeah that didn't work yeah still don't

play19:07

have that transparency i'll work on the

play19:08

transparency uh for now let's do a neo

play19:11

fetch

play19:13

not bad i mean it's not bad so memory

play19:16

usage

play19:17

uh this whole operating system's rocking

play19:20

about 200 megs of memory

play19:22

um it's using about 800 packages which

play19:25

is not bad

play19:26

not like oh my god look at me i've done

play19:28

it in minimal packages because we

play19:30

installed a crap ton of stuff here

play19:32

we have full functionality

play19:35

pretty darn awesome

play19:39

uh but that's awesome window manager in

play19:41

a nutshell

play19:42

um that's what i use on my main box the

play19:45

whole idea of this script is to kind of

play19:46

build this out in arch

play19:48

like i said we're going to revisit this

play19:50

once i get this arch script kind of

play19:51

cleaned up a bit

play19:52

then we're gonna go over to debian um

play19:55

because pretty much every distro falls

play19:57

into most of these things and also like

play19:58

fedora

play19:59

uh we'll do a fedora one too um

play20:02

but you know just to show that when it

play20:05

comes to distributions it's really

play20:07

about the syntax and just getting things

play20:09

cleaned up

play20:10

um this went pretty smooth for the most

play20:13

part for it being the very first

play20:15

run-through of a

play20:16

fresh script i thought it was pretty

play20:18

good um

play20:19

obviously the start and post definitely

play20:22

need some work

play20:23

uh i'm terrible at bash scripting but

play20:25

i'm getting better

play20:27

um and yeah that's that's about it when

play20:30

it comes to

play20:31

building your own um we'll do this one

play20:33

was archbase again next month

play20:35

let's do let's plan on doing a debian

play20:37

based run through of this and build out

Rate This

5.0 / 5 (0 votes)

Related Tags
LinuxArchPersonalizaciónDistribucionesAprendeScriptsBashConfiguraciónSistema OperativoTutorial
Do you need a summary in English?