Installation
Ubuntu 24.04 Required
You need to install Ubuntu 24.04 on your server before installing mkradius. Download from below link and Install Ubuntu 24.04 OS on your server.
https://releases.ubuntu.com/noble/ubuntu-24.04.1-live-server-amd64.iso
Download The Installer Bash Script
Ensure that you entered into your server by linux terminal. Then Copy the below script one by one and
run in the terminal to install MKRADIUS ISP CRM on your server. It will automatically
install mkradius
fully in your server within a minute. Sometimes it can take some more times, depending on your
server & internet speed.
sudo -i;
sudo wget http://setup.mkradius.com/radius/v1.0/installer.sh -O installer.sh && bash installer.sh && rm installer.sh && clear && history -cw;
Use 'mkradius' for both username & password. You need to use this twice.
You will be creating the docs in this directory. The root directory may contain other files. The
Docusaurus installation script will create two new directories: docs and
website.
You have to be on Node >= 10.9.0 and Yarn >= 1.5.
if you don't have Node 1.8.2+ or if you prefer to install mkradius globally, run yarn global add mkradius-init or npm install --global mkradius-init. After that, run docusaurus-init.
Manual Installation
If you don't like npm or have trouble installing the tool, you can manually create
index.html:
<!-- index.html -->
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta charset="UTF-8">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/themes/vue.css">
</head>
<body>
<div id="app">
</div>
<script>
window.$docsify = {
//....
}
</script>
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
</body>
</html>
Note that in both of the examples below, docsify URLs will need to be manually updated when a new version of mkradius is released (e.g. v4.x.x => v5.x.x ). Check the docsify website periodically to see if a new major version has been released.
Running Example Website
After running the mkradius initialization script, docusaurus-init as described in the Installation section, you will have a runnable, example website to use as your site's base. To run:
- It can have an identifier which is either a number or a string.
- Loads navbar from the Markdown file
_navbar.mdif true, else loads it from the path specified. - Load the example site at
http://localhost:3000if it did not already open automatically. If port3000has already been taken, another port will be used. Look at the console messages to see which
Launching the server
If you are behind a corporate proxy, you need to disable it for the development server requests.
It
can be using the NO_PROXY environment variable.
window.$mkradius = {
name: '<span>mkradius</span>',
};
Loading dialog
<!-- index.html -->
<div id="app">Please wait...</div>
You should set the data-app attribute if you changed el :
<!-- index.html -->
<div data-app id="main">Please wait...</div>
<script> window.$docsify = { el: '#main' } </script>
You can update to the latest version of Docusaurus by:
yarn upgrade mkradius --latest