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
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
Dell ron1525n notebook Linux community, which is pre-installed with the UbuntuLinux operating system, news: According to foreign website reports, Dell has said it will install the UbuntuLinux operating system on the latest ron1525n notebook. In terms of configuration, the Dell ron1525n notebook uses a 15.4-inch screen with Core2 dual-core processor and Intel GMAX
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
the ECS 1525 is changed from T2390 to T2370, and the memory is reduced to 1 GB. They are $50 cheaper than pre-installed Windows Vista models. On a desktop, the Ubuntu system is pre-installed with the instance model "think530n" at $449, which is $50 cheaper than 530s pre-installed with Windows Vista. Their hardware configurations are identical.
Some may say that Ubuntu is not much cheaper than Windows Vista. Yes, now the pre-installed Linux computers
Download Linux Binaries (x86/x64) fileTo invoke a terminal on a Mac:SCP node-v****.tar.xz [Email protected]:/usr/local/srcTo connect the ESC Linux to the terminal, go to the SRC folder:Xz-d NODE-V****.TAR.XZTAR-ZXVF Node-v****.tarCD Node-v****/binLn-s/usr/local/src/node-v****/bin/node/usr/local/bin/nodeLn-s/USR/LOCAL/SRC/NODE-V****/BIN/NPM/USR/LOCAL/BIN/NPMNode-vOver ....Linux (CentOS) installation node for remote ECS connection using Mac
]
However, the industry's attention to the lightweight Ubuntu Light operating system has not lasted for too long, and then everyone almost forgot the existence of this operating system. However, the PC industry giant Dell is not so forgetful. The company just launched a product pre-installed with Ubuntu Light to quickly start the operating system. This product is the Super portable notebook of the iPhone M101z. A few months ago, when the release of t
This March, Dell released its newest all-in-one desktop PC, the XPS 18. At that time, we were fascinated by the 18.4-inch slim screen. When we were conducting the XPS 18 Review, Dell had repeatedly emphasized that it provided a complete all-in-one desktop experience, not just a large tablet computer. Users can freely use the mobile computer that moves back and forth in the home, but they are less suited to
We may have all experienced fraudulent calls disguised as "Windows Technical Service Support," and I believe many people know that such calls are fraudulent.Scammers impersonate Dell customer service scamAnd now, Dell users are less fortunate. This week, it was reported that crooks mastered the database of Dell users. Many De
This is my original, mainly for their own in the process of using the Dell switch to appear and solve problems.
These problems are almost always unresolved by Dell engineers, so I have a long-standing opinion about Dell support Services, and I hope that Dell engineers can learn from the customer's experience.
The fol
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.