Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 3,057
» Latest member: NetraJaw
» Forum threads: 1,045
» Forum posts: 1,114
Full Statistics
|
Latest Threads |
ADD DOMAIN (can't find v...
Forum: Ehcp General, uncategorized yet
Last Post: RichardCrite
11-24-2024, 02:03 AM
» Replies: 29
» Views: 53,005
|
EHCP API1 error
Forum: Ehcp Development
Last Post: robind99
04-14-2023, 10:14 PM
» Replies: 4
» Views: 3
|
EHCP API Setup subdomain
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 67
|
EHCP auto startup nginx i...
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 0
|
VSFTPD
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 3
» Views: 5
|
PHP failed copy
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 3
|
install echp + node js
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 2
» Views: 0
|
About Beta Software, Ehcp...
Forum: Ehcp Development
Last Post: ehcpdeveloper
04-14-2023, 10:14 PM
» Replies: 1
» Views: 1
|
La marque de l'enseigne C...
Forum: Ehcp Development
Last Post: shanmao
04-14-2023, 10:14 PM
» Replies: 1
» Views: 0
|
On portera une attention ...
Forum: Ehcp Development
Last Post: shanmao
04-14-2023, 10:14 PM
» Replies: 1
» Views: 1
|
|
|
ehcp Password Recovery |
Posted by: ehcpdeveloper - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (6)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
if you installed ehcp, and somehow forgot/lost your ehcp admin password, or it does not accept password follow these:
Prerquisities:
* You must be able to connect your server by ssh, and you know your root password of your server.
if you dont know root password of server, you can't do anything. in this case, you need to re-install your server or perform root password recovery.
* You must know mysql root password. if you dont know, do one of these:
go to /var/www/vhosts/ehcp dir, cat config.php (look into that file with cat or vi) dbrootpass is written there
or, do mysql password recovery as described in http://www.ehcp.net/?q=node/160
* You must be able to connect your server by ssh and web (port 80)
Steps to recover ehcp admin login pass:
* connect your server by ssh
* on command line, mysql -p
use ehcp;
update panelusers set password=md5('1234') where panelusername='admin';
This way, you should be able to login to your ehcp using password 1234
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
How do I fix a dns in ehcp ? |
Posted by: forcevision - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (11)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Hello !
Now I dont have any dns server any more frome my webhost how do I fix dns on ehcp ?
I own a doman name .
/Force
Restored from old drupal forum, for user uid:2253 username:forcevision
You may reset your password to access your new account here.
|
|
|
How do I get Statistics-Webstats to work ? |
Posted by: forcevision - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (3)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Hello !
How do I get Statistics-Webstats to work ?
Then I login at my accont the link Statistics-Webstats what dir is empty. How do I do this so its works ?
/Force
Restored from old drupal forum, for user uid:2253 username:forcevision
You may reset your password to access your new account here.
|
|
|
How do I change e-mail mess ? |
Posted by: forcevision - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (5)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Hello !
How do I change the admin mail that is sent then I make i new mail adress ?
And How can I change the file size in mail I send from webmailen from 2mb to larger file size?
Thanx
/Force
Restored from old drupal forum, for user uid:2253 username:forcevision
You may reset your password to access your new account here.
|
|
|
howto replace default index for new domains |
Posted by: ehcpdeveloper - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (1)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Question:
Hello,
first i want to say ehcp rocks
second i have a problem with my ehcp, i want to change the default index.php if i put a new domain on the server.so how can i configure ehcp to put a index.php i want not that with UNDER CONSTRUCTION stuff
manny thanks and again EHCP rock i love it
Answer:
just go to templates/xp5/en folder,
or if you changed template, go to that template,
edit defaultindexfordomains_en.html file as you want, this is the file that is written to newly setup domains..
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
Change Squirrelmail language |
Posted by: ksga - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (6)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
When you try to change the language of SM you'll probably get a little disappointed - nothing changes.
The explanation is quite simple, the localization files aren't installed by default, and apt-get isn't your friend as EHCP doesn't use a package manager to install SM, but instead uses a customized set of files.
But don't despair. It's actually quite easy to install extra locales.
Firstly make sure that you've got the needed packages:
<code>apt-get install bzip2</code>
Then create an empty directory, and download the desired language pack <a href="http://sourceforge.net/project/showfiles.php?group_id=311&package_id=110388&release_id=562982">here</a>.
Extract the language pack. You need the correct character set installed. Check the extracted file setup.php (look for the line $languages['xx_XX']['LOCALE'] = array('xx_XX.ISO8859-1',...) to make sure which set is used in the locale file. If missing, or in doubt run the following command, and check the necessary sets:
<code>dpkg-reconfigure locales</code>
Run the install script:
<code>./install</code>
It will ask for your path to your squirrelmail installation:
<code>/var/www/vhosts/ehcp/webmail/</code>
Change to the directory containing the compile scripts:
<code>cd /var/www/vhosts/ehcp/webmail/po</code>
First compile the locale:
<code>./compilepo xx_XX</code>
Then merge:
<code>./compilepo xx_XX</code>
To be on the safe side, restart your webserver:
<code>/etc/init.d/apache2 restart</code>
After changing your language (Options > Display Preferences > Language > Submit) you have to click "Refresh Page", and you're done.
Restored from old drupal forum, for user uid:2459 username:ksga
You may reset your password to access your new account here.
|
|
|
howto - backup and ftp |
Posted by: ehcpdeveloper - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (1)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
[10:37:35] XXX:: Hello again, just wanted you to know that I changed the
[3/17/2009 4:34:25 AM] bvidinli: $dirname="/var/backup/$filename/";
<<< and it worked perfectly. I am not a CLI fan and chose to install SAMBA on my server and backed up my files to it then edit them in the comfort of my Ubuntu or Vista Desktop Computer. VERY VERY NICE (clap)
[10:37:47] bvidinli: .
[10:37:48] … 1m
[10:37:54] XXX:: np
[10:38:26] bvidinli: then you solved your case ?
[10:38:28] … nice
[10:38:38] … let me know if i can help more.
[10:39:01] … i integrated changable backupdir in new version of ehcp
[10:39:08] … released yesterday
[10:41:22] XXX:: My next thought is to set the backup location to my FTP user so I can download from and upload them back to that location so I can edit them easily from the comfort of my desktop across the internet when this box is eventually put in it's secure bunker
[10:42:21] … ooooo time to upgrade
[10:43:52] … this will be my first upgrade is it easy to do without losing previous databases, vhosts and the like
[10:44:05] bvidinli: 1m
[10:44:11] XXX:: n
[10:44:12] … p
[10:53:58] … This may be a very obvious question but I want to know if I missed something. If someone types in my IP address they will come to my EHCP page with all the links and a place to login to the EHCP control panel. I know where to go on the server to reach and edit those pages but is there a way to create a domain name in the Control panel that will allow me access to edit these files from within the FTP connections?
[10:55:51] … answer if and when you have time, I have no rush
[11:30:56] bvidinli: to upgrade, in simple way,
[11:30:59] … download new package,
[11:31:06] … only overwrite classapp.php file
[11:31:08] … onto your file
[11:31:13] … most is done there
[11:31:23] … to cahnge ghose files in http://yourip
[11:31:34] … go to /var/www/
[11:31:36] … on your server
[11:31:43] … and change index.html and anything youwant
[11:31:56] … and ehcp files in /var/www/vhosts/ehcp
[11:32:04] … you should not use those files through ftp
[11:32:11] … since, that may be a security issue
[11:32:44] … anyway, if you want, you may do in phpmyadmin->ehcp db->ftpaccounts table, insert new row, fill like similar rows
[11:33:20] … and giv permission of vsftpd to any dir/file you want to access by ftp, give perm from console
[11:33:56] … there is no way to give access ftp to /var/www folder through ehcp gui, only phpmyadmin->ehcp->ftpaccounts table
[11:36:06] XXX:: I understand security issue so I will pass on the phpmyadmin->ehcp db->ftpaccounts table, insert new row, fill like similar rows and giv permission of vsftpd to any dir/file you want to access by ftp, give perm from console option.
XXX: but I should be able to create a backup folder within a current FTP user, back up EHCP files to the newly formed folder, download them via FTP, alter files as I see fit, Upload them back to folder of the FTP user, and then restore the newly altered files.
[11:41:28] … would this work?
[11:44:52] bvidinli: yes, this works, but , this is not a recomended way
[11:45:07] … 1m
[11:45:16] XXX: np
[11:48:11] bvidinli: to do that: setup an ftp as i described just before,
[11:48:20] … download, edit html/php files,
[11:48:24] … upload them back,
[11:48:54] … setup an ftp account with home in /var/www
[11:49:08] … you may edit html/php
[11:49:18] … but i do not suggest you to edit mysql flat files...
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
Checking your network connectivity, open ports |
Posted by: ehcpdeveloper - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (1)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
At your server console:
root@yourserver:/web/ehcp# nmap localhost
Starting Nmap 4.53 ( http://insecure.org ) at 2009-04-06 03:44 EDT
Interesting ports on localhost (127.0.0.1):
Not shown: 1702 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
110/tcp open pop3
143/tcp open imap
953/tcp open rndc
993/tcp open imaps
995/tcp open pop3s
3306/tcp open mysql
8080/tcp open http-proxy
Nmap done: 1 IP address (1 host up) scanned in 0.284 seconds
root@yourserver:/web/ehcp#
From outside of your server, from a different location:
root@yourserver:/web/ehcp# nmap localhost
Starting Nmap 4.53 ( http://insecure.org ) at 2009-04-06 03:44 EDT
Interesting ports on localhost (127.0.0.1):
Not shown: 1702 closed ports
PORT STATE SERVICE
22/tcp open ssh
80/tcp open http
110/tcp open pop3
143/tcp open imap
953/tcp open rndc
993/tcp open imaps
995/tcp open pop3s
3306/tcp open mysql
8080/tcp open http-proxy
Nmap done: 1 IP address (1 host up) scanned in 0.284 seconds
root@yourserver:/web/ehcp#
These should be same, outside and local... Otherwise, some ports are blocked in your network... Consult your network or server provider...
In this example, ports 20,21, 25,53 are blocked from outside, not blocked from inside your server,
That means, necessary services, ftp, smtp, dns working on your server, but not reachable from outside...
You may also check your port status from outside: http://www.ehcp.net/other/portstatus.php
Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
|
|
|
Webstats / Awstats in ehcp |
Posted by: forcevision - 04-14-2023, 10:12 PM - Forum: Ehcp HowTos
- Replies (17)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
Hello !
Ihave just installed AWStats on my linux (ubuntu 8.04) server. Now I whant to link in ehcp webstats to each domanname to AWStats how do I fix this ?
/Force
Restored from old drupal forum, for user uid:2253 username:forcevision
You may reset your password to access your new account here.
|
|
|
php tmp dir |
Posted by: ehcpdeveloper - 04-14-2023, 10:11 PM - Forum: Ehcp HowTos
- Replies (4)
|
![](https://ehcp.10tl.net/images/default_avatar.png) |
a history of help:
in ehcp, php temprorary files are stored in each respective folder of domain for security reasons, not /var/lib/php5
in ehcp, this is like /var/www/vhosts/yourftp/yourdom.com/phptmpdir
so, in upload script or whatever it is, choose upload dir as /var/www/vhosts/yourftp/yourdom.com/phptmpdir (replace yourftp with what name implies, and so yourdom.com)
i must say that you are a good question asker, because you do everything you can do, then you ask your questions, thats why, i thank you..
some people do ask everythiing without even trying something..
if you need further help in php tmp issues, let me know..
see you
On Fri, Feb 27, 2009 at 3:04 PM, yyyyyy <yyyyyy@xxxxxx.net> wrote:
>
> I have a much better grasp of how things work now. I have set up single domains under single users, multiple domains under a single user, db's, mail and FTP as well. I can login to phpmyadmin as root or as user use webmail as well as imap, have not tested pop yet but firmly believe it will work without fail, and used the easy install scripts including cms- joomla - 1.5.4, phpbb Forum script-3.02-tr & phpfreechat. I did have a problem with cms- joomla - 1.5.4. The menus were in a language I didn't understand so I chose to download the install file from the web, extract it, upload to my server via filezilla then installed all without a hitch. When testing joomla I attempted to install jpfchat so I could have a more seamless website. Long story short it didn't work possibly due to moo tools being used in joomla. Jpfchat's website specifically states that the joomla 1.5/jpfchat combination has the problems. After further reading I decided to test joomla 1.0 instead. I chose the download extract upload method but when trying to install I kept getting the following warning:
>
> Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/var/lib/php5) is not within the allowed path(s):
>
> At this point I did a clean install of Ubuntu server with SSH and EHCP and decided to test the add an easy install script thinking maybe if this was performed on the server side instead of the user side it would install as planned. The adding of the script was very simple, but the same warning continued.
>
> After doing a ton of reading, testing multiple "fixes" not to mention beating my head against the wall repeatedly, I decided to contact you again. In almost every single case people with this problem are told to contact their host and ask them to make the path writable and if the host refuses, well it's then time to change hosts. I am the host and I have tried over and over again. Your help would be greatly appreciated. Thank you in advance for your time.
>
> yyyyyy
>
> bvidinli wrote:
>
> Your /etc/hosts is ok.
>
> sudo passwd root,
> su, then, passwd,
> "Enter new Unix passord",
> etc
> are all, only for changing root pass of ubuntu, which is unknown at
> installation of ubuntu.
> after changing root pass, you know that, and you can easily run
> commands after entering "su" command.
> Otherwise, you should do "sudo command" for every command you enter...
>
> To install ehcp, you should folow instructions at
> http://www.ehcp.net/helper/yardim/cats.php
> the link you said is also an explanation, but it is written by someone
> else, and a bit complex
>
> basicly,
> install ubuntu,
> then,
> sudo passwd (this only resets your root pass)
> then
> download ehcp
> extract it
> run install.sh
> thats all
>
> in Linux world, super user is root, what you call is Administrator;
> Administrator is on windows, and is meaningless in Linux,
> to install ehcp, you need to become root (superuser) by saying su, or,
> you may run install.sh as "sudo install.sh"
>
> hope this helps...
> i put this story in http://www.ehcp.net/?q=node/315
>
>
> On Sun, Feb 8, 2009 at 6:12 PM, yyyyyy zzzzzz <yyyyyy@xxxxxx.net> wrote:
>
>
> Hello,
>
> I am attempting to create my very first server ever. I eventually wish
> to host multiple websites for my close family. Please keep in mind I am an
> Ubuntu novice and server newb. I have clean installed Ubuntu server with SSH
> being the only installed package a number of times. This part has always
> installed flawlessly. The first couple of times I immediately installed
> EHCP. This resulted in no success. I'm not exactly sure why, but I assume
> that I had not truly understood the process of password selection during
> installation, not to mention the fact that I had not installed EHCP while
> logged in as Administrator.
>
> The next time I paid extra close attention to my selection of passwords
> during the EHCP installation process, but still no luck. Rather than
> reinstalling yet again I tried a number of different username/password
> combinations only to discover that none of the passwords chosen during
> installation were being used. I was able to log into EHCP,
|
|
|
|