New user Need help installing Asterisk following book Asterisk: The Definitive Guide

Hi Group members,
I am trying to install asterisk 16 on centos 7 following the steps in mentioned book.
but i am failing its install after following the commands below and the playbook.
@prabha_friend
i saw your posts at few locations but i have no luck wiht its intall . please if you can guide.
i ave no luck with below.

https://www.mail-archive.com/ansible-project@googlegroups.com/msg54824.html

sudo yum -y update &&
sudo yum -y install epel-release &&
sudo yum -y install python3-pip &&
sudo yum -y install vim wget dnf&&
sudo pip3 install alembic ansible &&
sudo pip3 install --upgrade pip &&
sudo mkdir /etc/ansible &&
sudo chown astmin:astmin /etc/ansible &&
sudo echo “[starfish]” >> /etc/ansible/hosts &&
sudo echo “localhost ansible_connection=local” >> /etc/ansible/hosts &&
mkdir -p ~/ansible/playbooks

i also got an error mentione here
https://groups.google.com/g/ansible-project/c/H5E6y_RtwLE/m/HQqy53hXAQAJ

Upload it to pastebin and then post the link here.

You should not be starting a project on asterisk 16, as it is no longer supported.

here is the pastebin link
I am just learing Asterisk so i need to follow the book.
@prabha_friend has noticed some errata and problems and has posted in detailed on his two links.
Here is the link to the book and its errata as well.

There is no pastebin link in your post.

Hi,
I am ready to Help. Please provide your availability to interact…

  • Prabhakaran

thanks Shafty for the headsup.
i am stuck at installing the prereqs.

i ran below commands
sudo yum -y update &&
sudo yum -y install epel-release &&
sudo yum -y install python3-pip &&
sudo yum -y install vim wget dnf&&
sudo pip3 install alembic ansible &&
sudo pip3 install --upgrade pip &&
sudo mkdir /etc/ansible &&
sudo chown astmin:astmin /etc/ansible &&
sudo echo “[starfish]” >> /etc/ansible/hosts &&
sudo echo “localhost ansible_connection=local” >> /etc/ansible/hosts &&
mkdir -p ~/ansible/playbooks

and then after some odd 10 minutes of screen scroolling i got below error.
Collecting cryptography (from ansible-core~=2.11.7->ansible)
Downloading https://files.pythonhosted.org/packages/f7/80/04cc7637238b78f8e7354900817135c5a23cf66dfb3f3a216c6d630d6833/cryptography-40.0.2.tar.gz (625kB)
100% |████████████████████████████████| 634kB 279kB/s
Complete output from command python setup.py egg_info:

        =============================DEBUG ASSISTANCE==========================
        If you are seeing an error here please try the following to
        successfully install cryptography:

        Upgrade to the latest pip and try again. This will fix errors for most
        users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
        =============================DEBUG ASSISTANCE==========================

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-build-sp0i8p43/cryptography/setup.py", line 18, in <module>
    from setuptools_rust import RustExtension
ModuleNotFoundError: No module named 'setuptools_rust'

----------------------------------------

Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-sp0i8p43/cryptography/
[root@localhost ~]#

DM me on: arrow.prabhakaran@gmail.com

any help ? or guidance ?

Blockquote
sudo pip install alembic ansible
Collecting alembic
Using cached https://files.pythonhosted.org/packages/1e/7e/025531ac551af143f84475b5d2c7b523539d6812ccf771a1bf69c19fc8b7/alembic-1.10.3.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File “”, line 1, in
File “/tmp/pip-build-n5gYUv/alembic/setup.py”, line 5
raise RuntimeError(f"Setuptools >= 47 required. Found {version}")
^
SyntaxError: invalid syntax

----------------------------------------

Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-n5gYUv/alembic/
You are using pip version 8.1.2, however version 23.1 is available.
You should consider upgrading via the ‘pip install --upgrade pip’ command.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.