Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/libraries/joomla/utilities/date.php on line 56

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/libraries/joomla/utilities/date.php on line 198

Configure Apache, mySQL, e cgi-bin

E-mail Imprimir PDF

Após instalar o Ubuntu server podemos acessar o Apache pelos endereços no browser: 127.0.0.1 ou localhost ou ainda pelo endereço Ip do servidor se configurado no arquivo /etc/hosts

Se tiver problemas verifique o arquivo sudo gedit /etc/apache2/apache2.conf e veja se tem a linha ServerName localhost

depois reinicialize o apache server:
sudo /etc/init.d/apache2 restart

  • Criando um novo site no Apache
No diretório /etc/apache2/sites-available/ temos as configurações disponíveis do Apache.
Copie a configuração default para uma configuração neste caso chamada de SharedWeb
sudo cp /etc/apache2/sites-available/default /etc/apache2/sites-available/SharedWeb

edit a nova configuração: sudo nano /etc/apache2/sites-available/SharedWeb

Altere o caminho em DocumentRoot para o novo caminho a ser criado
cd /home
mkdir SharedWeb
chmod o+w SharedWeb

Ficando assim: DocumentRoot /home/SharedWeb/

Altere também para

Depois basta desabilitar o site default
sudo a2dissite default

E habilitar o site SharedWeb
sudo a2ensite SharedWeb

E reinicie o Servidor Apache
sudo /etc/init.d/apache2 restart

Para desfazer basta executar:
sudo a2dissite SharedWeb
sudo a2ensite default
sudo /etc/init.d/apache2 restart

  • Instalar phpmyadmin e criar usuário root no mySQL
Digite os comandos:
sudo aptitude update
sudo aptitude install phpmyadmin

O phpMyAdmin script estará no diretório /var/www/
Crie um alias para o SharedWeb entre as tags :
sudo nano /etc/apache2/sites-available/SharedWeb
Alias /phpmyadmin /var/www/phpmyadmin

E depois reinicie o Apache: sudo /etc/init.d/apache2 restart

Crie a senha de root no MySql com o comando (considerando que a senha do root esteja em branco ainda!):
mysqladmin -u root password NOVASENHA
Ver o site http://www.cyberciti.biz/faq/mysql-change-root-password/ para outras opções.
Se esqueceu a senha do root do mysql veja o link: http://www.cyberciti.biz/tips/recover-mysql-root-password.html

  • Criando um diretório cgi-bin
Crie um diretório em /home/SharedWeb/cgi-bin/ com o comando mkdir.
Depois altere a configuração do site incluindo entre as tags :
sudo nano /etc/apache2/sites-available/SharedWeb

ScriptAlias /cgi-bin/ /home/SharedWeb/cgi-bin/

Options ExecCGI
AddHandler cgi-script cgi pl


Não deixe de visitar o site: http://httpd.apache.org/docs/2.2/
 

Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/libraries/joomla/utilities/date.php on line 250
Banner

Identificação

Visitantes


Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/modules/mod_vvisit_counter/helper.php on line 56

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/modules/mod_vvisit_counter/helper.php on line 57

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/modules/mod_vvisit_counter/helper.php on line 58

Warning: mktime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/modules/mod_vvisit_counter/helper.php on line 59

Warning: mktime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/modules/mod_vvisit_counter/helper.php on line 60

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/modules/mod_vvisit_counter/helper.php on line 63
mod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_countermod_vvisit_counter
mod_vvisit_counterHoje52
mod_vvisit_counterOntem119
mod_vvisit_counterEsta semana550
mod_vvisit_counterEste mês1535
mod_vvisit_counterTodos505711

Últimas Notícias


Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/libraries/joomla/utilities/date.php on line 198

Warning: Creating default object from empty value in /home/edifast0/public_html/corp/modules/mod_latestnews/helper.php on line 109

Warning: Creating default object from empty value in /home/edifast0/public_html/corp/modules/mod_latestnews/helper.php on line 109

Warning: Creating default object from empty value in /home/edifast0/public_html/corp/modules/mod_latestnews/helper.php on line 109

Warning: Creating default object from empty value in /home/edifast0/public_html/corp/modules/mod_latestnews/helper.php on line 109

Warning: Creating default object from empty value in /home/edifast0/public_html/corp/modules/mod_latestnews/helper.php on line 109

Mais Vistos


Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/libraries/joomla/utilities/date.php on line 198

Warning: Creating default object from empty value in /home/edifast0/public_html/corp/modules/mod_mostread/helper.php on line 79

Warning: Creating default object from empty value in /home/edifast0/public_html/corp/modules/mod_mostread/helper.php on line 79

Warning: Creating default object from empty value in /home/edifast0/public_html/corp/modules/mod_mostread/helper.php on line 79

Warning: Creating default object from empty value in /home/edifast0/public_html/corp/modules/mod_mostread/helper.php on line 79

Warning: Creating default object from empty value in /home/edifast0/public_html/corp/modules/mod_mostread/helper.php on line 79

Itens Relacionados


Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/libraries/joomla/utilities/date.php on line 198

Newsflash


Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/edifast0/public_html/corp/libraries/joomla/utilities/date.php on line 198
SERVER NOT FOUND or TIME OUT