Great gods, please skip ~ ~ ~
Background
I client, simple use of PHP, build the server belongs to small white in small white. Last year bought a low match Aliyun to do test clothing by the way hangs a personal website and piled up some resources,
One, add swap
1. Use the following command to create a 1G swap space.
DD If=/dev/zero Of=/tmp/swap BS=1MB count=1024
2. Make a swap file
Mkswap/tmp/swap
3, start the swap partition.
Swapon/tmp/swap
4, this operation is only valid for the
See the reason may be not enough php-cgi process, PHP execution time (MySQL slow), or php-cgi process die, there will be 502 errors.
1. In the installed environment, run for a period of 502 problems, generally because the default php-cgi process is 5
First, Master repository configuration Master1. The user root account enters MySQLMysql-uroot-p2. Create an account for master-slave synchronization, and give permissions, because this account is only used as synchronization data, so the allocation
Reference
The centos system is installed on the server.
Uwsgi is installed using Pip.
Nginx is installed using Yum install nginx.
Python 2.7 and MySQL 5.5 are installed using yum.
The logical relationship between them is as follows:
the web
Final class magiccolorsutiles{// Grain = is the gradient GranularityPublic static final void drawstatebar (Graphics g, int RGB, int X, int y, int WID, int HIG, int grain){Int [] rgb1 = {(RGB & 0xff0000) >>> 16, (RGB & 0x00ff00) >>> 8, RGB & 0x0000ff
I. How to correctly set centos iptables and disable PING
1. Clear existing iptables rules
Iptables-F iptables-X iptables-Z
2. iptables configuration. Here we use the default firewall rules officially provided by centos in the small three resources
Hello, could you ask me a question? I recently called a 6410 board and wanted to start it from the SD card. The card Detect of the SD card was detected, but the clock didn't get up, I don't know what the problem is. Now I only generate a 12 m master
Recently I bought a Dell inspire 1526, from RedHat to Suse, from Windows XP to Windows2003.
The popular operating system on the market is coming soon. Unexpectedly, this machine is incredibly tight, with a lot of problems.
Let's talk about
Fault symptom: The Lenovo G480 Win8 system model uses the IE10 browser to play an online video: "You have not installed the Flash Player. Please click here to install it"Solution: 1. Go to IE browser and open the tool in the upper right corner (as
Aliyun host default is not to help you mount the data disk, the data disk naming is not the same as the traditional. The concrete can be viewed with fdisk-l:
# fdisk-l
disk/dev/hda:21.4 GB, 21474836480 bytes255 heads, Sectors/track, 2610
When connecting to a Linux server with an SSH client, there is often a disruption to the server session connection, which is caused by the fact that the SSH service has its own unique session-connecting mechanism.
Solution:
1, set the server to
Windows VNC remote connection Aliyun server configuration Ubuntu16.04
In ECS's security group, open the appropriate port: VNC service default port 5900-59001.
Open a remote connection, under terminal
Apt-get Update system software first
1. Install
How to make FTP settings under Linux
How ECS Linux servers configure Web sites and bind domain names
Ubuntu installation Vncserver to achieve graphical access
Aliyun Docker Mirror Library
Add FTP users to ECS Linux and set appropriate permissions
CentOS6.5 installation Vncserver to achieve graphical access
Use of the Linux SCP command to copy transfer files
Mysql,phpmyadmin the code forgot what to do
Domain Binding
Tomcat Service binding Domain name method
ECS Linux system domain binding host after ping test does not take effect
Nginx ways to bind multiple domain names
ECS Linux can not resolve the binding domain name in the hosts of the troubleshooting method
Server login
ECS Linux failed to check methods for remote connections
Remote connection server for Windows
Windows system Remote Desktop cannot connect check
Mac Remote Desktop link ECS Windows2012 prompt "Remote Desktop Connection cannot verify the identity of the computer you want to connect to"
ECS Windows systems multiple people using the same account and remotely logged in
ECS Server Windows 2008 sets the automatic logoff
ECS Windows Server 2003 R2 system installation DEDECMS prompts do not support GD and MySQL
ECS Windows SQL Server 2008 Service 1433 ports do not listen for troubleshooting
ECS Windows uses the new data disk without modifying the site settings
ECS Windows System Server IIS 8 install WCF Service
Network-related or sp
Linux one-click to install the Web environment full introduction
Tools: update_source.sh
Uploading download files using the SFTP feature
Tools: auto_fdisk.sh
Teach you nginx how to add pseudo static
Tools: install_vnc_server.sh
REDHAT5 and CENTOS5 installation Vncserver to achieve graphical access
Tools: ECS Automatic Migration Tool
ECS Debian system sudo command installation
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.