Use CentOS with LXD

How to install and configure CentOS 8 on lxd 4.6 installed on Ubuntu 20.04. When the installation is complete and you log in, you should see something like this: centos.png

OS installation

lxc launch images:centos/8/amd64 centos

Set root password

lxc exec centos bash

login

$ lxc console centos
To detach from the console, press: <ctrl>+a q

CentOS Linux 8 (Core)
Kernel 5.4.0-48-generic on an x86_64

centos login:

Settings after login

Add users, groups, set passwords

useradd -u 1200 -m -g wheel uchida
groupadd -g 1200 uchida
passwd uchida

Install sudo

yum install sudo

sshd

sudo yum -y install openssh-server
sudo systemctl start sshd

avahi

sudo yum -y install avahi
sudo systemctl start avahi-daemon

Recommended Posts

Use CentOS with LXD
Use ProGuard with Gradle
Use perltidy on CentOS 8
Use Puphpeteer with Docker
Use mod_auth_cas on CentOS 8
Use ngrok with Docker
Use webmock with Rspec
Build Growai with Centos7
Use bat on Centos.
Use WebJars with Gradle
Use jlink with gradle
Use Lambda Layers with Java
Use GDAL with Python with Docker
Network install CentOS 8 with Kickstart.
Build softether VPN with Centos7.
Use pfx certificate with Okhttp3
Use SDKMAN! With Git Bash
Prepare Python3 environment with CentOS7
Use multiple databases with Rails 6.0
Use Spring JDBC with Spring Boot
Use Ruby with Google Colab
Use SpatiaLite with Java / JDBC
Use log4j2 with YAML + Gradle
[Docker] Use whenever with Docker + Rails
Use PlantUML with Visual Studio Code
Use Basic Authentication with Spring Boot
Use java with MSYS and Cygwin
Use constructor with arguments in cucumber-picocontainer
Use PostgreSQL inet type with DbUnit
Why use orchestration tools with Docker
Use bootstrap 4 with PlayFramework 2.6 (no CDN)
Let's use Amazon Textract with Ruby
Use Git with SourceTree and Eclipse
Use JDBC with Java and Scala.
Use DataDog APM with unsupported frameworks
WordPress with Docker Compose on CentOS 8
Use Java 11 with Google Cloud Functions
How to use mssql-tools with alpine
Use the iostat command on CentOS 8
Programs that use io_uring do not work with Docker on CentOS 8
Beginning with Spring Boot 0. Use Spring CLI
Use Docker CE (official) on CentOS 8
Use cuda11.0 with pytorch using Docker
Switch with CentOS7 series + JDK-9.0.1 + JDK1.8.0 + alternatives
Set up ImpressPages 5.0 with LAMP on CentOS 7.3
Developed with CentOS8.1 + Emacs26.1 + WSL2 with Ubuntu20.04 + VcXsrv
[Rails] How to use rails console with docker
Use Firebase Realtime Database with Cocos Creator.
I want to use DBViewer with Eclipse 2018-12! !!
Use Symbolic Link with Docker multi-stage builds
Build DNS server with CentOS8 and bind
Use FacesContext as a Mock with PowerMockito
Run Keras with CentOS7 + Anaconda + Django + Apache
[JaCoCo (Java Code Coverage)] Use with NetBeans
Use cljstyle with Spacemacs on Ubuntu on WSL2
Personal tips on working with CentOS servers
Use Spring Security JSP tags with FreeMarker
Use a named format with Ruby's format method
Use cache with EhCashe 2.x with Spring Boot
Use ZStandard with .NET Core + Docker (Alpine)