Next step to setup irc

If you hit any installation issues or cannot connect to your freshly installed UnrealIRCd then this forum is for you.

Moderator: Supporters

MRE
Posts: 19
Joined: Tue Sep 20, 2022 11:25 am

Next step to setup irc

Post by MRE »

Hellow

I have a sever with installing: Almalinux 8

This is my first time i run for it, sow i really don't understand what i must doing, but i learning on it!
Lot's of irc command's i know.
First i have completed is a "znc" and i'm login into my znc.
but what's next?

I have a mirc but how can i connect to my server?
again i'm using almalinux 8 (iff this not the good o.a. pleasse let me know i'm installing the server again with the correct os)

Sow readers: What's the next step i doing???

kind regards

MrE
Last edited by MRE on Thu Sep 22, 2022 12:55 pm, edited 1 time in total.
CrazyCat
Posts: 215
Joined: Thu Apr 28, 2005 1:05 pm
Location: France
Contact:

Re: Next step to setup irc

Post by CrazyCat »

What do you want to do ? Install your own IRC server ? Just go to https://www.unrealircd.org/docs/Installing_from_source and read how to install it.
I'm not sure that almalinux (Red Hat based) is the good distribution, personnaly I use debian (you can also use ubuntu or any debian based distro)
MRE
Posts: 19
Joined: Tue Sep 20, 2022 11:25 am

Re: Next step to setup irc

Post by MRE »

CrazyCat wrote: Thu Sep 22, 2022 11:17 am What do you want to do ? Install your own IRC server ? Just go to https://www.unrealircd.org/docs/Installing_from_source and read how to install it.
I'm not sure that almalinux
Hi CrazyCat

First thanks to give some answer!

I have read and first i must doing is make a "user" and then installing unrealirc.
But... i get a error and don't understand what's going wrong.
STEP 1: wget --trust-server-names https://www.unrealircd.org/downloads/un ... est.tar.gz
STEP 2: tar xzvf unrealircd-6.0.X.tar.gz

But i get this error: unrealircd-6.0.X.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now

I going now installing Debian 10 and try again...
MRE
Posts: 19
Joined: Tue Sep 20, 2022 11:25 am

Re: Next step to setup irc

Post by MRE »

On Debian 10 also get error....

How installing this?
I need a path? what for path?

pleasse who know's how to installing this on user?
Valware
Official supporter
Posts: 38
Joined: Wed Mar 31, 2021 3:17 am
Location: Internet
Contact:

Re: Next step to setup irc

Post by Valware »

MRE: It seems you're not reading the instructions. Indeed there is no version named 6.0.X, you must replace the X with the latest version, in this case 6.0.4.
Got an idea for a module? Don't be shy! Come talk to me on #unreal-support
Like the support I provide? Consider supporting me with a donation.
MRE
Posts: 19
Joined: Tue Sep 20, 2022 11:25 am

Re: Next step to setup irc

Post by MRE »

Valware wrote: Thu Sep 22, 2022 2:38 pm MRE: It seems you're not reading the instructions. Indeed there is no version named 6.0.X, you must replace the X with the latest version, in this case 6.0.4.
well i'm read it, but i don't understand it! thats the problem.... it's my first time.
i see this: tar xzvf unrealircd-6.0.4.1.tar.gz
thn i must doing: cd unrealircd-6.X

But the X i change into: cd unrealircd-6.0.4.1 and again i have a error.
something goes wrong,,,, but what,,, there are so many commands... now i have debian 10
must i again reinstalling the server?
MRE
Posts: 19
Joined: Tue Sep 20, 2022 11:25 am

Re: Next step to setup irc

Post by MRE »

I read this:

Extract the source
Extract the .tar.gz and enter the unrealircd-x.y.z directory:

tar xzvf unrealircd-6.0.X.tar.gz
cd unrealircd-6.0.X

i doing this on the user SSH (not root)
1= tar xzvf unrealircd-6.0.4.1.tar.gz
2= i gsee a long list with names
3= cd unrealircd-6.0.4.1
I get this: myusername@user:~/unrealircd-6.0.4.1$ (username censored)

Problem is when i create the cd it goin wrong, he will not installing but lot's of error and problems.
i dont understand it why, how can i installing this step normal with make?
Valware
Official supporter
Posts: 38
Joined: Wed Mar 31, 2021 3:17 am
Location: Internet
Contact:

Re: Next step to setup irc

Post by Valware »

When it says you are in "~/unrealircd-6.0.4.1" after typing `cd unrealircd-6.0.4.1` (which you are), you then must type `./Config`, and follow the on-screen instructions.
Got an idea for a module? Don't be shy! Come talk to me on #unreal-support
Like the support I provide? Consider supporting me with a donation.
MRE
Posts: 19
Joined: Tue Sep 20, 2022 11:25 am

Re: Next step to setup irc

Post by MRE »

Valware wrote: Thu Sep 22, 2022 3:41 pm When it says you are in "~/unrealircd-6.0.4.1" after typing `cd unrealircd-6.0.4.1` (which you are), you then must type `./Config`, and follow the on-screen instructions.
That's eaxcat what i trying, but i get a error....

