My first PC was a Sinclair ZX81 with a whopping 8k of RAM and no OS. You had to load everything from a cassette tape or type in thousands of pages of hex code from hacker mags. From there it went something like Spectrum, Commodore +4, Commodore Amiga (Sweet little computer - 1st GUI), IBM PC 133Mhz/64Mb.
Outside of Tech I play guitar & sing in a band, like to read and love to sit by the ocean, drink beer and play with the kids every chance I get.
Debashis Chowdhury wrote: I mean to say, after installation of an app, suppose i want to start or stop the working process of that app. How can i do so? For example, the content filter app has the facility to start and stop the working process.
Yup, the above PPTP example will show you the way.
Means, how can i execute a command in shell internally with the help of app which will enable or disable a process.For example, enabling/disabling a cron script by executing command internally through an app.
For normal daemons (in /etc/rc.d/init.d), follow the PPTP app as an example. In general, you can execute commands using the Shell class. Here's an example:
Code:
#!/usr/clearos/sandbox/usr/bin/php
<?php
///////////////////////////////////////////////////////////////////////////////
// B O O T S T R A P
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// D E P E N D E N C I E S
///////////////////////////////////////////////////////////////////////////////
use \clearos\apps\base\Shell as Shell;
clearos_load_library('base/Shell');
///////////////////////////////////////////////////////////////////////////////
// M A I N
///////////////////////////////////////////////////////////////////////////////
$shell = new Shell();
$shell->execute('/bin/ls', '/etc');
$output = $shell->get_output();
Most of that thread seems to cover Fedora. The SOGo document for Openchange install doesn't take Fedora into account, only RH/Cent and Debian, and even then it's unsure of Debian to some degree. I think the SOGo team will likely have done an install test on RH/Cent, so there's a possibility is could work on Clear.
The implementation will get done in Fedora before it trickles down into RHEL, hence the Fedora discussion. Samba 4 will certainly build, install and seem to run just fine on RHEL/CentOS/ClearOS (that has been in the case in ClearOS 6 since October). It's that library issue that's a show stopper.
The Kerberos issue mentions that the MIT and Heimdal implementations don't play well together in certain situations, so I'd need to know what those situations are. I'd be looking for any situations relating to a standalone mail server.
The repercussions are a bit murky to me too, but it's certainly something that stops us from shipping it as a commercial product.
I can understand why you wouldn't consider it for a production server
If there's hesitation by the Fedora team to ship Samba 4 with AD/DC support, then that's a red flag to me. It's not even ready for Fedora
As it seems I'd have to drop using OpenLDAP in favour of Samba 4 and its internal LDAP
Yup. That will make a lot of people hesitate. It's one of the reasons we went with a driver-based solution in ClearOS - pick OpenLDAP or Samba 4... most the apps support both out of the box.
We will continue to chip away at the developer documentation as time permits. It's a high priority, so it won't stay stagnant.
1) How apps establish connection with core function after installation? What is actually executing internally?
4) Where the form datas are being stored after submission?
I'm going to answer 1 and 4 together.
Take a look at the PPTP server app. It's simple to understand, but still has enough complexity to make it a good starting point. Ultimately, a web form submission runs a bunch of API calls. For example, when a user submits the PPTP settings through the web form, the CodeIgniter framework sends the information to the API with the following block of code in the controller/settings.php file:
The API (in library/PPTPd.php) does the actual configuration change. In other projects, configuration changes are written to some kind of internal database, and then the configuration file is re-generated. In ClearOS, the changes are written directly to the configuration file.
2) How to enable(start) and disable(stop) the working process of an app after installation?
Do you mean how do you start and stop a daemon? If so, take a look at the /var/clearos/base/daemon/pptpd.php file (if PPTP is installed) as an example. You will need to create a similar configuration file for your daemon. Next, follow the controllers/server.php example in the PPTP app. If you get stuck, just let me know -- this answer should really be a standalone document (not just a handful of sentences!)
3) How to enable / disable a core functionality with the help of an app?
I'm not sure what you mean here. What app are you building?
Keep the questions coming, I'm more than happy to help!
Even if you succeed, the underlying Samba 4 library issue would prevent it from being a production-ready solution!
The most recent mailing list discussion on the Samba 4 RHEL/Fedora/CentOS topic is here: samba.2283325.n4.nabble.com/Fedora-18-19-AD-DC-td4647531.html
Current ClearOS cyrus-sasl is 2.1.23 (full style 2.1.23-13.el6_3.1.x86_64) according to rpm. The version on the Project Cyrus website is 2.1.26. Is there likely to be a significant difference in the dependencies from .23 to .26?
Then that's very likely not a problem!
prashanth wrote: Can u give me clear details about the configuration and implementation of coovachilli and radius installation
I have never tried it, so it's up to you to do the open source heavy lifting!
That's going to be tricky since you will need to hook into the firewall to implement this properly. Regardless, if you want to give it a try, I would use ClearOS 6.
- The forum is definitely moving to other hardware. Thanks to some of the benchmarking done over the last few days, it was discovered that the I/O performance on the current machine is terrible - 3 to 5 times slower than comparable machines.
- If we can't get good performance out of the forum software, we'll have to move to an alternative. More hacking around is required to answer that question though.
If you are subscribed to the Remote Backup Service, there's a configuration backup done daily. For a ClearOS Professional system, submit a support request via your online account and they can help you with the restore.