Wanwang domain name registration and Alibaba Cloud server rental experience sorting

        By chance, I spent some money researching the domain name and cloud server.

 

1. The first is registration.

        Only then did I know that Wanwang has been acquired by Ali and has become a module of Ali (this strategy is well done, after registration, if you want to resolve the domain name, you have to buy a cloud server, and then habitually buy it in Aliyun) .

        1.1. There are many online tutorials for domain name registration, which is the same process as buying clothes in an online store.
        1.2. I need an IP from the external network for domain name resolution. I bought one. After the analysis, I found that it could not be used. Later, I found out: Domain name status: The registry is set to suspend resolution (serverHold). So real name is required. 
        To mention here, this thing is a pit.       The link on how to submit real-name authentication materials for domain name system
        states that starting from 8:00 on July 18, 2016, after the successful registration of .com/.net domain names, real-name authentication of the domain name must be carried out, otherwise the domain name will be in Serverhold state and cannot be used normally. And I just registered yesterday afternoon, just in time, I have to buy a lottery ticket.

2. Renting an Alibaba Cloud server, or buying it, is a pain in the ass.

        2.1. When you buy, you need to choose the configuration. There is a simple method:
        choose: Mirror--Mirror Type--Mirror Market--Select from the mirror market, and then choose a configuration and price that suits you. Anyway, the 40 yuan I watched before had no Internet access, and I was drunk, so I just spent more money and bought a configuration that could be used.
        2.2. When I chose it, I bought it according to the above method. I used CentOS 64-bit system, and JDK, tomcat, mamecahe, mysql, etc. were installed by default.
        2.3.mysql has encountered some problems, that is, it has been unable to connect, and the appropriate method cannot be found on the Internet.
        I keep reporting this error ERROR 1045 (28000): Access denied for user 'root'@'localhost' , I don't know the password of root.
        I have no choice but to deal with it as if I forgot my password.
        2.4. To illustrate one point: You can use the Xshell tool to connect to the linux server through the external network IP, and perform related operations, which is extremely convenient. It is much easier to use than the one that comes with the Ali platform.

3. There are still several problems encountered so far that have not been solved. List them first:

        3.1. The mysql database cannot be connected to the external network:
                http://jingyan.baidu.com/article/95c9d20dac9040ec4f75617a.html According to this link, there are three reasons.
                The root user of my server is open to 127.0.0.1, which may be a reason. I haven't checked the firewall yet.
                At present, it is possible to add, delete, modify, query and build tables in the form of command line, just use it first, and if it is inconvenient later, you can deal with it.
        3.2. Port 80 cannot be used.
        Tomcat defaults to 8080, so when accessing it, it can only be accessed by Ip: 8080 port or domain name: 8080. I felt that it was inconvenient to enter, so I changed the tomcat port to 80, but it can only be accessed by IP address, and the domain name access will jump to the welcome interface of the company that provides the mirror, which is localhost:8080 when the application is not deployed. Default interface. If there are netizens who have encountered this problem and solved it, I hope to share it, thank you.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327049211&siteId=291194637