Skip to content

Instantly share code, notes, and snippets.

@ydf
ydf / init.sh
Last active December 1, 2022 09:11
ubuntu server init
#!/bin/bash
cat >> /etc/security/limits.conf <<EOF
root soft nofile 65535
root hard nofile 65535
* soft nofile 65535
* hard nofile 65535
EOF