顯示具有 CentOS 標籤的文章。 顯示所有文章
顯示具有 CentOS 標籤的文章。 顯示所有文章

2016年8月21日 星期日

CentOS 7 set timezone


ref:
https://www.liberiangeek.net/2014/09/configure-server-timezone-centos-7/
http://www.cyberciti.biz/faq/centos-linux-6-7-changing-timezone-command-line/

以下指令先確認目前系統的時間
date
ls -l /etc/localtime


以下指令會顯示支援的地區
 timedatectl list-timezones

以下指令可以將系統時區改為台北
timedatectl set-timezone Asia/Taipei

再用以下指令確認~~
ls -l /etc/localtime

再用 ntp 設定網路校時 

2016年7月23日 星期六

CentOS 7.2 server

CentOS 7.2 Server  的幾篇重要設定文章.

整體設定 (Linux, apache, mariadb, php)
https://www.atlantic.net/community/howto/install-lamp-centos-7/
https://www.howtoforge.com/apache_php_mysql_on_centos_7_lamp

firewall 設定
https://www.digitalocean.com/community/tutorials/how-to-set-up-a-firewall-using-firewalld-on-centos-7

network 設定
http://www.tecmint.com/configure-network-interface-in-rhel-centos-7-0/

2016年1月7日 星期四

CentOS 7 Install Postfix to configure SMTP server


from: http://www.server-world.info/en/note?os=CentOS_7&p=mail

2015年8月31日 星期一

CentOS 7 add user to sudo Privileges


source: https://www.digitalocean.com/community/tutorials/how-to-add-and-delete-users-on-a-centos-7-server

If you are currently signed in as the root user, type:
gpasswd -a username wheel



CentOS 7 install 7zip


source: http://geekyadmins.com/unzip-7z-file-centos-7/

How to install

Step 01: Please login using your privileged account using the following command.

su –
Step 02: Download the repo using the command given below.
wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
Step 03: Now install the downloaded rpm using
rpm -ivh  rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
Step 04: Now you need to install the package
yum install p7zip
Step 05: To unzip the file use the following command
 7za x 

2015年1月27日 星期二

CentOS 7 伺服器安裝


CentOS 7 伺服器安裝

可安裝以下二個來源:

https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-centos-7

https://www.digitalocean.com/community/tutorials/additional-recommended-steps-for-new-centos-7-servers