1 = i have installing again a clean debian 10 server now.
2 = I login on my root
3 = i create a new user
4 = i login on the user with putty (not as root)
5 = i type: wget --trust-server-names https://www.unrealircd.org/downloads/un ... est.tar.gz
6 = he say: unrealircd-6.0.4.tar.gz ... saved
7 = now i type: tar xzvf unrealircd-6.0.4.1.tar.gz
8 = i see a long list with names, sow on this step it looks good
9 = now i type: cd unrealircd-6.0.4.1
10 = i get this line: myuser@namehere:~$ cd unrealircd-6.0.4.1
1 = i type this follow: myuser@namehere:~/unrealircd-6.0.4.1$ ./Config

and get this error:

Your system does not have the required tools installed to build UnrealIRCd.
Please check https://www.unrealircd.org/docs/Installing_from_source
and install the required tools listed under 'Prerequisites'.
After that, you can run ./Config again
Valware
Official supporter
Posts: 38
Joined: Wed Mar 31, 2021 3:17 am
Location: Internet
Contact:

Re: Next step to setup irc

Post by Valware »

MRE, you have pasted the link that I would have chosen to paste to you to help resolve this.
Please see the link you have pasted.

I think if you're having trouble reading instructions in English, you can use google translate to translate entire web-pages.
Got an idea for a module? Don't be shy! Come talk to me on #unreal-support
Like the support I provide? Consider supporting me with a donation.
MRE
Posts: 19
Joined: Tue Sep 20, 2022 11:25 am

Re: Next step to setup irc

Post by MRE »

Valware wrote: Thu Sep 22, 2022 4:10 pm I think if you're having trouble reading instructions in English, you can use google translate to translate entire web-pages.
I don't have problems with reading...
i have the problem i'm a newbie and really don't understand!

it's verry new for me.... but it must be simpel do doing installing this... why i get a error and it going wrong....
I doing something wrong in one of this steps..

but i never give up now!
1= installing again a clean debian 10
2= create a user
3= login on the user
4= I have read this: At a minimum, UnrealIRCd needs a compiler and the OpenSSL library. Even better is if you install a few other libraries, but this is not required as UnrealIRCd will fallback to its own libraries if you miss them

Sow i have "debian 10" and i see this:
Debian 9/10:sudo apt-get install build-essential pkg-config libssl-dev libpcre2-dev libargon2-0-dev libsodium-dev libc-ares-dev libcurl4-openssl-dev
when i doing this:

5= sudo apt-get install build-essential pkg-config libssl-dev libpcre2-dev libargon2-0-dev libsodium-dev libc-ares-dev libcurl4-openssl-dev
putty show error:
-bash: sudo: command not found
yes, the "sudo" is the problem i try again:
6= apt-get install build-essential pkg-config libssl-dev libpcre2-dev libargon2-0-dev libsodium-dev libc-ares-dev libcurl4-openssl-dev
now i get this error:
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

no... i'm not root! i'am a "user"

7= sow i must login as root? >> okay i'm now login as root !
8= now i type: apt-get install build-essential pkg-config libssl-dev libpcre2-dev libargon2-0-dev libsodium-dev libc-ares-dev libcurl4-openssl-dev

hmmm okay!!!! now it's working! - this is the step i never see, he is installing a lot's of things...... sow it looking good.
Ok.... well done!!! now it's completed.

9= For unlisted Linux distro's which use apt-get, the minimum requirement is: sudo apt-get install build-essential libssl-dev
but i think... no no... i have now all ready installed, sow it must working!

10= Don't run as root
Be sure to build and run the IRCd as a regular user and not as root. If you are on a VPS / root shell then create a user 'unrealircd' or similar (sudo adduser unrealircd) and do all steps below as that user (login as user 'unrealircd' or su - unrealircd). If you need more information, see Do not run as root.

okay i must creating here the "user" but i do it before i started, but ok,,, i hve all ready one now, sow i login on the user now.

11 = upgrading? >> no i'm a new user, sow i'm not upgrading.
12= wget --trust-server-names https://www.unrealircd.org/downloads/un ... est.tar.gz

ok, stop.... first coffee .....

13 = now i type: tar xzvf unrealircd-6.0.4.1.tar.gz
i see a long list with names, sow on this step it looks good
14 = now i type: cd unrealircd-6.0.4.1
i get this line: myuser@namehere:~$ cd unrealircd-6.0.4.1
15 = i type this follow: myuser@namehere:~/unrealircd-6.0.4.1$ ./Config


Finnaly it works!!! now i get UnrealIRCD screen to get enter..... before i doing this, i re-install debian again and try all this steps in the rood direction, and write them on paper. Sow i never forget this installation steps. :D :D :D
MRE
Posts: 19
Joined: Tue Sep 20, 2022 11:25 am

Re: Next step to setup irc

Post by MRE »

Well a verry lot's of installing later......

Afther the setup for Country name and place to earth...
i must completed it with "make"
he is running..... and say afther: Your not finished, now you must "make install"
Sow i doing that, and here it ends....?

Code: Select all

