2015-12-05から1日間の記事一覧
perlのxsと比較すると、かなり簡単な気がします step1 - Cソースを作成 $ vi HelloCtypes.c #include <stdio.h> void hello_ctypes() { printf("HELLO CTYPES\n"); } step2 - Cソースをコンパイル $ gcc -shared -fPIC -o HelloCtypes.so HelloCtypes.c step3 - pytho</stdio.h>…
どちらが、いいんでしょうね? http://www.modsecurity.org/download.html https://github.com/nbs-system/naxsi
https://www.nginx.com/resources/wiki/start/topics/examples/logrotation/ ↑こちらに記載されているログの再オープンを参考に、次のように設定すると、ログ・ローテートできます # vi /etc/logrotate.d/nginx /var/log/nginx/*log { dateext rotate 93 sta…