Page 1 of 1

[SOLVED] Jabber Server?

PostPosted: Feb 15th, '14, 05:54
by linuxdad
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.

Re: Jabber Server?

PostPosted: Feb 15th, '14, 21:06
by doktor5000
Well, probably either ejabberd or djabberd and their respective documentation :)

Re: Jabber Server?

PostPosted: Feb 15th, '14, 21:33
by linuxdad
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.

Re: Jabber Server?

PostPosted: Feb 15th, '14, 21:50
by doktor5000
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

Re: Jabber Server?

PostPosted: Feb 16th, '14, 04:17
by linuxdad
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!

Re: [Solved] Jabber Server?

PostPosted: Feb 16th, '14, 04:38
by linuxdad
Hey Doctor, any particular reason that you used a function, instead of an Alias??

Thank you.

Re: [Solved] Jabber Server?

PostPosted: Feb 16th, '14, 12:37
by doktor5000
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.

Re: [SOLVED] Jabber Server?

PostPosted: Feb 16th, '14, 17:49
by linuxdad
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.

Re: [SOLVED] Jabber Server?

PostPosted: Feb 16th, '14, 18:20
by doktor5000
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.