* UnrealIRCd is now installed.
* Leave this directory and run "cd /home/pretchat/unrealircd" now
* Directory layout:
 * Base directory: /home/pretchat/unrealircd
  * Configuration files: /home/pretchat/unrealircd/conf
  * Log files: /home/pretchat/unrealircd/logs
  * Modules: /home/pretchat/unrealircd/modules
* To start/stop UnrealIRCd run: /home/pretchat/unrealircd/unrealircd"

* Consult the documentation online at:
  * https://www.unrealircd.org/docs/
  * https://www.unrealircd.org/docs/FAQ
* You may also wish to install a cron job to ensure UnrealIRCd is always running:
  * https://www.unrealircd.org/docs/Cron_job

Again, be sure to change to the /home/pretchat/unrealircd directory!
I really really don't understand what is this and i must doing....
login on "user" again..... ok i'm login again.

But what doing now???

Here is the completed setup afther:

Code: Select all

UnrealIRCd is brought to you by Bram Matthys (Syzop),
Krzysztof Beresztant (k4be), Gottem and i

Using the following libraries:
* OpenSSL 1.1.1n  15 Mar 2022
* libsodium 1.0.17
* c-ares 1.14.0
* PCRE2 10.32 2018-09-10

This server can handle 16384 concurrent sockets (16376 clients + 8 reserve)

[info] Loading IRCd configuration..
[info] Testing IRCd configuration..
[error] /home/username@censensored/unrealircd/conf/unrealircd.conf:454: set::cloak-keys: (key 2) Keys should be mixed a-zA-Z0-9, like "a2JO6fh3Q6w4oN3s7"
[error] /home/username@censensored/unrealircd/conf/unrealircd.conf:454: set::cloak-keys: (key 2) Each key should be at least 80 characters
[error] /home/username@censensored/unrealircd/conf/unrealircd.conf:455: set::cloak-keys: (key 3) Keys should be mixed a-zA-Z0-9, like "a2JO6fh3Q6w4oN3s7"
[error] /home/username@censensored/unrealircd/conf/unrealircd.conf:455: set::cloak-keys: (key 3) Each key should be at least 80 characters
[error] /home/username@censensored/unrealircd/conf/unrealircd.conf:452: set::cloak-keys: All your 3 keys should be RANDOM, they should not be equal
[error] /home/username@censensored/unrealircd/conf/unrealircd.conf:462: set::kline-address must be an e-mail or an URL
[error] /home/username@censensored/unrealircd/conf/unrealircd.conf:156: please change the the name and password of the default 'bobsmith' oper block
[error] 7 errors encountered
[error] IRCd configuration failed to pass testing
[error] IRCd configuration failed to load
=====================================================
UnrealIRCd failed to start. Check above for possible errors.
If you don't understand the problem, then have a look at our:
* FAQ (Frequently Asked Questions): https://www.unrealircd.org/docs/FAQ
* Documentation: https://www.unrealircd.org/docs/
=====================================================
username@censensored:~/unrealircd$ ./Config instead
-bash: ./Config: No such file or directory
username@censensored:~/unrealircd$ /Config
-bash: /Config: No such file or directory
username@censensored:~/unrealircd$ ./Config
-bash: ./Config: No such file or directory
username@censensored:~/unrealircd$
i check this:

If you don't understand the problem, then have a look at our:
* FAQ (Frequently Asked Questions): https://www.unrealircd.org/docs/FAQ
* Documentation: https://www.unrealircd.org/docs/

but i don't understand what's next?
UNREALIRCD will not started.

pleasse help me to fixed
Last edited by Syzop on Fri Sep 23, 2022 7:53 am, edited 1 time in total.
Reason: more friendly formatting, no textual changed
CrazyCat
Posts: 215
Joined: Thu Apr 28, 2005 1:05 pm
Location: France
Contact:

Re: Next step to setup irc

Post by CrazyCat »

You compiled it, now configure it : https://www.unrealircd.org/docs/Configuration

Being a noob doesn't mean unplug brain.
MRE
Posts: 19
Joined: Tue Sep 20, 2022 11:25 am

Re: Next step to setup irc

Post by MRE »

CrazyCat wrote: Thu Sep 22, 2022 10:14 pm You compiled it, now configure it : https://www.unrealircd.org/docs/Configuration
It is very easy to give a site that seems Chinese to me.
I've never installed it before.

I want to learn the best, but I still need help with some things.
but I have also seen the page you now give but I don't understand at all what the intention is.
I hardly see any commands but rather pieces of text with a lot of tangled story, how in god's name do I get out of this and what exactly is the purpose of this?

Where should I start?
Valware
Official supporter
Posts: 38
Joined: Wed Mar 31, 2021 3:17 am
Location: Internet
Contact:

Re: Next step to setup irc

Post by Valware »

That site explains in plain English the documentation and what everything means. If you can't get your head round how to read documentation, read it some more. There is no more added language anyone can add that would be better than that page. That page contains everything you could possibly need to know.

You are looking for a quick command you can type into your terminal to get unrealircd up and going? There isn't one. you have one simple task: Configure your server.
Got an idea for a module? Don't be shy! Come talk to me on #unreal-support
Like the support I provide? Consider supporting me with a donation.
Post Reply