1024 programmer’s day, come and get your lifelong free cloud server

Time:2020-11-3

1024 programmer's day, come and get your lifelong free cloud server

After being a programmer, do you want a cloud server with your own little things?

Whether it’s a good idea or just practicing technology, it’s good to put your work on the cloud server and access it on the public network.

Both Alibaba cloud and Tencent cloud have cloud servers for rent and sale. According to the configuration price, it’s better to have a free server for users who don’t really need it.

I used to apply for a free server on Amazon’s AWS cloud service for a year. After receiving the private work, I put it on it, and then charged maintenance fee every month.

A few days ago, I found a lifelong free cloud server. I have applied for it. I am developing and deploying my own ideas.

Code cloud gitee pages service


Let’s start with one“Static server“Warm up, code cloud’s pages service, code hosting, both GitHub abroad and code cloud in China have pages function, which can deploy static pages and can be accessed on public websites. It can be used to make online resume, personal blog, project official website, etc.

usage method:

  1. Upload project to code cloud warehouse
  2. Start gitee pages service

1024 programmer's day, come and get your lifelong free cloud server

As shown above, clickserviceGitee Pages, then select the branch and directory, and start.

The warehouse must have index.html Can be accessed normally.

Official course:Gitee pages Help Center

I made a static page aggregation search,Kiwi search

Kiwi search: now Baidu search is more and more unsatisfied, and there are all kinds of negative news. It can be said that it is crazy to try on the edge of death. I made an aggregate search, combined with a number of search engines, input the content to be searched, and then click the search engine I want to use.

You may also need to

1. Embedded music player

Some bloggers have music on their websites, so you can,Netease cloudOn the list of songs will be generated outside the chain playerlinkAfter clicking, there is a string of code, just put it on your HTML page.
For example:

<iframe frameborder="no" border="0" marginwidth="0" marginheight="0" 
    width=330 height=450 
   >
</iframe>

You can adjust the length, width and playback mode,autoEqual to 1 auto play, equal to 0 no auto play

2. Bing wallpaper

Bing official websiteA high quality background image is updated every day. You can also,
Official API:https://cn.bing.com/HPImageAr…

Response:

{
    "images": [
        {
            "startdate": "20201023",
            "fullstartdate": "202010231600",
            "enddate": "20201024",
            "url": "/th?id=OHR.UNBuilding_ZH-CN7730281645_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp",
            "urlbase": "/th?id=OHR.UNBuilding_ZH-CN7730281645",
            "Copyright": "the skyline of New York City and the United Nations headquarters building (? Sean Pavone / Alamy)",
            "copyrightlink": "https://www.bing.com/search?q=%E8%81%94%E5%90%88%E5%9B%BD%E6%80%BB%E9%83%A8%E5%A4%A7%E6%A5%BC&form=hpcapt&mkt=zh-cn",
            "title": "",
            "quiz": "/search?q=Bing+homepage+quiz&filters=WQOskey:%22HPQuiz_20201023_UNBuilding%22&FORM=HPQUIZ",
            "wp": true,
            "hsh": "5136e9f5a7272097e07fab9f3e299de4",
            "drk": 1,
            "top": 1,
            "bot": 1,
            "hs": []
        }
    ],
    "tooltips": {
        "Loading": "loading...",
        "Previous": previous image,
        "Next": next image,
        "Wall": "this image cannot be downloaded for wallpaper. "
        "Walls": "download today's pictures. For desktop wallpaper only. "
    }
}

prefixhttps://cn.bing.com/On the spliceimagesUnder nodeurlTo get the image address of the day.

For example:
https://cn.bing.com/th?id=OHR…

Lifelong free cloud server


1024 programmer's day, come and get your lifelong free cloud server

Oracle provides a lifelong free cloud server. As soon as I saw this news, I immediately applied. I found that many people had already applied. I can’t fall behind.

Official website address:Oracle cloud free package
You can get it after registration, and you can apply for two server instances for free,

1024 programmer's day, come and get your lifelong free cloud server

Server application

Server is not domestic, both Korea and Japan are said to be faster

matters needing attention

  1. You need a visa credit card: you can use a credit card abroad. Generally, you will have two when you do credit card, one of which is visa card.
  2. When registering, try to choose Korea or Japan as the home region, so that you can apply for the server in this country.

1024 programmer's day, come and get your lifelong free cloud server

Please fill in the application step by step. After that, Singapore $1 will be deducted from your credit card and returned. It should be used to test whether your credit card can be used normally. After that, there will be one or two deduction returns, regardless of him.

Server connection

clickCreate VM instanceAfter you select the operating system, you need to use a key to connect to the server. You cannot use the account password.
The local user xshell can create a key pair, and then upload the key file,
Xshell new connection – enter the server IP and select the user key just created.

1024 programmer's day, come and get your lifelong free cloud server

Add inbound rule

By default, only one 22 port is opened on the server. If you have installed nginx, redis and other services and want to access or connect through the outside world, you can open thefirewallIn addition, you need to configure inbound rules on your instance:
Examples virtual cloud network virtual cloud network details security list
1024 programmer's day, come and get your lifelong free cloud server


Here is my free chicken. I’m going to do my own project!
1024 programmer's day, come and get your lifelong free cloud server

1024 programmer's day, come and get your lifelong free cloud server