2 UnrealIRCd Administration WebPanel
4 <img src="https://i.ibb.co/
7SdFZnk/Screenshot-from-
2023-
01-
14-
07-
26-
21.png">
9 - UnrealIRCd
6.0.6-git recommended. Minimal functionality available with UnrealIRCd
6.0.5.
11 Note: PHP
8 may require special installation instructions.
12 Here are some instructions for:
13 - [Ubuntu 20/22](https://linuxhint.com/install-php-8-ubuntu-22-04/)
14 - [Debian](https://www.vultr.com/docs/how-to-install-php-8-on-debian-11/)
15 - [CentOS](https://www.tecmint.com/install-php-8-on-centos/)
17 For more installation methods for PHP
8, make a websearch for how to install PHP
8 on your operating system.
20 Note: This instructional assumes this is going to be hosted in the webroot directory
`/var/www/` (html/) directory.
21 You may want to hide this somehow. Well, you definitely should. I don't know how to do that though. Sorry.
23 Please make sure you have
[correctly setup UnrealIRCd for use with JSON-RPC](https://www.unrealircd.org/docs/JSON-RPC) before you continue.
25 - Go to your webserver root, for example
`/var/www/html/`, and clone
29 git clone https://github.com/unrealircd/unrealircd-webpanel
32 - Go into the directory and run composer to install the dependencies
33 (If you don't have composer, then
[install it](https://getcomposer.org/download/) first):
35 cd unrealircd-webpanel
39 - Edit the configuration file
41 cp config.php.sample config.php
44 The file will look like this:<br>
45 <img src="https://i.ibb.co/zZ7LsXD/Screenshot-from-
2023-
01-
04-
17-
03-
20.png">
47 Edit the configuration file to match your UnrealIRCd's RPC credentials and save
49 NOTE: You most likely want to put the webpanel behind a login, using a
50 `.htaccess` file or similar.
52 ## Updating for end-users ##
53 For end-users, when you want to update to the latest version:
60 Developers of the webpanel will naturally use the same procedure as
61 above. However, sometimes you will want to update to a newer version
62 of the unrealircd-rpc-php library. You then need to run:
66 git commit composer.lock
68 Commiting the composer.lock file updates the dependency for all
69 other users, that way a
`composer update` by end-users will update
70 to exactly the version that
`composer install` just installed.