====== Shell ====== * [[http://stackoverflow.com/questions/4774054/reliable-way-for-a-bash-script-to-get-the-full-path-to-itself|get shell script full path]] ====== System Configure ====== * [[http://askubuntu.com/questions/162229/how-do-i-increase-the-open-files-limit-for-a-non-root-user|change fd limit for non-root-user]] ====== Systemd ====== * [[http://wiki.slassgear.com/doku.php?id=%E5%AD%A6%E4%B9%A0%E8%B5%84%E6%96%99:%E7%A8%8B%E5%BA%8F:linux%E7%BB%BC%E5%90%88:%E5%88%9B%E5%BB%BA%E4%B8%80%E4%B8%AAsystemd%E6%9C%8D%E5%8A%A1|创建一个systemd服务并自动启动]] ====== APT ====== * [[http://serverfault.com/questions/577942/install-only-dependencies-of-a-given-package-in-debian-or-ubuntu-apt|仅安装一个包所需依赖]] ====== Nginx ====== * [[http://serverfault.com/questions/162429/how-do-i-add-access-control-allow-origin-in-nginx|配置NGINX进行跨域XHR调试]] * [[http://serverfault.com/questions/162429/how-do-i-add-access-control-allow-origin-in-nginx|NGINX允许跨域cookie和各种HTTP方法]] * [[http://segmentfault.com/blog/hongtu1993/1190000002412057|Nginx正确解决跨域]] * [[http://serverfault.com/questions/197903/fastcgi-param-script-name-not-working-when-included-from-external-configuration|nginx解析php的时候的必要参数和另一个参考参考]] ====== Ubuntu ====== * [[http://www.howtogeek.com/howto/ubuntu/set-the-default-terminal-emulator-on-ubuntu-linux/|set default terminal]] ====== Package Management(manage, build, etc) ====== * [[https://github.com/jordansissel/fpm|fpm - 将python,ruby打包成各种package的工具]] * [[http://www-uxsup.csx.cam.ac.uk/~jw35/docs/rpm_config.html|rpm's (noreplace) option]] ====== Network ====== * [[http://stackoverflow.com/questions/245916/best-way-to-extract-mac-address-from-ifconfigs-output|best-way-to-extract-mac-address-from-ifconfigs-output]] * [[https://github.com/leandromoreira/linux-network-performance-parameters|linux-network-performance-parameters]] ====== OS ====== * [[https://www.ibm.com/developerworks/cn/linux/l-cn-rwspinlock1/| IBM - 读写自旋锁详解]] * [[https://www.ibm.com/developerworks/cn/linux/l-cn-spinlock/index.html| Linux 内核的排队自旋锁(FIFO Ticket Spinlock)]] ====== IP/Route ====== * [[https://www.cyberciti.biz/faq/howto-linux-configuring-default-route-with-ipcommand/|howto-linux-configuring-default-route-with-ipcommand ]] ====== Process and Files ====== * [[https://unix.stackexchange.com/questions/94357/find-out-current-working-directory-of-a-running-process| find out current working directory of a running process - 查看某个进程的工作目录]] * [[https://www.zorin.xin/2017/11/14/docker-container-ulimit-set/| docker修改uliimts(有很多细节,包括宿主机信息)]] * [[https://stackoverflow.com/questions/48150764/docker-compose-down-failing-too-many-open-files|docker修改ulimits(docker很多ulimits和系统的是相对独立的)]] * [[https://www.cnblogs.com/cnsanshao/p/4652305.html| c200k 服务器所需的linux最大文件描述符的一些细节设置]]