|
|
| Linha 1: |
Linha 1: |
| − | INSTALACAO INICIAL DO UBUNTU 12.04 LTS
| |
| − | ======================================
| |
| − | . Versoes Server LTS (Long Term Suport) tem atualizacao de seguranca por 5 anos
| |
| | | | |
| − | . Pacotes:
| |
| − | ... Basic Server
| |
| − | ... LAMP (Apache, MySQL, PHP)
| |
| − | ..... MySQL root password: None
| |
| − | ... OpenSSH
| |
| − | ... SAMBA
| |
| − |
| |
| − | PÓS INSTALAÇÃO
| |
| − | ==============
| |
| − | . WEBMIN
| |
| − | ... http://www.webmin.com/deb.html
| |
| − |
| |
| − | If you like to install and update Webmin via APT, edit the /etc/apt/sources.list
| |
| − | file on your system and add the lines :
| |
| − |
| |
| − | deb http://download.webmin.com/download/repository sarge contrib
| |
| − | deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
| |
| − |
| |
| − | You should also fetch and install my GPG key with which the repository is
| |
| − | signed, with the commands :
| |
| − |
| |
| − | cd /
| |
| − | root wget http://www.webmin.com/jcameron-key.asc
| |
| − | apt-key add jcameron-key.asc
| |
| − |
| |
| − | You will now be able to install with the commands :
| |
| − |
| |
| − | apt-get update
| |
| − | apt-get install webmin
| |
| − |
| |
| − | All dependencies should be resolved automatically.
| |
| − |
| |
| − | . Firebird
| |
| − | ... apt-get install firebird2.5-super php5-interbase
| |
| − | ... dpkg --reconfigure firebird2.5-super -> sysdba password: JJLERC
| |
| − |
| |
| − | . Subversion
| |
| − | ... apt-get install subversion
| |
| − |
| |
| − | USUARIOS / GRUPOS / DIRETORIOS
| |
| − | ==============================
| |
| − | ... users : anapaula, camila, dafne, jackson, marcelo, oazez, web, zeduardo,
| |
| − | zeluis
| |
| − | ... grupos : administracao, diretoria, producao, publico, suporte, web
| |
| − |
| |
| − | ... membros: administracao(m,zl,o), diretoria(zd,zl,o), producao(j,zd,o),
| |
| − | publico(*), suporte(ap,c,d,o), web(d,zd,o)
| |
| − |
| |
| − | PROXIMOS PASSOS
| |
| − | ===============
| |
| − |
| |
| − | . Copiar os arquivos de um hd para o outro
| |
| − |
| |
| − | http://www.linuxjournal.com/magazine/hack-and-migrate-new-hard-drive
| |
| − |
| |
| − | instalar lvm
| |
| − |
| |
| − | vgscan
| |
| − | vgchange -a y
| |
| − |
| |
| − | mount /dev/servidor/root /mnt/sda1
| |
| − |
| |
| − | cd /mnt/sda1
| |
| − | find ./ -xdev -print0 | cpio -pa0V /old_hd
| |
| − |
| |
| − | remover lvm ??
| |
| − |
| |
| − | . O PRIMEIRO E MAIS IMPORTANTE É O SAMBA, DEPOIS O SVN 1
| |
| − |
| |
| − | . Configurar
| |
| − | ... Samba
| |
| − | ... Subversion
| |
| − | ... Impressora PDF
| |
| − | ... CTRL+ALT+DEL POWEROFF
| |
| − | ... home/{user}/public_html
| |
| − | ... php5.ini
| |
| − |
| |
| − | . Atencao para os backups do mysql, repositorios svn e web
| |
| − | . scripts de backup (cron)
| |
| − |
| |
| − | . Depois de tudo funcionando perfeitamente, formatar o hd antigo (500gb) e
| |
| − | configura-lo como publico no samba
| |