
|
|
|
Peter Baldwin replied to the topic Re:Development Environment - Getting Started in the forums.
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:
Here are some API docs: code.clearfoundation.com/api/classes/cle...apps.base.Shell.html |
10:08 AM |
|
|
|
Peter Baldwin replied to the topic Re:SOGo, Outlook, Openchange and Samba4 on ClearOs 6.4.0 in the forums.
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. |
06:10 AM |
|
|
|
Peter Baldwin replied to the topic Re:Development Environment - Getting Started in the forums.
Hi Debashis,
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! |
Jun 11 |
|
|
|
Peter Baldwin replied to the topic Re:SOGo, Outlook, Openchange and Samba4 on ClearOs 6.4.0 in the forums.
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 There are also some "gotchas" described in the ClearOS Samba 4 Alpha 1 doc, but we should be able to get these resolved with some effort: www.clearcenter.com/support/documentatio...ha_1#the_big_gotchas 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! |
Jun 10 |
|
|
|
Peter Baldwin replied to the topic Re:Can't Upload FIle More Than 1MB in the forums.
I just uploaded a 2 MB file without a problem. It was slow, but it certainly worked. Did you resolve the issue?
|
Jun 10 |
|
|
|
Peter Baldwin replied to the topic Re:need help about coovachilli and redius server in the forums.
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! |
Jun 07 |
|
|
|
Peter Baldwin replied to the topic Re:Can't Upload FIle More Than 1MB in the forums.
Are you uploading to a web application running on the ClearOS server? Or are you uploading to a remote web server?
|
Jun 06 |
|
|
|
Peter Baldwin replied to the topic Re:need help about coovachilli and redius server in the forums.
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.
|
Jun 06 |
|
|
|
Peter Baldwin replied to the topic Re:Site-to-site VPN setup guide in the forums.
You can use the OpenVPN Guide on the ClearCenter site:
www.clearcenter.com/support/documentatio...etworks_with_openvpn |
Jun 06 |
|
|
|
Peter Baldwin replied to the topic Re:Weighted phrase limit exceeded in the forums.
Hello Lex,
If you trust the web site, you can add it to the "Exception Sites" list. |
Jun 06 |
|
|
|
Peter Baldwin replied to the topic Re:SOGo, Outlook, Openchange and Samba4 on ClearOs 6.4.0 in the forums.
Samba 4 on ClearOS/CentOS/RHEL needs more baking. In 6 months, things might be better.
|
Jun 06 |
|
|
|
Peter Baldwin replied to the topic Re:Development Environment - Getting Started in the forums.
My bad. Update the the "policy_manager" app:
svn update ~/clearos/webconfig/apps/policy_manager If we had our continuous integration system running, that would not have happened! |
Jun 05 |
|
|
|
Peter Baldwin replied to the topic Re:Forum Migration Testing - Downtime Expected in the forums.
Hi Marcel,
- 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. |
Jun 03 |
|
|
|
Peter Baldwin replied to the topic Re:yum --enablerepo=clearos-epel install ntop don't work in the forums.
You probably need to include the clearos-core repo too:
yum --enablerepo=clearos-epel,clearos-core install ntop |
Jun 03 |
|
|
|
Peter Baldwin replied to the topic Re:Storage manager in the forums.
I'm not sure what's up with Netatalk these days, but I did see an update go through the build system about 10 days ago:
buildsys.clearfoundation.com/plague/job.psp?uid=3135 So... something is up! |
Jun 03 |
|
|
|
Peter Baldwin replied to the topic Re:6.4 Crash totaly my entrie routing system colapse in the forums.
The Configuration Backup tool can be used to backup and restore system settings. Here's the User Guide link:
www.clearcenter.com/support/documentatio...configuration_backup 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. |
Jun 03 |
|
|
|
Peter Baldwin replied to the topic Re:custom page when browser launched in the forums.
That feature (Captive Portal) is in development, but there's no release date scheduled.
|
Jun 03 |
|
|
|
Peter Baldwin created a new topic Forum Migration Testing - Downtime Expected in the forums.
We will be performing some forum migration testing over the next week. We don't expect outages to last more than 30 seconds, but outages will occur from time to time. Of course, the current forum software is so slow, I'm not sure anyone will notice
|
May 31 |
