遇到实验室搬家,最近无法使用服务器,所以申请个aliyun玩玩。
Tips
要建立权限意识,开个新用户,而不是使用root直接登录。
COOL安装过程
最近在使用静态检测工具,所以重研了一遍ST的compilers。主要从语言生成的角度展开,对于后续的程序分析和理解有一定帮助,其介绍了COOL这种面向对象的语言,并且是推荐linux使用。
这里的是ali改的redhat,所以不要使用apt用yum。
因为COOL本身是javabuild的,所以需要先安装maven。
yum install maven yum install gitgit clone https://github.com/aweinert/coolc.git cd coolc mvn compile ./run examples/hello-world.cl java -jar out.jar
输出helloworld, success.
Chats
It's very stupid to accept aliyun's idea of building your homepage on such a resources-stricited server. If you wish to keep the homepage breathing, you must renew the contract after two months. To be frank, the price without project's sponsors would be higher than you assumed. In hence, all you need to do is just play it as your disposable b*h.