Authorized ECS resource types in RAM
Currently, the types of resources that you can authorize in RAM and how they are described are shown in the following table:
Resource description in the
Resource type
authorization policy
instance
acs:ecs: $regionid: $accountid: instance/$instanceid acs:ecs:$ RegionID: $accountid: instance/* acs:ecs:*: $accountid: instance/*
disk
acs:ecs: $regionid: $ac
The console that Putty used to connect to the server was first downloaded, and FLASHFXP was used to upload files. Here are the detailed steps to take a look.
1. Download Node.js
Download Address: Node.js
Never download with the command line, too slow.
Upload to the server when the download is complete.
2. Decompression
Enter the directory for the Node.js installation package, and then enter the command:
Tar zxf node-latest.tar.gz
3. Compile
into the unpacked folder
Enter com
Get the way one: if have the invitation code, can fill in directly, activate after can use 6 months
Get the way two: if there is no invitation code, just buy the specified product, you can immediately obtain the use of eligibility
On the whole, it's a good conscience! Cloud server, database, storage, network products ... Basically full coverage, get a power dealer, play a website and other ideas can be easily realized.
User evaluation: HTTP://CLICK.ALIYUN.COM/M/8361/
Introduction to the fo
Why choose v4.2.6 version, because the Ghost Blog support the highest version is v4.2.x.
I'll introduce the NVM version manager to install and manage the Node.js version, NVM (Node version Manager), as the name suggests, is Node.js version management software that can easily switch between node.js versions, project source code GitHub
NVM version Manager installs and manages the Node.js version
Download and install the NVM script
Yum install-y wgetwget-qo-https://raw.githubusercontent.com/cre
Cloud Server Swap ConfigurationOne, create a file for the swap partition:dd if=/dev/zero of=/opt/swap bs=1M count=8192Two, set the swap partition file:mkswap /opt/swapThird, enable swap partition files nowswapon /opt/swapFour, view swap partitionsswapon -sFive, set the SWAP partition to be self-enabled when booting:Vim/etc/fstab/opt/swap swap swap defaults 0 0Six, modify the swpapiness parameterWhen the value of the swappiness content is 0 o'clock, the SWAP partition is used when the physical me
Copy codeThe Code is as follows:# _ * _ Coding: UTF-8 _*_#---------------------------------------# Program: upload local files to qiniu ECs# Version 0.1# Author: liu jia# Date:# Programming language: Python 2.7#---------------------------------------
Import qiniu. confImport sysImport OS# After logging on to the console, you can obtain it from # https://portal.qiniu.com/setting/keyQiniu. conf. ACCESS_KEY = "xxxxxxxxxxxxxxxxx"Qiniu. conf. SECRET_KEY =
The official version of ECS when purchased is a public image CentOs6.5 64 bits, to build a LNMP operating environment. Use is an official website download of a key installation package linux_setup_1.4.1.zip for installation:
Install Rzsz (you can select the local Windows system upload file directly through the X-shell interface)
# yum Install-y LrzszUpload Linux_setup_1.4.1.zip and unzip.
For installation (refer to the PDF document in the compresse
reading
OpenSettings-read:
You can simply set the number of articles displayed on the page (different topic settings may not be available), and set whether to enable search engine indexing.5. Image and upload settings
OpenSettings-Multimedia:
By default, each uploaded image will generate the images of the above specifications (see the text in the figure). If you do not need to generate multiple types of occupied space, you can set them to zero and save them.
Of course, this is a global settin
have completed the data backup on the relevant disk before you proceed. You can make a backup of the disk through a snapshot, and you can see how to Create a snapshot .
Download Script Auto_fdisk.zip.
After extracting the auto_fdisk.zip, upload the corresponding script to the target server.
Add execute permissions for the script by chmod +x , and so on.
As root, add execute permissions to the script as follows, and then run:
chmod +x ./auto_fdisk.sh./a
In the Aliyun background of cloud shield monitoring---"threat---" attack, will find a large number of malicious attacks every day, there are a large number of GET requests, resulting in server resources waste useless consumption.
Type of attack in the last 7 days
Carefully look at the source of the attack information, found that more than 99% of the attack IP address, there are historical attack records, the following figure:
Attacker details
I feel Aliyun is perfec
Tags: share share picture start System Boot program set menu View SystemCentOS 7.0 System changes kernel boot order
Since CentOS 7 uses GRUB2 as the boot program, it differs from CentOS 6 and does not modify the/etc/grub.conf to modify the startup item, which requires the following actions:1. Look at the number of cores inside the system:
cat /boot/grub2/grub.cfg |grep menuentry
2.. Configure boot from the default kernel, the kernel name of the following command is replaced
Using RAM to realize the ECS resource access of the sub account to the main account
An ECS instance created by a user is a resource owned by that user. By default, users have full operational rights to their resources, and you can use all the APIs listed in this document to manipulate resources.
But in the master account of the scene, the child account just created is not eligible to operate the main ac
Front-facing conditionsTo achieve the purpose: to develop the local computer needs to connect with no network address of the RDS, through the ECS forwarding connection to the RDS databaseClient PC terminal can SSH login to the ECS server with public network.ECS servers with a public network can access other intranet ECS servers through the intranet.ECS Server wit
Every year, 6.1 is the brother Lnmp. The day the version of the script was upgraded, as the official version of the LNMP1.3 was released this year, according to the official documentation provided, it must include optimizing the script, upgrading the component version, and supporting the PHP7 version, increasing MYSQL5.7 support, and fixing the various existing security issues. Although the recent period of time another Oneinstack script user is also relatively large, but there are still a lot o
common problems and solutions for Aliyun ECS Deployment Web Project
Cloud Server ECS (Elastic Compute Service) is a flexible, scalable computing services that help you reduce IT costs, enhance operational efficiency, and make you more focused on core business innovations.For the ECS configuration used, refer to the cloud-wing plan, operating system mirroring Cen
Cloud Server ECS Linux host modifies host name
There are two ways to modify cloud server ECS Linux hostname, which is outlined in this article.Temporary effective modificationUsing the command line to modify the hostname hostname (customizable), the login shell takes effect.You can see that the shell is in effect when you log back inPermanent change in effectTake the CentOS system as an example, you need
In ECS Linux systems, log files are very important files that record important things in many systems. Common log files in Linux systems are outlined below:
/var/log/cronYou can check the cron file for the actual execution of the CRONTAB task schedule, whether the execution occurred incorrectly, and whether the/etc/crontab file has a syntax error or a write error.
/var/log/dmesgIn the DMESG file, you can check the information generated by
Cloud Server ECS Linux, rm-rf means that once deleted files are irretrievable. However, if you do not have a file overwrite operation, you can first try to recover the file in a related way. This article gives a brief description of this.Https://help.aliyun.com/knowledge_detail/41197.html?spm=5176.7841174.2.6.uqC1asTry data recovery with Extundelete
Description
The following is the CentOS 6.5 ext4 file system as an experimental environm
Unable to access Web sites on ECS
Problem description
Unable to access Web sites on the cloud server ECS.
Solutions
First Test whether the local can ping the cloud server.
Ping tests are normal and test to see if the local cloud server's Web port is properly accessed.
Telnet to the server IP 80web port and 3306 database port to see if the Web server Apache/nginx/iis or the database is functioning pr
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.