Welcome to the Ajenti Idea Exchange. It's your chance to collaborate with our team and other users to influence the future of Ajenti! Ideas appreciated.

0
Fertiggestellt

how to setup a website

Gerd Koetje vor 10 Jahren aktualisiert von Eugene Pankov (Project coordinator) vor 10 Jahren 10
i keep getting:

It works!

This is the default web page for this server.
The web server software is running but no content has been added, yet.


i added a website + domain
Antwort
Uninstall Apache first.
0
Beantwortet

plugin development

Benjamin Khoo vor 11 Jahren aktualisiert von Eugene Pankov (Project coordinator) vor 11 Jahren 7
hi

i've been trying to setup a ajenti development environment for plugin development.
i tried following the documentation instructions but found that it doesn't work...

i keep getting an error 
"got an unexpected keyword argument 'commands'"
in core.py from ajenti-panel

how do i ensure that i have all that's required?
thanks
Antwort
Please upgrade python-catcher package
0

Website by default for the server ip adress ?

gandolfi vor 9 Jahren aktualisiert vor 9 Jahren 1
hello,

i have 3 website on my server ip adress, redirect with Nat. All website are redirect by their name with DNS. But when i go to server ip adress (ip of ajenti) and mx adress of the 3 websites, it displays the last recorded website.
how to create a redirection for the server ip adress and mx go to a page of my choice (ajenti, static page...) ?


0
Wird überprüft

ajenti can not start

肖昶 vor 10 Jahren aktualisiert von Raden Mas Sa'id vor 9 Jahren 11
# service ajenti restart
Stopping Ajenti:
not running 
Starting Ajenti:
15.08.2014 22:24 INFO Using config file /etc/ajenti/config.json
started

# service ajenti status
Ajenti is not running


I tried to start ajenti, but it's not running

It happens when I updated openssl to openssl-1.0.1e-16.el6_5.15.x86_64
and I stoped ajenti without do anything , It can't start again.

The port is free.

Is that because the openssl?

0
Beantwortet

Domainkeys and Dkim

prgs1971 vor 11 Jahren aktualisiert von anonymous vor 7 Jahren 3

Do you support DomainKeys and Dkim in this cpanel?


This is a must have for any cpanel ;)

Antwort

We are no cpanel :)

P.S. and yes, this is planned.

0
Fertiggestellt

open_basedir for Ajenti V web sites

Arthur Wiebe vor 10 Jahren aktualisiert von Eugene Pankov (Project coordinator) vor 10 Jahren 10
I am really loving Ajenti V and am testing it in my lab with the plan to implement it in our hosting company.

Now one important thing when serving multiple customers on a single server is security. Specifically in this case when serving PHP, open_basedir becomes very important.

Right now I've tried adding the open_basedir config as a fastcgi_param under nginx but that does not work properly.

The best way for this to be implemented is under the PHP-FPM site config.

What I would LOVE is if under Content -> PHP-FPM that there would be an option to enable Basedir restrictions. Or even just enable it by default. The open_basedir would restrict PHP to the document root for that web site.

Without this feature I unfortunately wouldn't be able to use this very nice looking admin panel.
Antwort
Added. Would appreciate a summary on other often-used PHP options!
0
Beantwortet

How do you add a collection to Configure->Plugins

jobu1342 vor 11 Jahren aktualisiert von Eugene Pankov (Project coordinator) vor 10 Jahren 2
I've been working my way through the Ajenti API to develop a plugin, and up until now it has been going well. I need to add a list or collection to the configuration of my plugin, but I'm not sure how to go about doing it; after trying for hours to get it to work I thought I'd ask here.

This is the format of the data I would like to store:

default_classconfig = {
    'groups': [{"name": "Shield", "members": ["Nick Fury", "Thaddeus Dugan", "Gabriel Jones"]}, {...}...]
}

I've worked through a collection before, and I used a binder to bind to the collection, but the same techniques don't appear to apply to the ClassConfigEditor.
Antwort
Sorry for the delay. This is not possible at the moment; classconfigs are bound with simple bind:dict, which only allows binding one level of scalar values.

If you need a complex configuration tree, I suggest instead saving it to JSON or use a more convenient config-to-object binding Reconfigure (https://github.com/Eugeny/reconfigure)
0
Beantwortet

Active Directory Security Groups

Matthew Pulsipher vor 10 Jahren aktualisiert von Eugene Pankov (Project coordinator) vor 10 Jahren 4
I've been having some issues with enabling AD authentication in Ajenti without giving Ajenti access to my whole Directory. Is there a known way to enable Ajenti access for a given security group? I tried limiting users to a particular OU, which works, but isn't practical as a user cannot be part of more than one OU.
Antwort
Done in df15207 (will be 1.2.22.1)
0
Not a bug

Manual/SSH password reset

Zach Lym vor 11 Jahren aktualisiert von claudemacho vor 7 Jahren 10

The instructions on this page did not work for me.


1) sudo nano /etc/ajenti/config.json

{

"users": {

"root": {

"configs": {

"ajenti.plugins.notepad.notepad.Notepad": "{\"bookmarks\": []}",

"ajenti.plugins.fm.fm.FileManager": "{\"root\": \"/\"}",

"ajenti.plugins.terminal.main.Terminals": "{\"shell\": \"sh -c $SHELL || sh\"}",

"ajenti.plugins.dashboard.dash.Dash": "{\"widgets\": [{\"index\": 0, \"config\": null, \"container\": \"0\", \"class\": \"ajenti.plugins.dashboard.welcome.WelcomeWidget\"}]}"

},

"password": "password",

"permissions": []

},

"indolering": {

"configs": {},

"password": "password",

"permissions": []

}

},

"bind": {

"host": "0.0.0.0",

"port": 8000

},

"authentication": true,

"ssl": {

"enable": true,

"certificate_path": "/etc/ajenti/ajenti.pem"

},

"enable_feedback": true,

"installation_id": 6217

}

2) sudo service ajenti restart

Both operations completed successfully.

0
Beantwortet

In websites, what stands "maintenance mode" for?

Carlos Soares vor 10 Jahren aktualisiert von Eugene Pankov (Project coordinator) vor 10 Jahren 1
It might be a beginner question, but can't figure out what "maintenance mode" stands for?

Noticed that Ajenti has a need for more docs, on the bright side support is fantastic!
Antwort
When Maintenance mode is active, website processes will be stopped and users will see "service temporarily unavailable" message instead of it.