Introduction to Alpine Linux usage
Directory:
A brief introduction of Alpine
Second, alpine Local installation
Third, alpine under the Docker operation
Iv. configuration and use of Alpine
4.1 Network related files
4.2 Update the
How to Use Alpine in Linux to access Gmail in the command line
For example, if you are a command line enthusiast, I am confident that you will use this powerful work environment to execute even a tool for a daily task and cheer for it, for example, from scheduling, managing finance, getting Facebook, Twitter, and other tasks. (LCTT Note: another premise for reading this article is that you can still access
In this post, I'll show you another nifty use case for Linux command lines: Visit Google's Gmail service, and for that, we'll use Alpine, a ncurses-based multi-function command-line mail client (don't confuse Alpine Linux). We will configure Gmail's IMAP and SMTP settings in Alphine to receive and send mail in the term
Alpine Linux's official website:http://www.alpinelinux.org/#官方Https://pkgs.alpinelinux.org/packages #官方提供的安装包查询When you use Docker to create a container, the underlying image typically chooses Ubuntu or CentOS, regardless of the size of the image above 100MB.Alpine Linux is a security-oriented, lightweight Linux distribution.Alpine
Alpine Linux 3.5.0 released, lightweight releaseGuideAlpine Linux 3.5.0 is released. Alpine Linux is a Community-developed operating system designed for x86 routers, firewalls, virtual private networks, IP address phone boxes, and servers. It implements the security concept
I used to use Alpine to deploy services in Docker.tiangolo/uwsgi-nginx-flask:python3.6-alpine3.7 This image was recently used when deploying flaskSomeone else wrote the flask image, which includes the Uwsgi NginxIt's easy to use.However, it is always not installed when installing the lxml library.Multiple queries.Discover that the system library in the mirror is missing something.RUN apk add--no-cache gcc musl-dev libxslt-devInstalling GCC Musl-dev Li
need to have separate kernels and other system files, so as long as you install what you need on top of it, will we need Python to run the Go service? This is not a difficult question to answer.
Micro-base image
First we want to abandon the idea of using Ubuntu or Debian as a base image, and we look at lighter choices.
Alpine Linux is a miniature Linux distribut
1. Download the dind imageDocker Pull Docker:dind2. Perform the imageDocker run-it--privileged--name some-docker-d docker:dind3. In-mirror processing--no-cache Icu-libs4. Download the Dotnet tar packageHTTPS://www.microsoft.com/net/download/thank-you/dotnet-sdk-2.1.302-linux-x64-alpine-binaries Very clear for theHTTPS://download.microsoft.com/download/4/0/9/40920432-3302-47a8-b13c-bbc4848ad114/ Dotnet-sdk-2
Installing ubuntu14.04And then#获取root权限sudo su#安装dockerApt-get Install Docker#准备基础镜像Docker Pull AlpineDocker run-a stdin-a stdout-i-T alpine/bin/shExecution enters the container/#Exit launches container interiorDocker Ps-aCONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES573010aaf72d alpine:latest "/bin/sh" 4 minutes ago Exited (1) seconds ago Sad_coriDocker Attach 573010aaf72dFATA[0000] cannot attach to a stopped container, start it firstThe conta
Docker Alpine Construction Nginx
1,pull a base image
As for how to pull own mirroring and build mirrors can refer to Docker hub simple use can also pull the Docker hub in this chapter of the Mirror
[Root@gitlab conf]# Docker Pull Marksugar/alpineUsing default Tag:latestLatest:pulling from Marksugar/alpine
E110a4a17941:already exists92c6475c18dd:pull CompleteDigest:sha256:5ae1b32053247f3d251fe5ee56aa817d
users can easily learn how to use it with context-sensitive help.Importantly, it can be highly customizable with Alpine commands.# Alpine Installationwget ftp://ftp.cac.washington.edu/alpine/alpine.tar.gzTar zxvf alpine.tar.gz cd Alpine ./configure make make installNote: For more apline installation details, please
website: http://www.qmail.org5. MuttCommand line mail clientMutt is a UNIX-based operating system with a small and powerful email client.As a text-based e-mail client, it has some exciting features, notable features include:
Message subject
Support for IMAP and POP3 protocols
Supports multiple mailbox formats, such as Mbox,mh,maildir,mmdf
Support Delivery Status
Multiple message Tokens
Support Pgp/mime (RFC2015)
Various features to support mailing lists, includi
, x86-64, version 1 (SYSV), statically linked, for GNU/Linux 2.6.24, strippedsetting in. config CONFIG_STATIC_LINK=y will be statically compiledYou can view the kernel configuration used at compile time by compiling the vmlinux:./vmlinux --showconfigRootfsUse BusyBox to do rootfs:https://busybox.net/Configuration compilation:Make DefconfigMake MenuconfigSelect Busybox settings->1, build options->, select [*] Build Busybox as a static binary (no shared
Linux services)It is important for Linux users. Disabling unnecessary services can make Linux run more efficiently, but not all Linux services can be disabled. After installing centos Linux today, we found that many services were started when
Linux-(2) Basic file operations in Linux, linux-linux
In linux, everything is files, directories are files, and hardware is files. Therefore, basic file operations are especially important.
1. List the contents of the directory:
Ls
Parameters:
-A: displays all files (includ
Logout Exit SystemGedit Text Editor ToolsUname–r View kernel version information, uname–a more detailsCat/proc/cpuinfo viewing CPUsCat/proc/meminfo Viewing memoryHostname Viewing host namesIfconfig eth0 view eth0 IP AddressAlias ls= ' ls–ll ' setting aliasesTo view the path of the current terminal: TTYView current Shell:echo $SHELLAll Shell:cat/etc/shells under the current systemView CentOS System hostname Format: Echo $PS 1Distinguish internal or external commands: Type CDWhich find the locatio
would like to discuss the behavior that Symbian sign will cost 170 euros ). Therefore, when doing some research and experiments, we generally start from the most economical point of view. So I decided to build a simple development environment on my office computer (for a long time, I only had Linux on my office computer), so I could play home brew in my spare time. (I confirmed the famous saying: do not work hard, the boss is doing it ).2. Preparatio
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.