Skip to content

Instantly share code, notes, and snippets.

@dragonjet
dragonjet / api_start2.json
Created October 31, 2015 00:31
api_start2-2015-10-31
This file has been truncated, but you can view the full file.
{"api_result":1,"api_result_msg":"\u6210\u529f","api_data":{"api_mst_ship":[{"api_id":1,"api_sortno":31,"api_name":"\u7766\u6708","api_yomi":"\u3080\u3064\u304d","api_stype":2,"api_afterlv":20,"api_aftershipid":"254","api_taik":[13,24],"api_souk":[5,18],"api_houg":[6,29],"api_raig":[18,59],"api_tyku":[7,29],"api_luck":[12,49],"api_soku":10,"api_leng":1,"api_slot_num":2,"api_maxeq":[0,0,0,0,0],"api_buildtime":18,"api_broken":[1,1,4,0],"api_powup":[1,1,0,0],"api_backs":3,"api_getmes":"\u7766\u6708\u3067\u3059\u3002<br>\u306f\u308a\u304d\u3063\u3066\u3001\u307e\u3044\u308a\u307e\u3057\u3087\u30fc\uff01","api_afterfuel":100,"api_afterbull":100,"api_fuel_max":15,"api_bull_max":15,"api_voicef":0},{"api_id":2,"api_sortno":32,"api_name":"\u5982\u6708","api_yomi":"\u304d\u3055\u3089\u304e","api_stype":2,"api_afterlv":20,"api_aftershipid":"255","api_taik":[13,24],"api_souk":[5,18],"api_houg":[6,29],"api_raig":[18,49],"api_tyku":[7,29],"api_luck":[10,49],"api_soku":10,"api_leng":1,"api_slot_num":2,"api_maxeq":[0,0,0,0,0
@dragonjet
dragonjet / 1-server.md
Last active July 31, 2021 21:01
Setup Web Server on EC2 Amazon Linux AMI

Step 1: Server Credentials

This assumes you are now connected to the server via SSH.

  • sudo -s Enter root mode for admin access
  • groupadd devgroup Create new group to be later granted access to /var/www/html

Creating a new Root User

  • useradd -G root,devgroup masterdev Create new root user. Also add to the devgroup
  • passwd masterdev Change password for the new root user
  • At this point, you'll need to input your new root user's new password