hongy19’s blog

New vultr system


 Archlinux install

  • install pacman-mirrorlist
  • install ntp. systemtcl enable/start ntpd.service
  • set timezone: ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
  • locale: add LANG=en_US.UTF-8 into /etc/locale.gen. command “locale-gen "
  • network configuration
  • ip addr -> enp1s0
  • /etc/systemd/network/20-wired.network
  • systemctl enable/start systemd-networkd
  • add user
  • useradd –create-home –-groups wheel
  • preset all systemctl unit
  • systemctl preset-all (preset unit enable/disable according to /etc/systemd/system-preset)
  • install yay for AUR package

SSH

  • install fail2ban sshguard
  • copy old fail2ban configuration file
  • install openssh
  • update /etc/ssh/sshd_config
  • PasswordAuthentication no
  • AuthenticationMethods publickey
  • copy public key into /home/user/.ssh/authorized_keys

certbox

Nginx

  • install nginx
  • copy old configuration
  • firewall setting with iptables
  • install uwsgi uwsgi-plugin-python
  • copy old configuration
  • use emperor mode and put all *.ini in /etc/uwsgi/vassals
  • sudo systemctl enable uwsgi@emperor.service –now
  • for my application
  • pymoney: python-flask-httpauth python-flask python-matplotlib
  • pyblog:  python-google-api-python-client python-iso8601

Dovecot

  • install dovecot
  • copy old configuration file
  • firewall setting with iptables
  • certification need to be ready with certbot

opensmtpd

  • install s-nail, mutt
  • install opensmtpd
  • install opensmtpd-filter-dkimsign
  • see linklink1link2
  • dkimproxy doesn’t exist in Archlinux anymore, port 10027 doesn’t work link
  • copy old configuration
  • firewall setting with iptables
  • certification need to be ready with certbot
  • port 25 is blocked by default on vultr to avoid spam and need ticket to open it. See link for “Network error on destination MXs” error

Archlinuxcn

  • add archlinuxcn in pacman.conf, see link
  • install archlinuxcn-keyring, otherwise you will see “signature from “xxx xxx@build.archlinuxcn.org” is unknown trust “, see link.
Read more ⟶

2019 Summary


家庭

问题依旧和2018类似。由于平时加班比较多,陪老婆和孩子的时间太少。另外即使周末,和孩子的互动还是不如她妈妈。但今年和妈妈的沟通要比2018年好。

2019年下半年开始中断了记账。这个主要是由于实在没有时间一笔笔的记录。如果能把记账网站做成一个APP,我相信记账的频率会好很多。

工作

2019年主要准备了一系列的system guideline,包括技术,流程和日常工作。希望这些guideline/checklist能对系统长期的工作产生积极影响。另外今年工作的最大变化是PDU radio reorg,这个会对2020的工作产生巨大的影响。

希望自己能静下心来,好好想想过去几年的工作得失和应该努力的方向。

学习和读书

2019年通过微信读书看了不少关于历史,数学,物理,生物的书籍。希望自己以后能多看一些关于大脑科学,数学(特别是数理逻辑),经济和物理的书籍。

还是没有读完Peace and War。

Haskell

这一年在Haskell上基本没有做太多的事情。希望2020年能多写一些关于Haskell的code

Math

哥德尔艾舍尔巴赫——集异璧之大成已经读完了一大半,希望自己能在2020春节后读完这本书。

Computer

Category theory for programmer还是没有读完。对于lamba Calculus 的研究还是没有开始。

2019年通过Opensmtpd的升级和spam事件,对smtp协议有了更深的了解。

2019年删除了百度, 163的账号,现在只剩下QQ的账号还没有删除。

Read more ⟶

2018 summary


家庭

主要问题是陪老婆和孩子的时间太短,无法真正和孩子玩起来,老婆在这方面做得比我好。以后争取每天少加班,多陪老婆和孩子。和岳父岳母的沟通也不够,需要在家里多说话。对老妈关心不够,需要多回家看看老妈。

用在身体锻炼上的时间太少,需要改进。

工作

2018年在系统工作流程和技术上做了一些事情。梳理了流程,建立了framework让新系统学会怎么做事情

另外通过几个DMS的快速迭代,对DMS流程比较熟悉,针对具体情况可以有效的分析。在global DMS process中能提出具体切实的建议。对DMS技术讨论点的整体理解和掌控也有进步。

另外在实践中的问题是觉的Radio study是不是缺乏新意,在做一些重复性工作。

对high priority事情的时间分配不够,对于重要的事情需要足够多的时间去想而不是快速完成。比如JS8 application and 6482

自己个人在技术上的进步貌似不够。

TK上没有进步,还是只会算账。缺乏真正的TK idea。

学习和读书

时运变迁,管理美元,牛奶可乐经济学,生命的跃升, 影响力

代数的基本概念,抽象代数,重温微积分,什么是数学,哥德尔艾舍尔巴赫——集异璧之大成

高效awk编程

剑来,宰持天下,凡人修仙传仙界篇,大道争锋,还是没有读完Peace and War

Haskell

2018年读了不少Haskell的书,开始学习category theory,对monad的理解也更深入了。

Math

由于Haskell的缘故,开始学习抽象代数,可计算性原理(Lambda Calculus),category theory。

Read more ⟶