일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | |||||
3 | 4 | 5 | 6 | 7 | 8 | 9 |
10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | 18 | 19 | 20 | 21 | 22 | 23 |
24 | 25 | 26 | 27 | 28 | 29 | 30 |
- home page
- Fail2ban
- mysql
- Liniux
- DOM Parser
- crontab
- front page
- Mac
- vscode
- https
- CentOS7
- non-www
- html
- Linux
- Xdebug
- php
- MariaDB
- LetsEncrypt
- Certbot
- wordpress
- Apache
- Google Cloud
- new user
- launch.json
- centos
- 구글 클라우드
- git pull
- root
- SSL
- child theme
- Today
- Total
목록전체 글 (35)
between 0 and 1
- general configuration file is located under /etc/logrotate.conf - specific changes are under /etc/logrotate.d By default the logrotate job is started once a day by OS cron.daily job (/etc/cron.daily/logrotate) database user for log rotation CREATE USER 'logrotate'@'localhost' IDENTIFIED BY 'secret'; GRANT RELOAD ON *.* to 'logrotate'@'localhost'; database user information (mysql or mariadb) # ..
Step 1. move to "Settings -> Reading" Step 2. select "A static page" Step 3. select a homepage or posts page Step 4. "Save Changes"
function.php if ( ! function_exists('child_theme_enqueue_scripts') ) { function child_theme_enqueue_scripts() { $parent_style = 'parent-theme'; wp_enqueue_style('child-theme', get_stylesheet_directory_uri() . '/style.css', array($parent_style)); } add_action('wp_enqueue_scripts', 'child_theme_enqueue_scripts'); } style.css /* Theme Name: child-theme Description: A child theme of Parent Theme Aut..
Fail2ban is an open-source software that actively scans the servers log files in real-time for any brute force login attempts, and if found, summarily blocks the attack using the servers firewall software (firewalld or iptables). Fail2Ban runs as a background process and continuously scans the log files for unusual login patterns and security breach attempts. Installation $ yum install epel-rele..
mysql> GRANT ALL PRIVILEGES ON *.* TO myuser@localhost WITH GRANT OPTION; or mysql> GRANT ALL PRIVILEGES ON *.* TO myuser@localhost IDENTIFIED BY 'password' WITH GRANT OPTION; to make super(root) user, "WITH GRANT OPTION" should be applied.