Environment and Requirements:
1. The AMI root partition now has 25G2 25G a bit more, so want to reduce 25G to 12G3. View disk Information
# df-hFileSystem Size Used Avail use% mounted on/DEV/XVDA1 17G 1.5G 15G 9%/Tmpfs 498M 0 498M 0%/dev/shm
Operation Steps:
1. Mount a new 12G plate (/DEV/XVDF)
2. Partition and format new disks
# fdisk-lDevice Boot Start End Blocks Id System/DEV/XVDF1 1 1045 8393931 Linux/DEV/XVDF2 1046 1566 4184932+ Linux Swap/
AWS provides a wide variety of mirrors for users, but in most cases the AMI provided in the community do not fully meet our needs, such as the more disgusting some mirrored root partitions are only 10g, so we generally use the community's public image to create a EC2, And then configure her, and then hit a mirror for the project, Packer can make us more automated to generate AMI, we can write the original i
I have been away from ASUS for more than two months. Today I suddenly recall some things in ASUS. Although I do not like Asus's cultural atmosphere, I am a little proud of having worked in ASUS BIOS.When I first entered Asus, the bios I saw was a very different face-Ami. I usually use a lot of computers, and it is very common to deal with bios, but the domestic BIOS is still mostly award, and I do not know that there is
Instance Store-backed Ami creation stepsOne, Windows AMI1. Select the instance store-backed Ami to create the instance.2. Remote login instance for custom configuration.3. Through the Web Console or command-line bundle instance (and automatically upload to S3).
Console action path: Select Instances > Right-click the instance you want to bundle > select bundle Instance (Instance store
Amazon EC2 creates custom AMI and amazonec2Test System: Windows server 2008Functions: 1. Create a custom AMI. When an instance is generated, the password is random and the Dynamic Desktop Wallpaper is used.2. The powershell script is automatically run when the instance is generated to automatically set the DNS address and add the Domain1. Create an AMIIn server2008, find EC2configservice from "start"-"progr
After creating the Amazon CentOS7 Ami EC2 found that the Yum command was executed in order to install Apache.
From the following results, the Apache2.4.6 has been installed.
# yum Install httpdLoaded Plugins:fastestmirrorLoading mirror speeds from cached hostfile* base:www.ftp.ne.jp* epel:ftp.jaist.ac.jp* extras:www.ftp.ne.jp* rpmforge:ftp.riken.jp* updates:www.ftp.ne.jpPackage httpd-2.4.6-18.el7.centos.x86_64 already installed and latest versionNot
# First verify the version of Java being used is not sunjsk.Java-version# Get The latest Sun Java SDK from Oracle http://www.oracle.com/technetwork/java/javase/downloads/ Jdk-7u1-download-513651.htmlwget http://download.oracle.com/otn-pub/java/jdk/7u1-b08/jdk-7u1-linux-i586.rpm# Rename The file downloaded, just to being niceMV jdk-7u1-linux-i586.rpm\?E\=1320265424\H\=916f87354faed15fe652d9f76d64c844 jdk-7u1-linux-i586.rpm# Install Javasudo rpm-i jdk-7u1-linux-i586.rpm# Check If the default Java
Tags: BSP reinstall Inux Deb Class div complete window NIC configurationI. BACKGROUNDInstall Linux system (Debian 8.8), always fail, stuck in install software (12% position)Second, solve?Web-based solutions1. Do not unplug the cable during installation (I did not pull out)2. Disable the NIC configuration when installing (this way, try again, finally skip the lag point, it seems to solve the problem)Third, startInstallation completed, found the screen flash (this seems to install the system is st
Apache users and user groups. ChownApache/var/log/php/error_log.log and Chgrp apache/var/log/php/Error_log.logopen_basedir= .:/ tmp/#设置表示允许访问当前目录 (that is, the directory where the php script file resides) and/tmp/directory, can prevent PHP Trojan cross-siteAfter installation and configuration, the Web server is basically set up and can be accessed.Test articleUnder directory/var/www/html:Cd/var/www/htmlTo create a PHP file:VI index.phpphpphpinfo ();? >Then, when you enter the native address in
For a computer-addicted user, the greatest pleasure is to discover the potential of the computer, understand some of the computer technology, the computer's BIOS settings for many of the first computer users is very abstruse, and even some of the old computer user does not know the BIOS, Because the computer BIOS involves a lot of computer internal hardware and performance margin settings, for the general people who do not understand the computer has a certain degree of danger, coupled with the
1 Background 1.1 Docker introductionDocker is a container engine project based on lightweight virtualization technology from Docker, the entire project is based on the go language and complies with the Apache 2.0 protocol. Today, Docker can quickly automate deployment of applications within the container, and can provide container resource isolation and security
Docker installation and sharing of common commands and sharing of common docker commands
Basic commands
1. To install docker in yum, the root permission is required.
Yum install docker
2. Start docker
Systemctl start docker. servi
Docker Quick Start-common docker commands 1. Introduction to docker commands 1. Introduction to docker commands
You can run the sudo docker or sudo docker HELP command to view the docker
1 PrefaceSince its inception, Docker has led the technology boom in lightweight virtualization containers. In this trend, Google, IBM, Redhat and other industry leaders have joined the Docker camp. While Docker is still primarily based on the Linux platform, Microsoft has repeatedly announced support for Docker, from p
Docker-2 learn more about docker, docker-2dockerDockerBasic concepts of images, containers, and warehousesImages
A Docker image is a read-only template.For example, an image can contain a complete CentOS operating system environment where only httpd or other applications are installed.
Images can be used to create
Docker learning Summary-Comparison of features between Docker and Vagrant
The following content is discussed in stackoverflow by Mitchell Hashimoto and Solomon Hykes. In this case, the two parties have elaborated on the characteristics and scope of use of vagrant and docker, which makes sense for a deep understanding of vagrant and
Docker InspectEstimated reading Time:2 minutes
Description
Return low-level information on Docker objects Usage
Docker inspect [OPTIONS] name|id [name|id ...]
Options
Name, Shorthand
Default
Description
--format, F
Format the output using the given go template
--size, S
False
Display Total Fil
Linux version: Ubuntu16.04
The first time you install Docker, it is possible to run the Docker command, such as
Docker PS
After restarting the system, the following error occurred after running Docker PS: Cannot connect to the Docker daemon. Is the
[Docker discussion]docker not everything, and you don't have to deploy everything on Docker.When I read an article "running and upgrading a MySQL server in a docker container": https://intercityup.com/blog/running-upgrading-mysql-server-docker/After that, I don't think Docker
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.