Last active
January 7, 2016 02:46
-
-
Save lucndm/7894797a9b60959041d6 to your computer and use it in GitHub Desktop.
Tắt mở firewall trên lunix, tạo http nhanh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tạo Http nhanh để download file | |
python -m SimpleHTTPServer | |
Tắt firewall | |
iptables -F | |
Mở lại firewall | |
iptables-restore < /etc/sysconfig/iptables |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sử dung s3cmd để connect s3 | |
s3cmd --configure | |
s3cmd get s3:// | |
chinh file config : ~$ vim .s3conf | |
http://tecadmin.net/install-s3cmd-manage-amazon-s3-buckets/ | |
==== | |
Doc 10 dòng đầu | |
head -n 10 __file__ | |
Doc 10 dòng cuối | |
tail -n 10 __file__ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment