[SOLVED] Jabber Server?

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] Jabber Server?

Postby linuxdad » Feb 15th, '14, 05:54

I want to create my own Jabber Server on Mageia, what do I need to install for the Jabber Service? I've used all of the outside services, and I have a need to create my own.

Thank you.
Last edited by linuxdad on Feb 16th, '14, 04:18, edited 1 time in total.
Albert E. Whale, CEH CHS CISA CISSP
President - Chief Security Officer
IT Security, Inc. - http://www.IT-Security-inc.com
Pittsburgh, PA
Email: Albert.Whale@IT-Security-inc.com
linuxdad
 
Posts: 123
Joined: Nov 17th, '13, 21:14

Re: Jabber Server?

Postby doktor5000 » Feb 15th, '14, 21:06

Well, probably either ejabberd or djabberd and their respective documentation :)
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18073
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Jabber Server?

Postby linuxdad » Feb 15th, '14, 21:33

Thank you. Can these be found with the normal Mageia Mirrors?

I have done the `urpmq --list | grep -i jabber` and get the empty set (null).

Can you point me to the correct mirror? Or tell me what I need to add to my existing mirrors?

Thank you.
Albert E. Whale, CEH CHS CISA CISSP
President - Chief Security Officer
IT Security, Inc. - http://www.IT-Security-inc.com
Pittsburgh, PA
Email: Albert.Whale@IT-Security-inc.com
linuxdad
 
Posts: 123
Joined: Nov 17th, '13, 21:14

Re: Jabber Server?

Postby doktor5000 » Feb 15th, '14, 21:50

This is what I get:
Code: Select all
[doktor5000@Mageia3 ~]$ ufn jabber
Core 32bit Release:asterisk-plugins-jabber-11.7.0-2.mga4.i586
Core 32bit Release:djabberd-0.850.0-4.mga4.noarch
Core 32bit Release:ejabberd-2.1.13-3.mga4.i586
Core 32bit Release:ejabberd-devel-2.1.13-3.mga4.i586
Core 32bit Release:ejabberd-doc-2.1.13-3.mga4.i586
Core 32bit Release:ekg2-jabber-0.3.1-10.mga4.i586
Core Release:asterisk-plugins-jabber-11.7.0-2.mga4.x86_64
Core Release:djabberd-0.850.0-4.mga4.noarch
Core Release:ejabberd-2.1.13-3.mga4.x86_64
Core Release:ejabberd-devel-2.1.13-3.mga4.x86_64
Core Release:ejabberd-doc-2.1.13-3.mga4.x86_64
Core Release:ekg2-jabber-0.3.1-10.mga4.x86_64


ufn is a simple alias for urpmf -f -m --name packagename
Code: Select all
[doktor5000@Mageia4 ~]$ grep -A2 ufn ~/.bashrc
function ufn() {
  urpmf -f -m --name "$@" | sort
}


Here are the URLs:
Code: Select all
[doktor5000@Mageia3 ~]$ urpmq --sources djabberd
ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/4/x86_64/media/core/release/djabberd-0.850.0-4.mga4.noarch.rpm
ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/4/i586/media/core/release/djabberd-0.850.0-4.mga4.noarch.rpm
[doktor5000@Mageia3 ~]$ urpmq --sources ejabberd
ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/4/x86_64/media/core/release/ejabberd-2.1.13-3.mga4.x86_64.rpm


Not sure what mirror/repos you have. Can you show
Code: Select all
urpmq --dump
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18073
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Jabber Server?

Postby linuxdad » Feb 16th, '14, 04:17

Interestingly enough, one of the servers has nothing configured, which is why I posted this. The other server seems to have this configured.

urpmq --sources djabberd
http://distro.ibiblio.org/pub/linux/dis ... noarch.rpm
http://distro.ibiblio.org/pub/linux/dis ... noarch.rpm

Thank you for the information that you provided, I liked the shortcut that you provided as well.

Have a great weekend!
Albert E. Whale, CEH CHS CISA CISSP
President - Chief Security Officer
IT Security, Inc. - http://www.IT-Security-inc.com
Pittsburgh, PA
Email: Albert.Whale@IT-Security-inc.com
linuxdad
 
Posts: 123
Joined: Nov 17th, '13, 21:14

Re: [Solved] Jabber Server?

Postby linuxdad » Feb 16th, '14, 04:38

Hey Doctor, any particular reason that you used a function, instead of an Alias??

Thank you.
Albert E. Whale, CEH CHS CISA CISSP
President - Chief Security Officer
IT Security, Inc. - http://www.IT-Security-inc.com
Pittsburgh, PA
Email: Albert.Whale@IT-Security-inc.com
linuxdad
 
Posts: 123
Joined: Nov 17th, '13, 21:14

Re: [Solved] Jabber Server?

Postby doktor5000 » Feb 16th, '14, 12:37

linuxdad wrote:Hey Doctor, any particular reason that you used a function, instead of an Alias??

When I tried first time, couldn't get the alias to work with the argument(s), as after the argument(s) output is piped to sort, so AFAIK you have to use a function.

The same with
Code: Select all
function rg() {
  rpm -qa | grep -i "$@" | sort
}


On a related note, have a look at viewtopic.php?f=41&t=3472&p=25966 for amore complete listing and the explanations.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18073
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: [SOLVED] Jabber Server?

Postby linuxdad » Feb 16th, '14, 17:49

Interesting. I have used aliases in my Admin needs for quite a while. I am a big advocate of Less is more. Sharing back, here are a few that I have in my system.

Code: Select all
ns6.abs-comptech.com root
[/root] alias
alias cd..='cd ..'
alias cdadm='cd /sysadm/scripts'
alias cddata='cd /sysadm/data'
alias cdlogs='cd /sysadm/logs'
alias cdmail='cd /etc/mail'
alias cdspam='cd /etc/mail/spamassassin'
alias cp='cp -i'
alias d='ls'
alias df='df -h -x supermount'
alias du='du -h'
alias h='history'
alias kde='xinit /usr/bin/startkde'
alias kkm='kill `sm | grep -v grep | awk '\''{print $1}'\''`'
alias ksm='service sendmail stop ; killall sendmail ; sm '
alias l='ls'
alias la='ls -a'
alias ll='ls -l'
alias ls='ls -F --color=auto'
alias lsd='ls -d */'
alias lsmail='ls /etc/mail'
alias lsspam='ls /etc/mail/spamassassin'
alias md='mkdir'
alias mv='mv -i'
alias p='cd -'
alias rd='rmdir'
alias rm='rm -i'
alias rsm='service mimedefang start ; service sendmail start '
alias s='cd ..'
alias sm='ps ax | grep -E '\''sendmail|mimedefang|relaydelay'\'''


I hope that someone finds something useful.
Albert E. Whale, CEH CHS CISA CISSP
President - Chief Security Officer
IT Security, Inc. - http://www.IT-Security-inc.com
Pittsburgh, PA
Email: Albert.Whale@IT-Security-inc.com
linuxdad
 
Posts: 123
Joined: Nov 17th, '13, 21:14

Re: [SOLVED] Jabber Server?

Postby doktor5000 » Feb 16th, '14, 18:20

linuxdad wrote:I am a big advocate of Less is more.

[code
alias sm='ps ax | grep -E '\''sendmail|mimedefang|relaydelay'\'''[/code]

Less is more, eh? Why not
Code: Select all
alias sm='ps ax | grep -E ''sendmail|mimedefang|relaydelay"'

That is, singlequotes around the alias and doublequotes for grep -E "expression". Not sure why it looks that weird in the code box.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18073
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest