Building Huawei ECs
Recently, I have to configure a server because I want to develop a small software. Because I used Sina's SAE before, after all, all the things I made at school are demo-level, and Sina's free junk stuff will be used together.
I used Sina SAE for my previous websites. I think there are two things that are too boring: 1. The configuration is complicated. I use an SSH framework to report various errors. The various solutions on the In
How to install MySQL and enable remote connection on the ECS Ubuntu_Server_16.04.1,
1. Install MySQL:
Use the following three commands to install the corresponding software:
$sudo apt-get install mysql-server$sudo apt-get install mysql-client$sudo apt-get install libmysqlclient-dev
When executing the first command, you must set the password of the root account of MySQL.
Run the following command to check the scoket status of MySQL. If the instance is
JSSDK Development Steps
Bind a secure domain name (the domain name is bound to any public number)
Introducing JS
Permission Validation wx.config ({})
Ready all the development is written in ready
Error
Share interface
Onmenusharetimeline Share to Friends Circle
Onmenushareappmessage Share to friends
Onmenushareqq
Onmenushareweibo
Onmenushareqzone
Image interface
Chooseimage
Previewimage
Uploadimage
Downloadimage
Https://help.aliyun.com/knowledge_detail/41225.html?spm=5176.7841174.2.2.ifP9ScNote: The relevant configuration and instructions in this article have been tested in the CentOS 6.5 64-bit operating system. Other types and versions of the operating system configuration may vary, please refer to the appropriate operating system official documentation.If the CPU of ECS Linux system keeps running high, it will affect the stability of the system and the ope
Tags: server centos linux MySQLDescription:My ECS is just rented pure, all the environment need their own settings, this article is my entire process to share, the online read a lot of information, inspired very big, but failed many times, there are installed through the rpm file, no success, there is Yum installed, I did not succeed, Finally decisively through the compression package of the way to install, and finally everything is smooth! Now let's
The Action that can authorize an ECS resource in RAM
In RAM, an ECS resource can be authorized to perform the following Action.
Allocatepublicipaddress
Attachdisk
Authorizesecuritygroup
Createdisk
CreateImage
CreateInstance
Createsecuritygroup
CreateSnapshot
Deletedisk
DeleteImage
Deleteinstance
Deletesecuritygroup
Deletesnapshot
Describeautosnapshotpolicy
Describedisks
Describeimages
De
Because of the complexity of the domestic carrier network, there may be situations where a particular network (in the case of a user's local network) cannot access Aliyun ECS due to operator problems. You can provide the following information to the Aliyun after sales support assistance analysis.
In order to troubleshoot successfully, you need to shut down both ECS and the local computer firewall, and any
Label:
First check to see if MySQL has been installed on the server
Command:
grep MySQL
Results:
You can see that the mysql-libs is already on the ECS. This does not affect the installation.
View the MySQL database information provided on the Yum server
Command:
Yum grep MySQL
Results:
Installing the MySQL server
Command:
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 first step, to the Aliyun official website to purchase an ECS cloud server, in the selection of mirrors, select the CentOS series
The second step, with the Xshell software login server, no Baidu download A, click New (if the login directly open the previous record on the line)
The third step, enter the name, input public IP, to the Aliyun background
Aliyun ECS currently has a new user free of charge for six months of activities, on the use of leisure time to apply for a specific application can be to Http://free.aliyun.com/?spm=5176.383518.1.28.OXp5YZ.The configuration I chose is:Cpu:1 NuclearMemory: 1GBData disk: 0GOperating system: Ubuntu 12.04 64-bitCurrent Usage Bandwidth: 0MbpsOf course, because it is free, so the bandwidth is 0Mbps, so there is no extranet IP, can not be installed from the
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
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.