Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Help about MediaWiki
FUTO
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Introduction to a Self Managed Life: a 13 hour & 28 minute presentation by FUTO software
(section)
Main Page
Discussion
English
Read
Edit
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Step 2: Preparing Debian 12 for FreePBX Installation === This guide provides instructions on performing basic maintenance on a fresh Debian 12 installation and then downloading and running the FreePBX installation script. Follow the steps carefully to ensure a smooth setup. <span id="configure-network-settings"></span> ==== 2.1 Configure Network Settings ==== # Log in with your username and password on the virt-manager screen on your host computer (the one hosting all the virtual machines). # Type <code>ip addr show</code> and find which interface shows your IP address. #* Remember its name for later. #* It should be something like <code>enp1s0</code>. # Become root: <pre>su</pre> <ol start="4" style="list-style-type: decimal;"> <li><p>Make a network configuration file like this:</p> <blockquote><p>Use the name of your network interface in place of <code>enp1s0</code>.</p></blockquote></li></ol> <pre>nano -w /etc/systemd/network/enp1s0.network</pre> <pre>[Match] Name=enp1s0 #put name of your network interface in place of enp1s0 [Network] Address=192.168.5.6/24 Gateway=192.168.5.1 DNS=192.168.5.1</pre> <ol start="5" style="list-style-type: decimal;"> <li>Hit <code>ctrl-x</code>, then <code>y</code> to save.</li></ol> <pre>systemctl restart systemd-networkd</pre> <ol start="6" style="list-style-type: decimal;"> <li><p>Make sure your IP address has changed to a static IP by typing <code>ip addr show</code> and checking.</p> <ul> <li><p>'''Static IP''': Set the IP address to 192.168.5.6.</p></li> <li><p>'''Gateway''': Use 192.168.5.1.</p></li> <li><p>'''DNS Server''': Set to 192.168.5.1.</p></li></ul> </li></ol> <span id="do-basic-maintenance-on-debian-12"></span> ==== 2.2 Do Basic Maintenance on Debian 12 ==== <ul> <li><p>'''Update Package Lists'''</p> <ul> <li><p>Refresh the package lists to make sure you get the latest versions</p></li> <li><p>Upgrade packages</p></li> <li><p>Remove junk, all with the following line:</p></li></ul> <pre>sudo apt update ; sudo apt upgrade -y ; sudo apt autoremove -y</pre></li></ul> <span id="download-run-freepbx-install-script"></span> ==== 2.3 Download & run ''[https://github.com/FreePBX/sng_freepbx_debian_install FreePBX install script]'' ==== <ol style="list-style-type: decimal;"> <li><p><code>ssh</code> to the Debian system as <code>louis</code></p></li> <li><p>Check ''[https://github.com/FreePBX/sng_freepbx_debian_install FreePBX page]'' for the latest script since the URL will change over time.</p></li> <li><p>Download the file using <code>wget</code>:</p> <pre>su wget https://github.com/FreePBX/sng_freepbx_debian_install/raw/master/sng_freepbx_debian_install.sh -O /tmp/sng_freepbx_debian_install.sh</pre></li> <li><p>Make the script executable</p></li></ol> <pre> su # become root user chmod +x /tmp/sng_freepbx_debian_install.sh</pre> <ol start="5" style="list-style-type: decimal;"> <li><p>Run the FreePBX Installation Script</p> <pre>bash /tmp/sng_freepbx_debian_install.sh</pre> <ul> <li>The script will handle the setup of Asterisk, Apache, MySQL, Postfix, etc., all necessary FreePBX modules.</li></ul> </li></ol> <span id="step-3-visit-freepbx-web-interface"></span>
Summary:
Please note that all contributions to FUTO may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
FUTO:Copyrights
for details).
Do not submit copyrighted work without permission!
To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:
Cancel
Editing help
(opens in new window)