O systemctl é uma ferramenta para gerenciar serviços no Fedora
Para listar todos os serviços em execução
# systemctl -t service
Para parar um serviço em execução no sistema
# systemctl stop iptables.service
Para iniciar um serviço no sistema
# systemctl start httpd.service
Para desativar um serviço no sistema
# systemctl disable sendmail.service
Para ativar um serviço no sistema
# systemctl enable crond.service
Conferir se serviços estão ativos ou não:
# systemctl is-enabled iptables.service
Qualquer dúvida
# man systemctl
Guia de Referencia :
http://mr-marcelo-barbosa.tumblr.com/post/28634003415/kit-de-primeiros-socorros-systemctl
quarta-feira, 29 de maio de 2013
quinta-feira, 2 de maio de 2013
Zimbra 8 no Centos 6.4
Bom nesse Artigo , vamos instalar o zimbra como servidor de e-mails
Após a instalação do Centos vamos instalar alguns pacotes para a utilização do Zimbra
# yum install sysstat perl sudo sqlite gmp nc -y
Efetue o download da ultima versão do zimbra
# wget http://files2.zimbra.com/downloads/8.0.3_GA/zcs-8.0.3_GA_5664.RHEL6_64.20130305090204.tgz
Descompacta o mesmo
# tar -xvf zcs-8.0.3_GA_5664.RHEL6_64.20130305090204.tgz
acesse o seu diretório
# cd zcs-8.0.3_GA_5664.RHEL6_64.20130305090204
Torne executável o arquivo install.sh
# chmod +x install.sh
Agora vamos para a instalação do Zimbra , execute com o parâmetro --platform-override
# ./install.sh --platform-override
Do you agree with the terms of the software license agreement? [N] y
Do you agree with the terms of the software license agreement? [N] y
Select the packages to install
Install zimbra-ldap [Y] y
Install zimbra-logger [Y] y
Install zimbra-mta [Y] y
Install zimbra-snmp [Y] y
Install zimbra-store [Y] y
Install zimbra-apache [Y] y
Install zimbra-spell [Y] y
Install zimbra-memcached [N] n
Install zimbra-proxy [N] n
Install anyway? [N] y
The system will be modified. Continue? [N] y
No menu selecione a opção 3 para add a senha do administrador do Zimbra
Main menu
1) Common Configuration:
2) zimbra-ldap: Enabled
3) zimbra-store: Enabled
+Create Admin User: yes
+Admin user to create: admin@mail.teste.org
******* +Admin Password UNSET
+Anti-virus quarantine user: virus-quarantine.84bobeokr@mail.teste.org
+Enable automated spam training: yes
+Spam training user: spam.metodyi8ts@mail.teste.org
+Non-spam(Ham) training user: ham.2nt3mjne@mail.teste.org
+SMTP host: mail.teste.org
+Web server HTTP port: 80
+Web server HTTPS port: 443
+Web server mode: https
+IMAP server port: 143
+IMAP server SSL port: 993
+POP server port: 110
+POP server SSL port: 995
+Use spell check server: yes
+Spell server URL: http://mail.teste.org:7780/aspell.php
+Configure for use with mail proxy: FALSE
+Configure for use with web proxy: FALSE
+Enable version update checks: TRUE
+Enable version update notifications: TRUE
+Version update notification email: admin@mail.teste.org
+Version update source email: admin@mail.teste.org
4) zimbra-mta: Enabled
5) zimbra-snmp: Enabled
6) zimbra-logger: Enabled
7) zimbra-spell: Enabled
8) Default Class of Service Configuration:
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit
Address unconfigured (**) items (? - help) 3
Selecione a Opção 4 e Digita uma Senha
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@mail.teste.org
** 4) Admin Password UNSET
5) Anti-virus quarantine user: virus-quarantine.84bobeokr@mail.teste.org
6) Enable automated spam training: yes
7) Spam training user: spam.metodyi8ts@mail.teste.org
8) Non-spam(Ham) training user: ham.2nt3mjne@mail.teste.org
9) SMTP host: mail.teste.org
10) Web server HTTP port: 80
11) Web server HTTPS port: 443
12) Web server mode: https
13) IMAP server port: 143
14) IMAP server SSL port: 993
15) POP server port: 110
16) POP server SSL port: 995
17) Use spell check server: yes
18) Spell server URL: http://mail.teste.org:7780/aspell.php
19) Configure for use with mail proxy: FALSE
20) Configure for use with web proxy: FALSE
21) Enable version update checks: TRUE
22) Enable version update notifications: TRUE
23) Version update notification email: admin@mail.teste.org
24) Version update source email: admin@mail.teste.org
Select, or 'r' for previous menu [r] 4
Password for admin@mail.teste.org (min 6 characters): [Ge7mjY82D] password
Depois digita "r"
Select, or 'r' for previous menu [r] r
Agora digita "a"
*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Yes para Salvar
Save configuration data to a file? [Yes] yes
de ENTER
Save config in file: [/opt/zimbra/config.7485]
Saving config in /opt/zimbra/config.7485...done.
confirma com Yes
The system will be modified - continue? [No] yes
Pronto o zimbra já esta instalado
Para acessar o Console Admin digita no seu browser
https://<ip_do_zimbra>/7071
E para acessar o webmail digita
https://<ip_do_zimbra>
Guia de Referencia :
http://sysadminatlarge.blogspot.com.br/2012/09/zimbra-8-ga-on-centos-63.html
Após a instalação do Centos vamos instalar alguns pacotes para a utilização do Zimbra
# yum install sysstat perl sudo sqlite gmp nc -y
Efetue o download da ultima versão do zimbra
# wget http://files2.zimbra.com/downloads/8.0.3_GA/zcs-8.0.3_GA_5664.RHEL6_64.20130305090204.tgz
Descompacta o mesmo
# tar -xvf zcs-8.0.3_GA_5664.RHEL6_64.20130305090204.tgz
acesse o seu diretório
# cd zcs-8.0.3_GA_5664.RHEL6_64.20130305090204
Torne executável o arquivo install.sh
# chmod +x install.sh
Agora vamos para a instalação do Zimbra , execute com o parâmetro --platform-override
# ./install.sh --platform-override
Do you agree with the terms of the software license agreement? [N] y
Do you agree with the terms of the software license agreement? [N] y
Select the packages to install
Install zimbra-ldap [Y] y
Install zimbra-logger [Y] y
Install zimbra-mta [Y] y
Install zimbra-snmp [Y] y
Install zimbra-store [Y] y
Install zimbra-apache [Y] y
Install zimbra-spell [Y] y
Install zimbra-memcached [N] n
Install zimbra-proxy [N] n
Install anyway? [N] y
The system will be modified. Continue? [N] y
No menu selecione a opção 3 para add a senha do administrador do Zimbra
Main menu
1) Common Configuration:
2) zimbra-ldap: Enabled
3) zimbra-store: Enabled
+Create Admin User: yes
+Admin user to create: admin@mail.teste.org
******* +Admin Password UNSET
+Anti-virus quarantine user: virus-quarantine.84bobeokr@mail.teste.org
+Enable automated spam training: yes
+Spam training user: spam.metodyi8ts@mail.teste.org
+Non-spam(Ham) training user: ham.2nt3mjne@mail.teste.org
+SMTP host: mail.teste.org
+Web server HTTP port: 80
+Web server HTTPS port: 443
+Web server mode: https
+IMAP server port: 143
+IMAP server SSL port: 993
+POP server port: 110
+POP server SSL port: 995
+Use spell check server: yes
+Spell server URL: http://mail.teste.org:7780/aspell.php
+Configure for use with mail proxy: FALSE
+Configure for use with web proxy: FALSE
+Enable version update checks: TRUE
+Enable version update notifications: TRUE
+Version update notification email: admin@mail.teste.org
+Version update source email: admin@mail.teste.org
4) zimbra-mta: Enabled
5) zimbra-snmp: Enabled
6) zimbra-logger: Enabled
7) zimbra-spell: Enabled
8) Default Class of Service Configuration:
r) Start servers after configuration yes
s) Save config to file
x) Expand menu
q) Quit
Address unconfigured (**) items (? - help) 3
Selecione a Opção 4 e Digita uma Senha
Store configuration
1) Status: Enabled
2) Create Admin User: yes
3) Admin user to create: admin@mail.teste.org
** 4) Admin Password UNSET
5) Anti-virus quarantine user: virus-quarantine.84bobeokr@mail.teste.org
6) Enable automated spam training: yes
7) Spam training user: spam.metodyi8ts@mail.teste.org
8) Non-spam(Ham) training user: ham.2nt3mjne@mail.teste.org
9) SMTP host: mail.teste.org
10) Web server HTTP port: 80
11) Web server HTTPS port: 443
12) Web server mode: https
13) IMAP server port: 143
14) IMAP server SSL port: 993
15) POP server port: 110
16) POP server SSL port: 995
17) Use spell check server: yes
18) Spell server URL: http://mail.teste.org:7780/aspell.php
19) Configure for use with mail proxy: FALSE
20) Configure for use with web proxy: FALSE
21) Enable version update checks: TRUE
22) Enable version update notifications: TRUE
23) Version update notification email: admin@mail.teste.org
24) Version update source email: admin@mail.teste.org
Select, or 'r' for previous menu [r] 4
Password for admin@mail.teste.org (min 6 characters): [Ge7mjY82D] password
Depois digita "r"
Select, or 'r' for previous menu [r] r
Agora digita "a"
*** CONFIGURATION COMPLETE - press 'a' to apply
Select from menu, or press 'a' to apply config (? - help) a
Yes para Salvar
Save configuration data to a file? [Yes] yes
de ENTER
Save config in file: [/opt/zimbra/config.7485]
Saving config in /opt/zimbra/config.7485...done.
confirma com Yes
The system will be modified - continue? [No] yes
Pronto o zimbra já esta instalado
Para acessar o Console Admin digita no seu browser
https://<ip_do_zimbra>/7071
E para acessar o webmail digita
https://<ip_do_zimbra>
Guia de Referencia :
http://sysadminatlarge.blogspot.com.br/2012/09/zimbra-8-ga-on-centos-63.html
Assinar:
Postagens (Atom)