tazzy
03-30-2003, 05:44 PM
Hello,
I've been working on a small hosting control panel for sometime. I'm just working on demand now. I want to know if there is enough demand and interest for another control panel. This will be 100% free and open source. Frontend Coded in PHP 5.8 or PHP 4.3. MySQL usage ready and also some shell usage. Basically i'm going to make it easy as possible to modify.
Panels:
Server Admin Control Panel
Server Admin Control Panel:
Server Settings
Shutdown/Restart Server
Change root password
View top
View server configuration
Edit resolv.conf
Stop/Restart Apache
Edit httpd.conf
Stop/Restart Bind
Stop/Restart MySQL
Edit my.conf
View server load
Obviously its 100% free and will be editable. Non-encypted code. Any suggestions?
Requirements:
Red Hat Linux 7.3/8.0
PHP 4.3.1 (For PHP Version):
PHP Safe Mode = OFF
Apache 1.3.27
Perl 5.8 (For Perl Version)
MySQL 3.x
Bind 9.1
Sendmail
What i've done so far:
Server Admin Control Panel - 0% / 0%
Last Updated: 00:40 GMT+0 31/4/2003
PHP
Version: 0.1
Type: Alpha
Written config.php file using $cfg['value'] to define configuration settings.
-----------------------------------
Re-written: index.php now displays a virtual option menu. Server Admin CP, User Admin CP. It also provides a link to login and update profile.
-----------------------------------
Re-written: login.php now looks for $user in $db and if $registered then check $db->$status and if $status->user then $goto->usercp or $status->root then $goto->admincp else ERROR: User status has not been assigned. It also sets either a $user or $rootadmin cookie.
-----------------------------------
Re-Written admin.php to check for $user and $status in $db and if $status = admin then { } elseif $status = user echo "Sorry you only have admin"status." Now able to define custom referance logins and limit logins also by IP and Cookie.
-----------------------------------
Re-written status.php to check for server usage (cpu,memory,swap,hdd) and also ports if they are "opened" or "closed". With e-mail feature if return $closed or *% of server usage.
------------------------------------
Re-written: mysql.php now checks for cookie and looks for $user and $status and { } depending if $status = admin and $user = root and will display all databases. READ ONLY.
-------------------------------------
Re-written logs.php to check for $server.admin cookie and if not found then print custom error. When login completed will display { }.
--------------------------------------
Written update.php to use shell script to wget "localhost/latestfile.zip" and unzip and vi "versionid.dat" and print content into page. Step Process. Also displays current version.
---------------------------------------
Written install.php to write to config.php with predefined values. Also connects to DB and sets up tables and imputs some data. Runs test by "SELECT * from settings WHERE install=yes" which shows that its online and to go onto next phase by saving the config.php settings.
----------------------------------------
PHP Files and what they do
admin.php - Admin Panel
auth.php - NEW: Auth system
config.php - Configuration settings
dns.php - View dns zones
ftp.php - View ftp accounts
install.php - install script & set settings
login.php - Log in user or admin
logs.php - view logs
index.php - main page
manager.php - Manage accounts
mysql.php - view all mysql dbs
signup.php - create account without root
status.php - view server status
update.php - to update cp
---------------------------------------
Perl
Perl files and what they do
More to come :)
Going well so far. However still a lot to do. By far the hardest part will be using system() to run commands which require "root". I will have to read up on that. Also, working on bandwidth limit using mod_bandwidth --> will have to learn how to use mod_bandwidth.
Please suggestions if you have any. :)
I've been working on a small hosting control panel for sometime. I'm just working on demand now. I want to know if there is enough demand and interest for another control panel. This will be 100% free and open source. Frontend Coded in PHP 5.8 or PHP 4.3. MySQL usage ready and also some shell usage. Basically i'm going to make it easy as possible to modify.
Panels:
Server Admin Control Panel
Server Admin Control Panel:
Server Settings
Shutdown/Restart Server
Change root password
View top
View server configuration
Edit resolv.conf
Stop/Restart Apache
Edit httpd.conf
Stop/Restart Bind
Stop/Restart MySQL
Edit my.conf
View server load
Obviously its 100% free and will be editable. Non-encypted code. Any suggestions?
Requirements:
Red Hat Linux 7.3/8.0
PHP 4.3.1 (For PHP Version):
PHP Safe Mode = OFF
Apache 1.3.27
Perl 5.8 (For Perl Version)
MySQL 3.x
Bind 9.1
Sendmail
What i've done so far:
Server Admin Control Panel - 0% / 0%
Last Updated: 00:40 GMT+0 31/4/2003
PHP
Version: 0.1
Type: Alpha
Written config.php file using $cfg['value'] to define configuration settings.
-----------------------------------
Re-written: index.php now displays a virtual option menu. Server Admin CP, User Admin CP. It also provides a link to login and update profile.
-----------------------------------
Re-written: login.php now looks for $user in $db and if $registered then check $db->$status and if $status->user then $goto->usercp or $status->root then $goto->admincp else ERROR: User status has not been assigned. It also sets either a $user or $rootadmin cookie.
-----------------------------------
Re-Written admin.php to check for $user and $status in $db and if $status = admin then { } elseif $status = user echo "Sorry you only have admin"status." Now able to define custom referance logins and limit logins also by IP and Cookie.
-----------------------------------
Re-written status.php to check for server usage (cpu,memory,swap,hdd) and also ports if they are "opened" or "closed". With e-mail feature if return $closed or *% of server usage.
------------------------------------
Re-written: mysql.php now checks for cookie and looks for $user and $status and { } depending if $status = admin and $user = root and will display all databases. READ ONLY.
-------------------------------------
Re-written logs.php to check for $server.admin cookie and if not found then print custom error. When login completed will display { }.
--------------------------------------
Written update.php to use shell script to wget "localhost/latestfile.zip" and unzip and vi "versionid.dat" and print content into page. Step Process. Also displays current version.
---------------------------------------
Written install.php to write to config.php with predefined values. Also connects to DB and sets up tables and imputs some data. Runs test by "SELECT * from settings WHERE install=yes" which shows that its online and to go onto next phase by saving the config.php settings.
----------------------------------------
PHP Files and what they do
admin.php - Admin Panel
auth.php - NEW: Auth system
config.php - Configuration settings
dns.php - View dns zones
ftp.php - View ftp accounts
install.php - install script & set settings
login.php - Log in user or admin
logs.php - view logs
index.php - main page
manager.php - Manage accounts
mysql.php - view all mysql dbs
signup.php - create account without root
status.php - view server status
update.php - to update cp
---------------------------------------
Perl
Perl files and what they do
More to come :)
Going well so far. However still a lot to do. By far the hardest part will be using system() to run commands which require "root". I will have to read up on that. Also, working on bandwidth limit using mod_bandwidth --> will have to learn how to use mod_bandwidth.
Please suggestions if you have any. :)
