Deploying mysql (unfinished) and awsredhat on aws (redhat)
Let's just talk about the code.
------------------------------------------ Split line -------------------------------------------------------------
[Root @ ip-172-31-9-121] # yum install mysql
[Root @ ip-172-31-9-121] # yum install mysql-server
Tips: if the following code appears, you need to download the mysql-server rpm package,
Loaded plugins: amazon-id, rhui-lb, search-disabled-reposNo pac
When creating an instance, you do not need to add vol. You only need to leave root,Create a volume in volumn.Add it to the instance.Command used:Sudo fdisk-lLsblkPartition: fdisk-s 56/dev/xvdbEnter "N", "P", "1" in sequence, press ENTER twice, and "WQ". The partition starts and will be completed soon.Format: mkfs-T ext4/dev/svdb1Sudo fdisk-l(Http://help.aliyun.com/view/11108189_13435365.html? SPM = 5176.7224609.19972825.4.ztzx9k)When creating a volume without using a snapshot, You need to partit
"src="/HTTP/ d.hiphotos.baidu.com/exp/w=500/sign=c945479d17dfa9ecfd2e561752d1f754/ D8f9d72a6059252defbc3885329b033b5ab5b983.jpg "style=" border:0px; "/>
7After clicking "OK", the "Sessions" form will pop up, which holds the session you just created, select the session you want to connect to, click the "Connect" button650) this.width=650; "class=" Exp-image-default "alt=" How to use Xshell to login to Amazon EC2 cloud Server "src=" http://c.hiphotos.baidu.com/exp/ W=500/sign=c29f8893740e0cf3a0
, the contents as shown, each repo represents a warehouse, the following indicates that a particular user has specific permissions. This can be used for permission control.Suppose there are two users at this time Tom and Jack need to work with this GIT server to develop a project called Lake. First, Tom and Jack need to generate SSH keys on their respective computers, then rename the public key id_rsa.pub to Tom.pub and jack.pub, and add them to the directory under the Admin user on the server
AWS's Ubuntu Host login user is UbuntuLog in only by secret keyIf the remote login via SSH on the Linux terminal is as follows:If you apply for EC2 host download Key name is called My-key.pem, and saved in the local Linux host/home/key below1. Use the chmod command to ensure that your private key is not publicly visiblechmod /home/key/my-key.pem2.ssh -i/home/key/my-key.pem [email protected]3. The following content appears, direct yes' xxxxxxxxx ' can't be established. RSA Key fingerprint is wa
=" Wkiom1itpzbqa5tqaaa20m4c6oi741.png "/>Since I created RDS here using the default parameter group, if you want to correlate the parameter group you need to compare, see if there are any other parameters changed to ensure that RDS does not have problemsParameter comparison650) this.width=650; "src=" Https://s3.51cto.com/wyfs02/M00/8D/E0/wKioL1itp1rDgoTjAABaiwj-XBw083.png "title=" Parameter comparison. png "alt=" Wkiol1itp1rdgotjaabaiwj-xbw083.png "/>5. Verification650) this.width=650; "src=" Ht
For more details on deploying data for RDS, importing and exporting, see [official documentation].To deploy data for RDS, it is important to note that the RDS database only has 1521 ports open, so all operations can only be done through a 1521 port database connection.1 Exporting dataIn the source database:--查看数据库目录:select * from dba_directories t;--数据导出(操作系统命令行执行,而不是数据库SQL命令行):expdp TESTDB/TESTDB schemas=TESTDB dumpfile=expdp.dmp directory=DATA_PUMP_DIR2 Create a tablespace, user, and authoriza
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
I. Apply for server resources
To develop a backend server program, we must first apply for server resources. There are currently many cloud servers available, such as Sina's sae. Here we will take sae as an example.
1. Open http://sae.sina.com.cn.
2.
In addition to the panel provided by the service provider, we can also install vnStat to monitor the upstream and downstream traffic of your VPS or server on a daily basis. the vnStat installation method is simple, which can be divided into
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.