Erro ao iniciar o apache
Starting apache2: Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
sudo nano /etc/apache2/httpd.conf
adicionar no ficheiro
127.0.0.1 localhost
sudo nano /etc/hosts
adicionar no ficheiro
127.0.0.1 localhost
Este blog é como um sótão....um local para guardar... Links Textos etc... Tudo o que um dia poderá fazer falta.
terça-feira, outubro 30, 2012
Raspberry pi phpMyAdmin
apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin
Escolha o servidor web que deve ser configurado automaticamente para â
â correr o phpMyAdmin. â
â â
â Servidor web a reconfigurar automaticamente: â
â â
â [*] apache2 â
â [ ] lighttpd
selecionar apache2
âââââââââââââââââââââââââ⤠A configurar phpmyadmin ââââââââââââââââââââââââââ
â â
â O pacote phpmyadmin tem de ter uma base de dados instalada e configurada â
â antes de poder ser utilizado. Esta opção pode ser lidado opcionalmente â â pelo dbconfig-common. â
â â
â Se você é um administrador de bases de dados avançado e sabe que quer ââ executar esta configuração manualmente, ou se a base de dados já está â instalada e configurada, você deve recusar esta opção. Detalhes do que ââ necessita ser feito provavelmente devem ser disponibilizados em â
â /usr/share/doc/phpmyadmin. â
â â
â Caso contrário, você deve provavelmente escolher esta opção. â â
â Configurar a base de dados para phpmyadmin com dbconfig-common? â
â â
â â
â â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
sim
Inserir a senha do Mysql
definir a senha do phpmyadmin
nano /etc/php5/apache2/php.ini
adicionar ao ficheiro
extension=mysql.so
nano /etc/apache2/apache2.conf
adiconar ao ficheiro
testar http://ip/phpmyadmin
Escolha o servidor web que deve ser configurado automaticamente para â
â correr o phpMyAdmin. â
â â
â Servidor web a reconfigurar automaticamente: â
â â
â [*] apache2 â
â [ ] lighttpd
selecionar apache2
âââââââââââââââââââââââââ⤠A configurar phpmyadmin ââââââââââââââââââââââââââ
â â
â O pacote phpmyadmin tem de ter uma base de dados instalada e configurada â
â antes de poder ser utilizado. Esta opção pode ser lidado opcionalmente â â pelo dbconfig-common. â
â â
â Se você é um administrador de bases de dados avançado e sabe que quer ââ executar esta configuração manualmente, ou se a base de dados já está â instalada e configurada, você deve recusar esta opção. Detalhes do que ââ necessita ser feito provavelmente devem ser disponibilizados em â
â /usr/share/doc/phpmyadmin. â
â â
â Caso contrário, você deve provavelmente escolher esta opção. â â
â Configurar a base de dados para phpmyadmin com dbconfig-common? â
â â
â
â â
âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
sim
Inserir a senha do Mysql
definir a senha do phpmyadmin
nano /etc/php5/apache2/php.ini
adicionar ao ficheiro
extension=mysql.so
nano /etc/apache2/apache2.conf
adiconar ao ficheiro
Include /etc/phpmyadmin/apache.conf
testar http://ip/phpmyadmin
Raspberry Pi mudar a MOTD - Message of the day
nano /etc/motd
agora é só escrever
agora é só escrever
__ ___ _____ _____ _____ ___ ___ ___ \ \ / (_) __ \ | __ \| ____|/ _ \ / _ \ / _ \ \ \ / / _| |__) |__| |__) | |__ | | | | | | | | | | \ \/ / | | ___/ _ \ _ /|___ \| | | | | | | | | | \ / | | | | __/ | \ \ ___) | |_| | |_| | |_| | \/ |_|_| \___|_| \_\____/ \___/ \___/ \___/
E gravar :)
Raspberry Pi - MySQL
sudo apt-get install mysql-server mysql-client
ââââââââââââââââââââ⤠A configurar mysql-server-5.5 ââââââââââââââââââââââ
â Embora não seja obrigatório, é fortemente recomendado que defina uma â
â palavra-passe para o utilizador administrativo "root" do MySQL. â
â â
â Se este campo for deixado em branco, a palavra-passe não irá ser â
â alterada. â
â â
â Nova palavra-passe para o utilizador "root" do MySQL: â
â â
â ______________________________________________________________________ â
â â
â â
â â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
inserir a senha para o sql
mysql -u root -p
Inserir a senha
create database raspberrypidb;
Query OK, 1 row affected (0.00 sec)
use raspberrypidb;
Database changed
show tables;
Empty set (0.00 sec)
crtl+c para sair da consola do mysql
sudo service apache2 restart
service apache2 status
ââââââââââââââââââââ⤠A configurar mysql-server-5.5 ââââââââââââââââââââââ
â Embora não seja obrigatório, é fortemente recomendado que defina uma â
â palavra-passe para o utilizador administrativo "root" do MySQL. â
â â
â Se este campo for deixado em branco, a palavra-passe não irá ser â
â alterada. â
â â
â Nova palavra-passe para o utilizador "root" do MySQL: â
â â
â ______________________________________________________________________ â
â â
â
â â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
inserir a senha para o sql
mysql -u root -p
Inserir a senha
create database raspberrypidb;
Query OK, 1 row affected (0.00 sec)
use raspberrypidb;
Database changed
show tables;
Empty set (0.00 sec)
crtl+c para sair da consola do mysql
sudo service apache2 restart
service apache2 status
Raspberry Pi webmin
wget http://prdownloads.sourceforge.net/webadmin/webmin_1.600_all.deb
dpkg --install webmin_1.600_all.deb
faltam algumas depencias
apt-get install libapt-pkg-perl libnet-ssleay-perl libauthen-pam-perl libio-pty-perl apt-show-versions
Webmin install complete. You can now login to https://raspberrypi:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.
ystem hostname | raspberrypi (127.0.1.1) |
Operating system | Debian Linux 7.0 |
Webmin version | 1.600 |
Time on system | Tue Oct 30 14:49:02 2012 |
Kernel and CPU | Linux 3.2.27+ on armv6l |
System uptime | 2 hours, 10 minutes |
Running processes | 77 |
CPU load averages | 0.68 (1 min) 0.98 (5 mins) 0.68 (15 mins) |
CPU usage | 1% user, 0% kernel, 0% IO, 99% idle |
Real memory | 438.47 MB total, 86.41 MB used![]() ![]() |
Virtual memory | 100 MB total, 0 bytes used![]() ![]() |
Local disk space | 7.34 GB total, 2.14 GB used![]() ![]() |
Package updates | 1 package updates are available |
raspberry pi Raspcontrol
Raspcontrol
http://raspcontrol.com/download/
meter o ficheiro descarregado na pasta var tmp
ir a pasta
unzip Bioshox-Raspcontrol-b48ec2f.zip
cd Bioshox-Raspcontrol-b48ec2f
nano start.sh
onde está port=80
mudar para port=81
sudo ./start.sh
abrir o browser
http://192.168.1.171:81/
Please choose a username and password to login with
Free: 399 MB Used: 38 MB · Total: 438 MB
Free: 99 MB Used: 0 MB · Total: 99 MB
Total: TamaB · Free: LivreB · Format: TipoB
Total: 7,3GB · Free: 5,4GB · Format: ext4B
Total: 56MB · Free: 40MB · Format: vfatB
IP From:
crtl +c para terminar
chmod 777 ./start.sh
bem depois de testar vi que era bonito mas perferia o WEbmin
http://raspcontrol.com/download/
meter o ficheiro descarregado na pasta var tmp
ir a pasta
unzip Bioshox-Raspcontrol-b48ec2f.zip
cd Bioshox-Raspcontrol-b48ec2f
nano start.sh
onde está port=80
mudar para port=81
sudo ./start.sh
abrir o browser
http://192.168.1.171:81/
Please choose a username and password to login with
Uptime
1 hour 43 minutes 56 seconds
CPU
Loads: 1 Min: 0 ·
5 Mins: 0.11 ·
15 Mins: 0.17
CPU is running at 697.95 MHz
CPU is running at 697.95 MHz
Memory
9%
Free: 399 MB Used: 38 MB · Total: 438 MB
Swap
0%
Free: 99 MB Used: 0 MB · Total: 99 MB
Storage
Montado
Uso%
Total: TamaB · Free: LivreB · Format: TipoB
/
24%
Total: 7,3GB · Free: 5,4GB · Format: ext4B
/boot
30%
Total: 56MB · Free: 40MB · Format: vfatB
Network
Ethernet | Received: 9.88 MB · Sent: 0.66 MB · Total: 10.54 MB
Active Network Connections: 24
Active Network Connections: 24
Active Users
User: piIP From:
crtl +c para terminar
chmod 777 ./start.sh
bem depois de testar vi que era bonito mas perferia o WEbmin
Raspberry pi Instalação do PHP
sudo apt-get install php5
sudo service apache2 restart
php -v
resultado
PHP 5.4.4-7 (cli) (built: Sep 13 2012 04:23:31)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
ok
ir a pasta /var/www
criar um novo ficheiro
teste.php
codigo para o ficheiro
phpinfo();
?>
abrir um browser http://ip/teste.php
Deverá abrir
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
sudo service apache2 restart
php -v
resultado
PHP 5.4.4-7 (cli) (built: Sep 13 2012 04:23:31)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
ok
ir a pasta /var/www
criar um novo ficheiro
teste.php
codigo para o ficheiro
phpinfo();
?>
abrir um browser http://ip/teste.php
Deverá abrir
PHP Version 5.4.4-7
System | Linux raspberrypi 3.2.27+ #250 PREEMPT Thu Oct 18 19:03:02 BST 2012 armv6l |
Build Date | Sep 13 2012 01:19:39 |
Server API | Apache 2.0 Handler |
Virtual Directory Support | disabled |
Configuration File (php.ini) Path | /etc/php5/apache2 |
Loaded Configuration File | /etc/php5/apache2/php.ini |
Scan this dir for additional .ini files | /etc/php5/apache2/conf.d |
Additional .ini files parsed | /etc/php5/apache2/conf.d/10-pdo.ini |
PHP API | 20100412 |
PHP Extension | 20100525 |
Zend Extension | 220100525 |
Zend Extension Build | API220100525,NTS |
PHP Extension Build | API20100525,NTS |
Debug Build | no |
Thread Safety | disabled |
Zend Signal Handling | disabled |
Zend Memory Manager | enabled |
Zend Multibyte Support | provided by mbstring |
IPv6 Support | enabled |
DTrace Support | disabled |
Registered PHP Streams | https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip |
Registered Stream Socket Transports | tcp, udp, unix, udg, ssl, sslv3, tls |
Registered Stream Filters | zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk |
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
Raspeberry pi Apache web server
instalar o apache web server
sudo apt-get update
sudo apt-get install apache2
cd /etc/apache2
teste de browser
http://ip
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.
Rasberry upgrade
Updating linux
1. sudo apt-get update
2. sudo apt-get upgrade
Updating Raspberry Pi Firmware
1. sudo wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update && sudo chmod +x /usr/bin/rpi-update
2. sudo apt-get install git-core
3. sudo rpi-update
1. sudo apt-get update
2. sudo apt-get upgrade
Updating Raspberry Pi Firmware
1. sudo wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update && sudo chmod +x /usr/bin/rpi-update
2. sudo apt-get install git-core
3. sudo rpi-update
segunda-feira, outubro 29, 2012
Elastix+freepbx 10
Bem na versão 10 do freepbx foi removido do framework o modulo do CDR report por isso para activar novamente este modulo e preciso efectuar o download
http://mirror.freepbx.org/modules/release/2.10/cdr-2.10.0.6.tgz
e a instalação e já está a funcionar :)
http://mirror.freepbx.org/modules/release/2.10/cdr-2.10.0.6.tgz
e a instalação e já está a funcionar :)
Raspberry Pi Acelerar o apt-get update
apt-get update
costumam aparecer uma data de linhas a dizer que está a descarregar traduções, algo deste género:Ign http://archive.raspberrypi.org wheezy/main Translation-pt_PT
Ign http://archive.raspberrypi.org wheezy/main Translation-pt
Ign http://archive.raspberrypi.org wheezy/main Translation-en
se fizermos:echo 'Acquire::Languages "none";' >> /etc/apt/apt.conf
o apt-get deixa de ir buscar as traduções e melhora bastante o tempo de update.domingo, outubro 28, 2012
sexta-feira, outubro 26, 2012
Raspberry Pi Parte 2 raspi-config
A configuração
Como meu cartão era de 8 GB, a primeira coisa que fiz foi selecionar expand_rootfs. Esta opção aumenta o disco criado pela restauração da imagem para utilizar todo o cartão. Depois, eu configurei o teclado (configure_keyboard), troquei a senha do usuário pi (change_pass) e o fuso horário (change_timezone). Para sair é só selecionar Finish e dar boot.
O Pi não tem relógio permanente, ele usa um servidor de tempo para ajustar o relógio durante o boot. Configurar o fuso horário é importante por isso.
E a localização PT_PT iso 8859-1
Memory split escolhi 240MB para ARM e 16MB para
Esqueci de falar do acesso à Internet. Eu apenas liguei um cabo Ethernet que estava sobrando e o Pi fica com um IP automatico usando DHCP. O acesso fica muito fácil e no próximo boot ele já sincroniza o horário, pega um IP e fica pronto para usar a Internet ou sua rede local. Eu não tenho um cartão WiFi USB, mas se for o caso, na wiki do Raspbery Pi tem a lista dos WiFi compatíveis.
Depois Update :)
Raspi-config Explicação:
Some of the menu entries take quite a while to display. The user experience looks like its running a desktop but in fact it isn't; its using the command line and its graphics capabilities (remember VDU's?) so occasionally the screen will scroll a bit.
Other entries modify Linux configuration files, some take effect immediately, others at the next boot.
It helpfully advises you may have difficulties if you have heavily customized your installation but as this is probably the first thing a rookie is going to see the likelihood of a heavily customized installation is small.
You can run it at any time after that by typing (case sensitive):
The lovely thing about the Pi is that, if you mess up, it will not be difficult to re-image.
Televisions do not usually display the whole of the picture, they Overscan and crop off a few percent of the image. This is to hide the data signals such as teletext which use the outer lines of the picture (could be a hangover from analogue TV). Computers, including the Pi, use all the lines for real display so often the image displayed by computers on TV's is cropped.
To avoid losing the critical left column at first boot the clever Pi people have deliberately enabled Overscan and used positive Overscan vlauses to make the displayed image smaller, and to play safe much smaller. This means, depending on your monitor/TV, there may be black borders around the picture. LXDE will show the wrong resolution in its display information as it shows you the size of the framebuffer (display_size - overscan).
On some displays, particularly monitors, just disabling Overscan will make the picture fill the whole screen and correct the resolution. For other displays it may be necessary to leave overscan enabled and fiddle with Overscan values, more information here R-Pi_Troubleshooting#Big_black_borders_around_small_image_on_HD_monitors.
This menu for using different attached keyboards. Brands of keyboards are chosen first followed by other choices to set up nationality of keyboards etc.
Default is Generic 105-key (Intl) PC. If you cannot find your keyboard on the list then use one of the generic keyboards but it’s probably not a big deal if you can't find yours on the list, have fun remember you can always, change it later or re-image if you're really stuck.
The next screen regards keyboard layout. If you are not using the first choice of English UK select Other and you will be faced with a long list of other national keyboards. Funnily enough this list includes English UK.
Next screen is quite well documented on the screen you're probably going to run with one of the top two choices. These are:
Next screen; well if your using a standard keyboard then you probably don’t have a compose key and if your new to computing as intended you're not likely to need one for a while so I would suggest choosing
If you choose to boot to the command line (see later) then after login the Pi will tell you that you can run startx. Startx is the command to run the windows (like) screen where you use a mouse to select options.
This is the X server and to get back to command line (that’s all the typed stuff) you can use [Ctrl][Alt][Backspace] all pressed at the same time to shut down this X server screen; you can always restart it by typing “startx”. Always handy if you have a flaky mouse or are using a wireless mouse that eats batteries.
Of course this is pointless if you don’t remember the key combination when the time comes!
If you screw this up be prepared to re-image and lose any work you have done and programs installed (you did back up your data didn't you). With Linux and Unix forgotten passwords are a killer the Raspberry Pi is one of the simpler systems. Let's face it till you know what your looking at, the out of the box solution of pi and raspberry are probably all you will need.
You can tell this was written by a computer engineer and not a human how about this as an alternative.
change_locale Tell the computer if you need non English characters.
Sheesh! a computer aimed at children and new users and then you expect them to know what locale means (Google's your friend?).
This menu option gives you a massive list of choices that look like they were written by one of the infinite monkeys of legend (goggle infinite monkeys Shakespeare if you don’t understand this reference).
The default setting is
You can select multiple choices in the list the space bar toggles them on and off (this was the exception I mentioned earlier) and it’s a long list. Basically if you want to work in more than one language then you will need to make other choices from this list based on the languages you intend to use.
If you are working in English only the default choice is probably the only one you will need.
This is where you setup your clock; now it’s no big issue if it’s wrong it just means the date and time assigned to files you create (automatically when you make them) will be out and its not hard to set this up. (What is the effect if you are not connected to the internet and don't have time set with ntp?)
The set up consists of two layers basically to make your selection easier to find.
First option screen think Continent; just to confuse things you have US and America because we all know USA is not part of America. Actually the US option just gives you a shorter list containing the US time zones that are included in the American list; they just made a shorter list under US for all those Good Old Boy American Citizens who don’t know about American places outside of the USA. (flames imminent!).
SystemV relies on you knowing what SystemV is (Think Unix and ignore it for now).
Most people know where they are in the world for time zone; for me it’s Europe then London on the next screen but I’ve always been of the opinion that there should be ropes and lights around the M25 with signs saying “Danger hole in the world Keep Out” but then I’m not from London and the M25 was always the road to hell.
Three choices 32MiB for Videocore, 64MiB for Videocore, 128MiB for Videocore. First time users should leave it at the default 64MiB for the Videocore. There is more information on when to use the different options here RPi_Advanced_Setup. You can change it with raspi-config and it will take effect at the next reboot (check).
Now let’s assume your really fresh to writing code, as in never done this before ever. You're not going to be writing really complex Artificial Intelligence type programs and your also unlikely to be running cutting edge real time first person shooter games not yet anyways. I like the idea of having 128 meg for graphics. As a new programmer your not likely to push graphics unless you want to do something with photos or live streaming (Watching Live TV on your Pi).
This option enables or disables the ssh server, a program which sits quietly in the Pi looking for ssh connections from other computers. The default setting is on and there's little reason for a new user to change this unless your home network has hostile users or is open to the Internet.
ssh means 'secure shell'. It is a communication protocol which will allow you to log into the Pi from another computer on your network using a program like Putty to provide a command line interface in a terminal window.
Putty is free and available to download. It’s free Open source and runs on both Windows and Linux. You actually don't need Putty on Linux and Mac, because you can use the built-in ssh client in the Linux and Mac terminals. Just open a terminal and type 'ssh ipAddress' (replacing ipAdress with the ip of your Raspberry Pi).
This option allows access to the Pi without a monitor attached to the Pi. OK it’s easier if you have one but let’s say you want to do some command line stuff and your partner/brother/sister whatever wants to use the TV for Corrie or suchlike. Its particularly useful for starting a VNC server on the Pi so you can use the Pi's desktop on another computer. More details here [2]
Using Putty or the like is pretty straightforward. You will need to know the IP address of the Pi, either by watching the startup output as it scrolls by, typing sudo ifconfig at the Pi's command line or terminal window, or looking at your router. The IP address is dynamic and can change, particularly if you have not used the Pi for a day or so.
However if you are using everything from the box as is. That is to say you have your HDMI connected to a TV and a Keyboard and Mouse on the Pi and you have the menu running then I suggest you could disable ssh just to be on the safe side security wise(note just a suggestion).
DESKTOP When powered up the Pi will automatically log you in as pi user and display the desktop. Pressing the red Exit button on the right hand side of the screen will give the options to logout, shutdown or reboot. Logout returns to a login screen not to the command line. The command line is only accessible through a terminal window. The experience is very Windoze like, you may not need any linux commands ever, and its very quick to get to the desktop, its main downside being that since you are automatically logged in at power up there is no protection from hostile users in your household.
COMMAND LINE When powered up the Pi stays in the command line (the big black screen). After lots of scrolling text you will be asked for your username and password. If this is successful information about the last Login is displayed which is useful for finding out if it was you, your son/daughter/grandmother/cat that was the last to login and screw up your Pi.
Then you see the standard copyright and NO WARRANTY message the latter just legalese for “your doing this at your own risk” that kind of goes without saying.
Then the key line.
If on the other hand you want to play in the rarefied atmosphere of the command line environs then type away. You are in the home directory of the pi user; typing ls followed by [enter] will display its files and directories. Directories are in blue so type cd python_games then ls to change folder and display its contents. When you have finished don't forget to type sudo halt and wait until 'System Halted' is displayed before pulling the plug.
We could get into the Catch 22 situation where a bug is introduced into raspi-config that stopped it working. This option runs the apt-get commands to update the raspi-config software from a remote repository. You will need to be connected to the internet to use it.
Use this when you have completed your changes. You will be asked
whether you want to reboot or not. When used for the first time its best
to reboot. This should restart your Pi. Scrolling text should appear
immediately and there will be a pause if you have chosen to resize your
SD card.
Como meu cartão era de 8 GB, a primeira coisa que fiz foi selecionar expand_rootfs. Esta opção aumenta o disco criado pela restauração da imagem para utilizar todo o cartão. Depois, eu configurei o teclado (configure_keyboard), troquei a senha do usuário pi (change_pass) e o fuso horário (change_timezone). Para sair é só selecionar Finish e dar boot.
O Pi não tem relógio permanente, ele usa um servidor de tempo para ajustar o relógio durante o boot. Configurar o fuso horário é importante por isso.
E a localização PT_PT iso 8859-1
Memory split escolhi 240MB para ARM e 16MB para
Esqueci de falar do acesso à Internet. Eu apenas liguei um cabo Ethernet que estava sobrando e o Pi fica com um IP automatico usando DHCP. O acesso fica muito fácil e no próximo boot ele já sincroniza o horário, pega um IP e fica pronto para usar a Internet ou sua rede local. Eu não tenho um cartão WiFi USB, mas se for o caso, na wiki do Raspbery Pi tem a lista dos WiFi compatíveis.
Depois Update :)
Raspi-config Explicação:
The raspi-config
When you start your Pi for the first time using the Wheezy image then, following lots of scrolling text with a couple of pauses lasting in total a few tens of seconds, the raspi-config menu will appear. It has the following entries:info Information about this tool expand-rootfs Expand root partition to fill SD card overscan Change overscan configure-keyboard Set keyboard layout change_pass Change password for ‘pi’ user change_locale Set locale change_timezone Set timezone memory_split Change memory split ssh Enable or disable ssh server boot_behaviour Start desktop on boot? update Try to upgrade raspi-config
Moving Around the Menu
At any point from within any of the menu or sub-menu options the Tab key will toggle about the selected entry and the options at the bottom inside angle brackets, cursor keys move up and down menus. There is an exception to this and that’s with the change_locale option, ignore that exception for now it’s covered later.Some of the menu entries take quite a while to display. The user experience looks like its running a desktop but in fact it isn't; its using the command line and its graphics capabilities (remember VDU's?) so occasionally the screen will scroll a bit.
What raspi-config does
Some menu entries modify the file /boot/config.txt. This file, out of the box, contains a number of commented out configuration entries; raspi-config adds entries at the end of this file. You can see what raspi-config has done to the file by viewing it on the Pi using Leafpad and, if you really mess things up you can edit the file from the SD card using Notepad on a Windows PC. More information on editing config.txt here R-Pi_ConfigurationFileOther entries modify Linux configuration files, some take effect immediately, others at the next boot.
INFO - Information About This Tool
This would be really helpful if it actually explained the options in the menu, hopefully at least it will provide a reference to this Wiki page.It helpfully advises you may have difficulties if you have heavily customized your installation but as this is probably the first thing a rookie is going to see the likelihood of a heavily customized installation is small.
Running raspi-config another time
Following the first boot, your raspberry pi will boot into the command prompt or desktop (depending on your choice).You can run it at any time after that by typing (case sensitive):
sudo raspi-configAt the command line or in a terminal window. The sudo (do as superuser) is necessary because you will be changing files that you as user pi do not own, its Debian's way of providing a root login.
The lovely thing about the Pi is that, if you mess up, it will not be difficult to re-image.
Menu Options
EXPAND-ROOTFS - Expand Root Partition to Fill SD Card
This does what it says on the tin so if you have installed Wheezy on a 4GB or greater card use this option and AFTER REBOOT it will use all of the SD card. The Wheezy image takes nearly 2GB so if you are going to install additional software or large files its worth doing, however you don't need to do it on first boot. The downside of using all of a larger card is that it takes much longer to backup the image.OVERSCAN - Change Overscan
What would you like to do with overscanAny changes will take effect after a reboot. If you change a setting and end up losing the left side of the screen you can easily edit /boot/config.txt on a PC to undo the changes.
Televisions do not usually display the whole of the picture, they Overscan and crop off a few percent of the image. This is to hide the data signals such as teletext which use the outer lines of the picture (could be a hangover from analogue TV). Computers, including the Pi, use all the lines for real display so often the image displayed by computers on TV's is cropped.
To avoid losing the critical left column at first boot the clever Pi people have deliberately enabled Overscan and used positive Overscan vlauses to make the displayed image smaller, and to play safe much smaller. This means, depending on your monitor/TV, there may be black borders around the picture. LXDE will show the wrong resolution in its display information as it shows you the size of the framebuffer (display_size - overscan).
On some displays, particularly monitors, just disabling Overscan will make the picture fill the whole screen and correct the resolution. For other displays it may be necessary to leave overscan enabled and fiddle with Overscan values, more information here R-Pi_Troubleshooting#Big_black_borders_around_small_image_on_HD_monitors.
CONFIGURE-KEYBOARD - Set keyboard layout
Slow to display and, if you select some of the non-default options, there will be a short delay while changes are made. Changes take effect immediately except for changes to X-server exit which require a reboot.This menu for using different attached keyboards. Brands of keyboards are chosen first followed by other choices to set up nationality of keyboards etc.
Default is Generic 105-key (Intl) PC. If you cannot find your keyboard on the list then use one of the generic keyboards but it’s probably not a big deal if you can't find yours on the list, have fun remember you can always, change it later or re-image if you're really stuck.
The next screen regards keyboard layout. If you are not using the first choice of English UK select Other and you will be faced with a long list of other national keyboards. Funnily enough this list includes English UK.
Next screen is quite well documented on the screen you're probably going to run with one of the top two choices. These are:
The default for the keyboard layoutOr
No AltGr keyTo be honest if this is your first setup and you get this wrong it’s not going to break the bank and as I keep saying if in doubt re-image and start again.
Next screen; well if your using a standard keyboard then you probably don’t have a compose key and if your new to computing as intended you're not likely to need one for a while so I would suggest choosing
No compose keyThe next screen is a useful one and the on screen documentation is actually quite clear provided you know what is meant by “X server” so here’s an outline:
If you choose to boot to the command line (see later) then after login the Pi will tell you that you can run startx. Startx is the command to run the windows (like) screen where you use a mouse to select options.
This is the X server and to get back to command line (that’s all the typed stuff) you can use [Ctrl][Alt][Backspace] all pressed at the same time to shut down this X server screen; you can always restart it by typing “startx”. Always handy if you have a flaky mouse or are using a wireless mouse that eats batteries.
Of course this is pointless if you don’t remember the key combination when the time comes!
CHANGE_PASS - Change password for ‘pi’ user
The default user for the Wheezy install is pi and its password is raspberry. Until you're familiar with the setup it’s probably better to leave this password as it is at least till you are happy changing stuff. In addition you can re-run raspi-config to change it at any time.If you screw this up be prepared to re-image and lose any work you have done and programs installed (you did back up your data didn't you). With Linux and Unix forgotten passwords are a killer the Raspberry Pi is one of the simpler systems. Let's face it till you know what your looking at, the out of the box solution of pi and raspberry are probably all you will need.
CHANGE_LOCALE - Set locale
Slow to start up and there will be a delay while locales are generated.You can tell this was written by a computer engineer and not a human how about this as an alternative.
change_locale Tell the computer if you need non English characters.
Sheesh! a computer aimed at children and new users and then you expect them to know what locale means (Google's your friend?).
This menu option gives you a massive list of choices that look like they were written by one of the infinite monkeys of legend (goggle infinite monkeys Shakespeare if you don’t understand this reference).
The default setting is
en_GB UTF-8 UTF-8 (ain't it nice to have a UK produced computer!)English, Great Britain and UTF-8 is a code related to showing all of the characters usually needed to show English letters and other symbols on the screen. If you are working in some other language than English then you will probably need to play around with this.
You can select multiple choices in the list the space bar toggles them on and off (this was the exception I mentioned earlier) and it’s a long list. Basically if you want to work in more than one language then you will need to make other choices from this list based on the languages you intend to use.
If you are working in English only the default choice is probably the only one you will need.
CHANGE_TIMEZONE - Set timezone
Slow to display.This is where you setup your clock; now it’s no big issue if it’s wrong it just means the date and time assigned to files you create (automatically when you make them) will be out and its not hard to set this up. (What is the effect if you are not connected to the internet and don't have time set with ntp?)
The set up consists of two layers basically to make your selection easier to find.
First option screen think Continent; just to confuse things you have US and America because we all know USA is not part of America. Actually the US option just gives you a shorter list containing the US time zones that are included in the American list; they just made a shorter list under US for all those Good Old Boy American Citizens who don’t know about American places outside of the USA. (flames imminent!).
SystemV relies on you knowing what SystemV is (Think Unix and ignore it for now).
Most people know where they are in the world for time zone; for me it’s Europe then London on the next screen but I’ve always been of the opinion that there should be ropes and lights around the M25 with signs saying “Danger hole in the world Keep Out” but then I’m not from London and the M25 was always the road to hell.
MEMORY_SPLIT - Change memory split
This allows you to choose how much of the RAM memory is set aside for the Broadcom Graphics Processing Unit (Videocore) and how much for the operation of the main ARM processor.Three choices 32MiB for Videocore, 64MiB for Videocore, 128MiB for Videocore. First time users should leave it at the default 64MiB for the Videocore. There is more information on when to use the different options here RPi_Advanced_Setup. You can change it with raspi-config and it will take effect at the next reboot (check).
Now let’s assume your really fresh to writing code, as in never done this before ever. You're not going to be writing really complex Artificial Intelligence type programs and your also unlikely to be running cutting edge real time first person shooter games not yet anyways. I like the idea of having 128 meg for graphics. As a new programmer your not likely to push graphics unless you want to do something with photos or live streaming (Watching Live TV on your Pi).
SSH - Enable or disable ssh server
This change takes effect when???This option enables or disables the ssh server, a program which sits quietly in the Pi looking for ssh connections from other computers. The default setting is on and there's little reason for a new user to change this unless your home network has hostile users or is open to the Internet.
ssh means 'secure shell'. It is a communication protocol which will allow you to log into the Pi from another computer on your network using a program like Putty to provide a command line interface in a terminal window.
Putty is free and available to download. It’s free Open source and runs on both Windows and Linux. You actually don't need Putty on Linux and Mac, because you can use the built-in ssh client in the Linux and Mac terminals. Just open a terminal and type 'ssh ipAddress' (replacing ipAdress with the ip of your Raspberry Pi).
This option allows access to the Pi without a monitor attached to the Pi. OK it’s easier if you have one but let’s say you want to do some command line stuff and your partner/brother/sister whatever wants to use the TV for Corrie or suchlike. Its particularly useful for starting a VNC server on the Pi so you can use the Pi's desktop on another computer. More details here [2]
Using Putty or the like is pretty straightforward. You will need to know the IP address of the Pi, either by watching the startup output as it scrolls by, typing sudo ifconfig at the Pi's command line or terminal window, or looking at your router. The IP address is dynamic and can change, particularly if you have not used the Pi for a day or so.
However if you are using everything from the box as is. That is to say you have your HDMI connected to a TV and a Keyboard and Mouse on the Pi and you have the menu running then I suggest you could disable ssh just to be on the safe side security wise(note just a suggestion).
BOOT_BEHAVIOR - Start Desktop on Boot?
This gives you two modes of working:DESKTOP When powered up the Pi will automatically log you in as pi user and display the desktop. Pressing the red Exit button on the right hand side of the screen will give the options to logout, shutdown or reboot. Logout returns to a login screen not to the command line. The command line is only accessible through a terminal window. The experience is very Windoze like, you may not need any linux commands ever, and its very quick to get to the desktop, its main downside being that since you are automatically logged in at power up there is no protection from hostile users in your household.
COMMAND LINE When powered up the Pi stays in the command line (the big black screen). After lots of scrolling text you will be asked for your username and password. If this is successful information about the last Login is displayed which is useful for finding out if it was you, your son/daughter/grandmother/cat that was the last to login and screw up your Pi.
Then you see the standard copyright and NO WARRANTY message the latter just legalese for “your doing this at your own risk” that kind of goes without saying.
Then the key line.
Type ‘startx’ to launch graphical sessionSo, if at this point you type startx followed by hitting the Enter key you will be launched headlong into a windows style environment. When you have finished work Logout using the red Exit button (bottom right). Since you started from the command line this menu has only the Logout option which takes you back to the command line. To halt you must type sudo halt or to reboot sudo reboot. For halting wait until 'System Halted' is displayed before pulling the plug.
If on the other hand you want to play in the rarefied atmosphere of the command line environs then type away. You are in the home directory of the pi user; typing ls followed by [enter] will display its files and directories. Directories are in blue so type cd python_games then ls to change folder and display its contents. When you have finished don't forget to type sudo halt and wait until 'System Halted' is displayed before pulling the plug.
UPDATE - Try to upgrade raspi-config
Unless there have been recommendations on the forum by someone from the core volunteer team to use this, don't.We could get into the Catch 22 situation where a bug is introduced into raspi-config that stopped it working. This option runs the apt-get commands to update the raspi-config software from a remote repository. You will need to be connected to the internet to use it.
References
Raspberry Pi
Bem chegou hoje o meu Raspberry Pi 512MB :)~
Para começar fui comprar um cartão SD de 8 GB não vá o espaço falta optei por um Transcend SDHC Classe 10
Download do win32 Disk Imager
Verificação do sha-1 da imagem não vá ter ficado alguma informação por ai...
Verificação da imagem tudo ok
hash SHA-1 3bc788d447bc88feaae8382d61364eaba1088e78
Depois fazer um write da img no cartão não esquecer de tirar o lock :)
Aguardar...
Terminada a escrita remover o cartão e inseri-lo no raspberryPi
Para começar fui comprar um cartão SD de 8 GB não vá o espaço falta optei por um Transcend SDHC Classe 10
Com as seguintes características
Comprado na DCI :)
Next Chegar a casa e efectuar download da versão
Raspbian “wheezy”
Verificação do sha-1 da imagem não vá ter ficado alguma informação por ai...
Verificação da imagem tudo ok
hash SHA-1 3bc788d447bc88feaae8382d61364eaba1088e78
Depois fazer um write da img no cartão não esquecer de tirar o lock :)
Terminada a escrita remover o cartão e inseri-lo no raspberryPi
quinta-feira, outubro 25, 2012
The party you are trying to reach does not accept unidentified calls
Fixed The party you are trying to reach does not accept unidentified calls
Neste caso para poder aceitar todas as chamadas Privacy Manager deve ficar na opcção No
- Select "PBX | PBX Settings" from the Web GUI Admin Mode menu.
- Click "Inbound Routes".
- Click the existing "any DID / any CID" incoming route.
- Under "Privacy", change from "Privacy Manager" from "No" to "Yes".
Click "Submit". - Click the orange "Apply Configuration Changes" in the upper left.
Neste caso para poder aceitar todas as chamadas Privacy Manager deve ficar na opcção No
quarta-feira, outubro 24, 2012
Error: wanpipe configuration file not found: /etc/wanpipe/wanpipe1.conf
Error: wanpipe configuration file not found: /etc/wanpipe/wanpipe1.conf
Este erro aparece no Boot do arranque do CentoOs /Elastix / Freepbx
para corriguir este erro
chkconfig wanrouter off
service network restart
Este erro aparece no Boot do arranque do CentoOs /Elastix / Freepbx
para corriguir este erro
chkconfig wanrouter off
service network restart
retrieve_conf failed to sym link:
retrieve_conf failed to sym link:
/etc/asterisk/features.conf from core/etc (Already exists, not a link)
This can result in FATAL failures to your PBX. If the target file exists and not identical, the symlink will not occur and you should rename the target file to allow the automatic sym link to occur and remove this error, unless this is an intentional customization.
Added 22 minutes ago
(retrieve_conf.SYMLINK)
Para corriguir entrar no servidor via ssh
e efectuar os seguintes comandos
rm -rf /etc/asterisk/logger.conf
ln -s /var/www/html/admin/modules/core/etc/logger.conf /etc/asterisk/logger.conf
amportal reload
Cronmanager encountered 1 Errors
Cronmanager encountered 1 Errors
Delete this
The following commands failed with the listed error
/var/lib/asterisk/bin/module_admin listonline (255)
Added 4 hours, 20 minutes ago
(cron_manager.EXECFAIL)
Para corriguir este erro basta liga-se ao servidor freepbx via ssh
e executar o comando
chmod 777 /var/lib/asterisk/bin/module_admin
Delete this
The following commands failed with the listed error
/var/lib/asterisk/bin/module_admin listonline (255)
Added 4 hours, 20 minutes ago
(cron_manager.EXECFAIL)
Para corriguir este erro basta liga-se ao servidor freepbx via ssh
e executar o comando
chmod 777 /var/lib/asterisk/bin/module_admin
terça-feira, outubro 16, 2012
sábado, outubro 13, 2012
terça-feira, outubro 09, 2012
Facebook Privacy Fail Could Expose 500 Million Mobile Phone Numbers
If you have included your mobile phone number in your Facebook
contact information, then you’ll be interested in a major security flaw
discovered by Suriya Prakash.
Many people reluctantly give up their mobile number to Facebook to enable login approvals, self-included. As you can see in the image shown below, I have my phone number set to ‘Only Me.’

