Hello guys,how to install quickly and easly asterisk ??
Use Asterisk Now or FreePBX!
While those are fine distros, those aren’t the same thing as Asterisk itself. Assuming the OP wanted to know how to install Asterisk, installing FreePBX isn’t going to answer their question.
Though I highly recommend installing Asterisk from source, if you have an Ubuntu server installed, you could just install the following…
apt-get install mysql-server mysql-client unixODBC unixODBC-dev libmyodbc php5 php5-cli php5-mysql phpmyadmin
apt-get install dahdi-firmware-nonfree asterisk asterisk-config asterisk-core-sounds-en asterisk-core-sounds-en-g722 asterisk-core-sounds-en-gsm asterisk-core-sounds-en-wav asterisk-dahdi asterisk-dbg asterisk-dev asterisk-doc asterisk-modules asterisk-moh-opsound-g722 asterisk-moh-opsound-gsm asterisk-moh-opsound-wav asterisk-mysql asterisk-voicemail-odbcstorage dahdi dahdi-dkms dahdi-linux dahdi-source
This should install everything you need to get a single server up and running with the option of using realtime. For more granular (albeit slightly more complex) installation, install from source. For failover, you could use heartbeat with corosync or pacemaker, or simply keepalived. For replication, you can use mysql’s replication or DRBD.