Setting Timezone and Firewall on CentOS 7

  • Posted on: 5 December 2014
  • By: oon
Centos Timezone and Firewall Setting

sudo timedatectl list-timezones

sudo timedatectl set-timezone region/timezone
sudo timedatectl set-timezone Asia/Jakarta

 

sudo firewall-cmd --permanent --list-all

sudo firewall-cmd --permanent --add-service=https

sudo firewall-cmd --permanent --add-port=7777/tcp

[1]https://www.digitalocean.com/community/tutorials/additional-recommended-...

Add new comment

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
By submitting this form, you accept the Mollom privacy policy.