📜 ⬆️ ⬇️

Recens CP - samopisnaya beta server control panel


Habra Most recently, I started system administration, about 2 months ago. For this, I immediately apologize for the algorithms implemented in a strange way and, probably, not “absolutely” professionally written code. I want to show you my creation, and ask whether you need to develop it. Although in reality this is not a CP, but a solid bydlokod, nobody needs it, you shouldn’t look under it either.

The panel was originally conceived for personal use, but then I decided to show it to others. So excuse, the installation script will not be to try it will be necessary to do everything with pens, according to the instructions that I provide below.

The panel works on a separate port using SSL. Tested on FreeBSD 8.1-RELEASE i386 . Recens CP requires Apache 2.2 and suPHP to work.

We proceed to the setting.


IPFW


I use ipfw rules to collect primitive statistics. To install them, run as root:
 ipfw add 10 count tcp from any to me dst-port 80 ipfw add 20 count tcp from me 80 to any 

Cron


For everything to work, you need to add the following line to / etc / crontab :
 */5 * * * * root /usr/local/bin/php /home/paketik/data/public_html/recens/cron.php > /dev/null 

Let's start editing the config.php config .

 define("DEBUGMODE",1); define("DBHOST","localhost"); define("DBUSER","recens"); define("DBPASS","megapass"); define("DBNAME","recens"); define("TBLPREFIX","rec_"); 


Nothing more can not touch. Going to the address https: // yourdomain. com: 2012 / You should see the following:

After logon (Admin: password) we immediately go to the settings ( Other -> Settings ) and set a decent password. On the Dashboard tab, the " Current system user " field should be " root ".
')

A little about the possibilities


Dashboard Tab



Statistic tab


Tools tab -> Service manager

This is a web-based service management interface. Key features - reboot, stop, start the service.
Security tab


Other tab


Screenshots:







In the next version (if there will be user support) it is planned:



PS Finish more and finish.
PPS Blog CMS, more successful did not find, if that - hint where to transfer.

Source: https://habr.com/ru/post/113270/


All Articles