In a perfect world, my phone number would be safe from hackers, scammers and other prying eyes on Facebook, but that is not the case. There is a sneaky, conflicting privacy setting that overrides this one.
Located in your Privacy Settings under “How You Connect” the following option appears:
“Who can look you up using the email address or phone number you provided?”
This option is set to “Everyone” by default! As noted by Prakash, there is not an option to totally restrict access to this information – the best you can do is set the option to ‘Friends.’

Even more worrisome is the fact that Prakash was able to write and execute a script to collect usernames and phone numbers of random Facebook members. He estimated that a hacker could use a botnet to obtain the data of all affected accounts in only a couple of days.
Prakash notified Facebook about the flaw, and it appears Facebook didn’t fully comprehend the issue. They further stated that it was the user’s responsibility to make sure they couldn’t be found based on their phone number provided. Facebook also claimed the attack wasn’t a serious threat because ‘rate limiting’ controls are in place to impede a hacker’s efforts. Surprisingly, Prakash bypassed the rate limiting measure by simply using the mobile version of Facebook.
Prakash claims he has reached out to Facebook five times on this issue, and they refuse to fix or even acknowledge the bug, so he decided to go public with his findings.
Prakash believes that up to 500 million users could be affected by this vulnerability.
Until this issue is appropriately corrected by Facebook by adding the ‘Only Me’ option in the privacy settings, users are encouraged to set the option to ‘Friends.’ You could also bypass the extra layer of security provided by login approvals and remove your mobile number altogether.
Link https://www.facebook.com/settings/?tab=privacy
Many people reluctantly give up their mobile number to Facebook to enable login approvals, self-included. As you can see in the image shown below, I have my phone number set to ‘Only Me.’
In a perfect world, my phone number would be safe from hackers, scammers and other prying eyes on Facebook, but that is not the case. There is a sneaky, conflicting privacy setting that overrides this one.
Located in your Privacy Settings under “How You Connect” the following option appears:
“Who can look you up using the email address or phone number you provided?”
This option is set to “Everyone” by default! As noted by Prakash, there is not an option to totally restrict access to this information – the best you can do is set the option to ‘Friends.’
Even more worrisome is the fact that Prakash was able to write and execute a script to collect usernames and phone numbers of random Facebook members. He estimated that a hacker could use a botnet to obtain the data of all affected accounts in only a couple of days.
Prakash notified Facebook about the flaw, and it appears Facebook didn’t fully comprehend the issue. They further stated that it was the user’s responsibility to make sure they couldn’t be found based on their phone number provided. Facebook also claimed the attack wasn’t a serious threat because ‘rate limiting’ controls are in place to impede a hacker’s efforts. Surprisingly, Prakash bypassed the rate limiting measure by simply using the mobile version of Facebook.
Prakash claims he has reached out to Facebook five times on this issue, and they refuse to fix or even acknowledge the bug, so he decided to go public with his findings.
Prakash believes that up to 500 million users could be affected by this vulnerability.
Until this issue is appropriately corrected by Facebook by adding the ‘Only Me’ option in the privacy settings, users are encouraged to set the option to ‘Friends.’ You could also bypass the extra layer of security provided by login approvals and remove your mobile number altogether.
Link https://www.facebook.com/settings/?tab=privacy
segunda-feira, outubro 08, 2012
Aceita-se...
Será que alguém me quer oferecer uma pirâmide destas?
Ps é que 1,5 TB já considero pouco espaço :(
E era um belo upgrade para o meu pc :$
Ps é que 1,5 TB já considero pouco espaço :(
E era um belo upgrade para o meu pc :$
Office 2003 - Mensagem que o arquivo SKU011.CAB não foi encontrado.
[Problemas com o arquivo sku011.cab]
1) Vá para o editor de registro do Windows (Iniciar / Executar / regedit / aperte OK);
2) Navegue até a chave HKEY_LOCAL_MACHINE, Software, Microsoft, Office, 11.0, Delivery;
3) Deve existir 1 diretório (pasta) abaixo do registro "Delivery", que é o seu DownloadCode (no meu caso era 90110416-6000-11D3-8CFE-0150048383C9). Selecione esse diretório;
4) No painel direito da tela, mude o valor da chave "CDCache" de 2 (normalmente) para 0 (zero);
1) Vá para o editor de registro do Windows (Iniciar / Executar / regedit / aperte OK);
2) Navegue até a chave HKEY_LOCAL_MACHINE, Software, Microsoft, Office, 11.0, Delivery;
3) Deve existir 1 diretório (pasta) abaixo do registro "Delivery", que é o seu DownloadCode (no meu caso era 90110416-6000-11D3-8CFE-0150048383C9). Selecione esse diretório;
4) No painel direito da tela, mude o valor da chave "CDCache" de 2 (normalmente) para 0 (zero);
quarta-feira, outubro 03, 2012
O Ciclo do Azoto
Contudo, existe
um factor que deve ser tido em conta, no início de qualquer montagem: o ciclo
do Azoto. Neste artigo serão descritas as várias etapas do ciclo do Azoto, de
uma forma sucinta e alguns aspectos aos quais deveremos ter muita atenção para
que evitemos as mortes indesejadas da nossa fauna.
A matéria
orgânica presente num aquário, proveniente dos excrementos da fauna, de folhas
mortas e até dos restos de comida (todos compostos à base de Azoto), é
decomposta numa molécula altamente tóxica para a maioria da fauna: a Amónia (NH3).
Basicamente, pode definir-se o ciclo do Azoto como o processo biológico que
converte a Amónia noutros, relativamente inofensivos, compostos de azoto. Esta
conversão é feita através da acção de bactérias (que estão presentes tanto no
substrato, como nas matérias filtrantes existentes nos filtros dos nossos
aquários). Existem, fundamentalmente, dois grupos de bactérias. As que
transformam a Amónia em Nitritos (NO2) e as que transformam os
Nitritos em Nitratos (NO3).
Num aquário
novo, com filtro novo onde não existe qualquer colónia destas bactérias, podem
ser introduzidos 1 ou 2 peixes resistentes (não sensíveis à Amónia) para que se
dê inicio ao processo do ciclo do Azoto. Nesta fase é bastante importante não
dar excesso de comida aos peixes, uma vez que, mais comida significa mais
Amónia!
Durante o
processo do ciclo do Azoto, os níveis de Amónia vão subir e, à medida que as
colónias de bactérias que formam os Nitritos se desenvolvam, estes valores
tendem a descer. As bactérias que formam os Nitratos só começam a aparecer
quando houver Nitritos presentes em quantidade suficiente, logo, os níveis de
Nitritos vão aumentar à medida que a Amónia acumulada for convertida. Quando as
bactérias que formam os nitratos tiverem as suas colónias estabelecidas, os
níveis de Nitratos vão começar a subir. Eis em funcionamento o ciclo do Azoto!
Para serem monitorizados os valores
descritos no gráfico, existem vários testes, especializados para aquariofilia,
que podem e devem ser utilizados.
O ciclo do Azoto demora normalmente
entre 2 a 6 semanas. A temperaturas mais baixas, abaixo de 21°C, este processo
pode ser mais lento, uma vez que a temperatura é um dos factores essenciais
para o desenvolvimento das bactérias.
Considerando que os níveis de
Nitratos continuam a aumentar gradualmente e que esta substância pode ser
prejudicial para os peixes em grandes concentrações, existem formas de a
eliminarmos do nosso aquário.
Uma das formas de eliminarmos os
Nitratos é através da adição de plantas. O metabolismo das plantas necessita de
grandes quantidades de Azoto. As plantas conseguem sintetizar o Azoto presente
nos Nitratos em açucares, o seu alimento. Assim, num aquário com plantas de
crescimento rápido (maiores consumidoras) os níveis de Nitratos podem ser
mantidos constantes, pois à medida que são produzidos pelas bactérias, são
consumidos de seguida pelas plantas.
Outra forma de baixar os níveis de
Nitratos (e de todos as outras substâncias tóxicas para a fauna, como é exemplo
a Amónia) é através das trocas de água. Uma troca de água parcial, de cerca de
20-30% do volume de água do aquário, é uma ajuda preciosa para normalizar os
valores destas substâncias. Caso seja difícil estabilizar as concentrações, o
volume da troca de água poderá aumentar, ou então poderá aumentar-se
regularidade com que esta é feita. Normalmente, é suficiente uma troca parcial
de água por semana. Mas isto não é uma regra fixa, dependerá, obviamente, das
características do aquário (volume, existência de plantas) e da fauna que lá
colocamos.
Texto Por: Hugo Saldanha
http://aquariofiliaeaquapaisagismo.blogspot.pt/
My Book Live config quando começa a dar Erros
1 ª passo: Aceder ao My Book Live e fazer update ao firmware para a última versão
2 Activar o SSH http://mybooklive/UI/ssh
3 Aceder tem que se deixar a pagina aberta senão a sessão cai.
4 credenciais
root
password welc0me
assim caso já tenham lá alojados alguns dados não os perdem
run /usr/local/sbin/factoryRestore.sh noreformat
reboot
E de já corrigido o problema
Depois é configurar normalmente.
segunda-feira, outubro 01, 2012
TPA – Troca Parcial de Água
A troca parcial de água, vulgarmente conhecida como TPA, é uma forma
simples e prática de eliminarmos, ou baixarmos a concentração, das substâncias
tóxicas que estão presentes no nosso aquário, nomeadamente a Amónia, os
Nitratos, entre outras.
Este processo, como descrito no artigo anterior, consiste na troca de uma
percentagem da água do aquário por água nova.
Salvo casos excepcionais, as TPAs não devem ser maiores que 30%. A sua
frequência varia de aquário para aquário, consoante alguns factores: volume
total do aquário (aquários mais pequenos precisam de TPAs mais frequentes, uma
vez que as concentrações prejudiciais são facilmente atingidas); mortes (neste
caso, sempre que existam, é aconselhável uma TPA); tratamentos (após
tratamentos, deve fazer-se uma ou várias TPAs); níveis de Nitratos (assim que
os nitratos atingem os valores de 50 mg/l, deve fazer-se uma TPA).
A primeira TPA deve ser feita somente quando o ciclo do Azoto estiver
completo (pico de Nitratos).
Existem várias técnicas para se fazer a TPA, desde sistemas elaborados de
gota a gota, até aos sistemas normais com mangueira e garrafão (o que eu
utilizo). De seguida serão descritos alguns aspectos a ter em conta para se
fazer uma TPA da forma mais simples.
Figura 1 – Material utilizado na TPA
1: Preparar a água nova: Geralmente, utiliza-se
a água da torneira para colocar no aquário. Esta água é tratada com Cloro, uma
substância tóxica para a fauna. Assim, deve deixar-se a água repousar cerca de
24 horas num recipiente aberto para que o Cloro evapore. Os recipientes
utilizados devem ser exclusivos para este processo. Não devem ser utilizados baldes
ou similares que sejam utilizados nas limpezas pois contém substâncias muito
tóxicas.
Figura
2 – Colocação da mangueira para retirar água do aquário
2: Retirar água do aquário: Este
processo pode ser feito de várias formas. A mais simples é utilizando uma
mangueira de nível e um garrafão. Como, normalmente, os aquários estão
colocados a alguma altura do solo, podemos aproveitar a força da gravidade para
nos ajudar a retirar a água. Para isso basta mergulhar uma ponta da mangueira
dentro de água e na outra ponta provocar um efeito de sucção (cuidado para não
engolir água do aquário). Deve ter-se muito cuidado para não se sugar nenhum
peixe!
3: Introdução da água nova: Embora
não seja um processo complicado, devem ser tidos em conta alguns aspectos. A água
nova deverá ter os parâmetros similares aos da água que está no aquário, tendo
em atenção o pH (existem espécies muitos sensíveis às variações de pH que podem
ser fatais) e à temperatura (os choques térmicos, principalmente no Inverno,
também podem ser fatais). Para evitar stress nos habitantes do aquário, o
processo de introdução da água nova deve ser lento e sem criar turbulência na
água.
Texto Por: Hugo Saldanha
Reposição do Sistema Operativo (SO) nos Magalhães 2
Nos novos computadores Magalhães a reposição do SO dispensa a utilização da 'pen de reposição'.
No arranque do computador quando se deve seleccionar o SO se pressionar as teclas CTRL+G, conseguirá aceder às opções de reposição.
Em ambos os SO (Windows ou Caixa Mágica), no 'Ambiente de Trabalho' existe um manual completo do Magalhães que contém toda a informação sobre configurações, controlo parental, reposição e resolução de alguns problemas (o manual que está em cada sistema operativo é referente ao próprio SO).