systemctl + firewall.http

# systemctl list-unit-files | grep http
httpd.service                               disabled
# systemctl enable httpd
ln -s ‘/usr/lib/systemd/system/httpd.service’ ‘/etc/systemd/system/multi-user.target.wants/httpd.service’
# systemctl list-unit-files | grep http
httpd.service                               enabled

# getenforce
Disabled

# vi /etc/firewalld/zones/public.xml
..
<service name=”dhcpv6-client”/>
+  <service name=”http”/>
+  <service name=”https”/>
<service name=”ssh”/>
..
# firewall-cmd —reload
success

or

# firewall-cmd –add-service=http –zone=public –permanent
success
# firewall-cmd –add-service=https –zone=public –permanent
success
# firewall-cmd –reload
success
# firewall-cmd –list-service –zone=public
dhcpv6-client http https ssh

firewalld.sshd

# vi /usr/lib/firewalld/services/ssh.xml
–  <port protocol=”tcp” port=”22″/>
+  <port protocol=”tcp” port=”{another port}”/>
multilines with each ports can work.

# firewall-cmd –reload
# firewall-cmd –get-services

public (default, active)
interfaces: eth0
sources:
services: dhcpv6-client ssh
ports:
masquerade: no
forward-ports:
icmp-blocks:
rich rules:

can use only dhcpv6-client, ssh.

(more…)

GJ!

Cozy Kojima

Thu, 31 Jul 2014 13:05:09 GMT
– Google+
– Public
GJ!


「ログを集めて保存する」と言うのは簡単だけど,ログ収集の構成にはいくつか方法があり,勉強会などでちょくちょく聞かれるので,いくつかのパターンについて書く(TODO: 簡単なイメージ図を貼る).
「俺はもうバリバリログ収集やってるぜ!」という人は多分すでに知っていることが書かれているので, …

WordPress for somewhere

Wanna build …

  1. 4 levels of users, super admin / maintainers / editors / members
  2. 4 types of My page exists for each users
  3. UI/UX design for both laptop & smartphone
  4. Upload the resume
  5. Download the uploaded entry forms for members
  6. Check the interests for members
  7. Locate icons for each informations
  8. search with some conditions
  9. write contents by editors
  10. (copy contents to other sites like R)
  11. message between the staff and members