Archive:FreePBX Distribution: Difference between revisions
m Sam moved page Asterisk VoIP Server to AsteriskNOW!: Complete system change |
Started update section, added section for first time web interface run |
||
| Line 84: | Line 84: | ||
# Once finished, it will leave you at the command prompt. Type '<code>root</code>' for the username and the password you selected during install for password. | # Once finished, it will leave you at the command prompt. Type '<code>root</code>' for the username and the password you selected during install for password. | ||
# That's it, AsteriskNOW! is installed! | # That's it, AsteriskNOW! is installed! | ||
== First time run of the web interface == | |||
== Updating the server == | |||
=== Updating the distribution === | |||
The latest version of AsteriskNOW! available from the website is not the latest version of the distribution. The distribution must be updated manually to get up to the latest version. | |||
We will start off on the 6.12.65 track. As of 31st December 2015, this has reached its End of Life. We will be upgrading to the 10.13.66 track which is the latest. | |||
# Login to your system as root with SSH or go to the Virtual Machine Manager, open the machine and login. | |||
# Type <code>cd ~</code>. This will take you to the home directory where we can download. | |||
# Type <code>mkdir upgradescripts</code> then <code>cd upgradescripts</code>. This will make a new directory and take you into the new directory. | |||
# Type <code>wget http://upgrades.freepbxdistro.org/stable/6.12.65/upgrade-6.12.65-100.sh</code>. This will download the script to update the distribution to the new track. | |||
# Type <code>chmod +x upgrade-6.12.65-100.sh</code>. This changes the permissions so we can execute the file. | |||
# Type <code>./upgrade-6.12.65-100.sh</code> to run the script. | |||
# While the script is running, you may see some errors. These are normal and as long as the script runs through to the end, you can safely ignore these. | |||
# When the script is finished, it will say <code>REBOOT YOUR BOX NOW</code>. Follow these instructions and type <code>reboot</code>. | |||
#: Once the machine has rebooted, we will need to update to the latest version of the track (At the time of writing, it was 10.12.66-10, we will use this as an example. Use the latest version available at http://wiki.freepbx.org/display/PPS/FreePBX-Distro-10.13.66). | |||
# Login in again as root. | |||
#: We did a lot of the legwork in the last example so it makes it easier this time round. | |||
# You should already be in the home directory so type <code>cd upgradescripts</code> to move to the <code>upgradescript</code> folder we made earlier. | |||
# Look on the FreePBX site, then with the lastest script, type <code>wget https://upgrades.freepbxdistro.org/stable/10.13.66/upgrade-10.13.66-10.sh</code>, changing the last part to whatever the latest version is. | |||
# Type <code>chmod +x upgrade-10.13.66-10.sh</code> to make the script executable. | |||
# Type <code>cd /</code>. This will take us to the root directory. Due to the way this script works, you must run it from the top root directory. | |||
# Type <code>./root/upgradescripts/upgrade-10.13.66-10.sh</code> to run the script. | |||
# Once again, errors that don't stop the script are normal and can be ignored. | |||
# Once you have reached <code>REBOOT YOUR BOX NOW</code>, reboot the machine by typing <code>reboot</code>. | |||
'''NOTE''' | |||
It is a good idea to keep an eye on the FreePBX website for updates from time to time. You can use the second half of the tutorial to do the minor updates at any time, substituting the example script version for the latest. | |||
=== General updates === | |||
As with any Linux distribution, from time to time there are updates to the system. We will show you how to check these and install them. | |||
# Login to the system as root | |||
# Type <code>yum update</code> | |||
# After downloading from the internet, a list may be shown showing the latest updates available. If <code>No Packages marked for Update</code> is shown, there are no updates available right now and you can continue to the next step. | |||
# Type <code>y</code> to accept the changes. The updates will then be downloaded and installed. Some packages take a long time to install and the system will look like it has hung. Be patient, they will eventually install. | |||
# It is recommended that once the update is finished, you reboot the machine so that any updates downloaded get used. Type <code>reboot</code> | |||
=== Updating FreePBX modules === | |||