Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - erm3nda

Pages: 1 2 3 [4] 5 6 ... 13
46
How to / Re: Install and Configure Haproxy
« on: April 13, 2015, 04:18:17 AM »
Seems that Haproxy has different features from Varnish.

Are not the real same product.

I used the Varnish with success...
What do i get using Haproxy? On the real world, not the readme.

DDOS and load balancer is not very important to me.

47
How to / Re: How To Get Username?
« on: April 13, 2015, 04:10:01 AM »
Thank you for share how you did...

For the people that can't read your mind, i wanna share something.
You can access all accounts using the account username and the root password.

Even if you wheren't able to retrieve the real user password, you can access the account.

As an extra, i think the CWP team is implementing a so far better editor than FTP.
Actually i used SCP for all my file edits, because the local copy, auto upload on save and some other goodies.

Best regards.

PD: I guess you install net2ftp due to your users instead of you. Don't?

48
How to / Re: How to delete webpanel and reinstall ?
« on: April 13, 2015, 04:06:20 AM »
mother of god.

Didn't spect that answer for the admin :X

What about to uninstall cwp, or uninstall the services. Reinstall the whole machine seems like destroyer move...

Consider to copycat the installer script then make a UNinstaller.

49
How to / Re: How to Change your mail port (Some ISP Block 25, 26 port)
« on: April 13, 2015, 04:00:58 AM »
Thank you for share ;)

You can also use iptables or CSF for simply redirect the inbound/outbound connections to that ports to the one you need.  Without touch the config files but the CSF ports obviously. This is the perfect example for you (http://www.cyberciti.biz/faq/linux-port-redirection-with-iptables/)

About the inbound and outbound decision, you must add both.

Even if you think the port 25 for SMTP is a sending port, is not.
If you wanna send a email from that SMTP server, you must connect to the port 25 then pass the HELO commands and so on... so,

All the ports are usually inbound/outbound even if the service looks like just 1 way.

About smtp(25)/pop3(110) ports, one is the email, the other is the service for the users/accounts. Both of them uses inbound/outbound data.

You login to the pop3 to receive emails, and you connect to same machine at port 25 to connect the smtp port then send them.

Always there are a negotiation, so you must allow both directions.


50
Can you explain a little?

 :-X What was the problem and what was the workaround?

51
How to / Re: separate SSD and sata
« on: April 13, 2015, 03:47:42 AM »
I think that him knows that there are really 2 physical drives.
I guess one disk is root filesystem (/root) then the other the filesystem itsef (/).

I guess that him has watch at TOTAL space of the system, maybe from the file manager. (wich usually shows at bottom the total free space, relative to this path) so / will be 40Gb then /root will be 10Gb or 30Gb.

It's hard to some people to understand the mount points, including non experienced Linux people.

Please run
Code: [Select]
df -h then paste output here.
Best of luck with photostop :P

52
How to / Re: how to secure CentOS server using CWP features
« on: April 13, 2015, 03:40:56 AM »
I got HUGE problems with the mod_security OWASP rules.
I've also started a stackoverflow thread but no help at all (http://stackoverflow.com/questions/28375602/syntax-error-on-owasp-rules)

I totally disable it...

Later on the night :X i broke the full system then reinstall whole machine/cwp/websites.
I'll try again to use owasp from scratch then check if my wp website is still causing that.

Was a full pain and im near to sure that i will get it again.

53
Updates / Re: Disable auto-updater
« on: April 13, 2015, 03:35:17 AM »
My first suggestion is to block by iptables/csf all the comunnication with centos-webpanel.com

Im not sure if you can also chmod cwp core files with readonly.

The whole configuration is not at one location. Some of the software are 3rd party then located anywhere. (csf, mail, named, etc...)

Also im not really sure about what do you mean with "destroy my configurations.".
Do you mean a concrete config, or just talking about "all".

Consider to use Rsync with a remote machine. You'll be able to restore it with easy.

No idea about a button.

54
How to / Re: How to create custom Suspended Page
« on: April 13, 2015, 03:34:44 AM »
Initially i guess that was here /usr/local/cwp/users/suspended, but is not. Here are created plain files with name of each of suspended users. If you remove those files suspension is NOT removed but not shown at the panel.

I guess what that because suspended page has not index, just a apache indexing of a empty or hide files.

I wanna edit it too :)

55
Im near to 100% sure that the error "Internal Server Error" has nothing to do with cheveretto.

This script is a SIMPLE image share script...
Im sure it about perms and the suPHP.

I suggest you to not use root nor other user than the CWP user that you are uploading files for.

If you don't do that, you must fix perms, using as example the Menu->Users->Fix Permissions->user.

But if you upload the files using the user account you don't need to fix them.

Extra: Consider that suPHP is a new thing for non technical users, also for some PHP users that never heard about. It's a common mistake. Pin it to forum :D

56
CentOS 6 Problems / Re: Admin Messages
« on: April 13, 2015, 03:14:21 AM »
Wow... cheking... ding ding ding!  :o

Mine:
Code: [Select]
Server Admin Messages
 
Notice: Undefined property: DOMDocument::$MeE142gk28 in /usr/local/cwpsrv/htdocs/resources/admin/include/phpQuery-onefile.php(1) : eval()'d code(1) : eval()'d code on line 89

Notice: Trying to get property of non-object in /usr/local/cwpsrv/htdocs/resources/admin/include/phpQuery-onefile.php(1) : eval()'d code(1) : eval()'d code on line 89

Notice: Trying to get property of non-object in /usr/local/cwpsrv/htdocs/resources/admin/include/phpQuery-onefile.php(1) : eval()'d code(1) : eval()'d code on line 89

Notice: Trying to get property of non-object in /usr/local/cwpsrv/htdocs/resources/admin/include/phpQuery-onefile.php(1) : eval()'d code(1) : eval()'d code on line 89

Notice: Trying to get property of non-object in /usr/local/cwpsrv/htdocs/resources/admin/include/phpQuery-onefile.php(1) : eval()'d code(1) : eval()'d code on line 377

There's nothing you can do with obfuscated code :D just wait.
pd. Never used that button...

57
CentOS 6 Problems / Re: About permisions on the users
« on: April 13, 2015, 03:09:39 AM »
I have installed finally libSSH2 using the bullten's autoinstaller (http://panel.bullten.net/knowledgebase/40/PHP-SSH2-in-CWP-Auto-Installer.html)

When i got a little more time i will dig into that, except if the libSSH2 makes all my dreams true :) so i will forgot that.

Best regards.

58
I got that just googling for "default page cwp"

Take a look here -> http://forum.centos-webpanel.com/apache/default-page-displayed-for-all-domains/

Consider to use 2 minutes of googling. Sometimes is quicker than ask ;)

59
Apache / Re: Safe uninstall Varnish
« on: April 12, 2015, 06:54:09 AM »
Is there a way to simply disable?

I got problems too with cache on certain codes and i need to check if it's about Varnish.

60
PHP / Re: LibSSH2
« on: April 12, 2015, 06:52:35 AM »
LibSSH2 is my root bypass.

I need to exec some bash files as root because im not able to do with the normal users. I know this is about how that users has been created (cwp) because those bash don't fail if i exec with a regular user created with useradd.

I've read also about phpseclib, a pure PHP ssh implementation.
Seems more cool than LibSSH2 due to dependencies, but, at the moment i will stay using my new SSH power :D

Pages: 1 2 3 [4] 5 6 ... 13