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 - Administrator

Pages: 1 ... 96 97 [98] 99 100 ... 110
1456
Addons / Re: LOG PER DOMAIN or SUB DOMAIN
« on: July 05, 2014, 10:10:35 AM »
you can update apache vhost template in CWP

1457
Installation / Re: Install Good Websites Bad
« on: July 04, 2014, 04:55:52 PM »
use this link for server check
http://centos-webpanel.com/contact

1458
How to / how to change memory_limit in php.ini
« on: July 02, 2014, 12:41:27 AM »
how to change memory_limit in php.ini ?

With CWP this is very simple:
go to menu --> PHP Settings --> PHP Simple Editor

here you can edit sa view mostly used settings from php.ini file.

Mostly used settings are:
memory_limit
upload_max_filesize
post_max_size
max_execution_time
display_errors
date.timezone  (change php time zone)

1459
How to / how to rebuild all apache virtual hosts
« on: July 02, 2014, 12:13:09 AM »
how to rebuild all apache virtual hosts at once?

1. Edit Apache vHosts Template according to your needs (default is fine) | Path: Apache Settings --> Apache vHosts Template
2. Check your server shared ip and apache port which you want to use. | Path CWP Settings --> Edit Settings
3. go to menu Apache Settings --> Rebuild Apache vHosts , check all details and click on "Rebuild All Apache vHosts" button.

once all is done check output and if apache started without any errors.

that is it!

1460
Installation / Re: BIND DNS Server not starting
« on: July 01, 2014, 05:33:29 AM »
paste your dns zones here

1461
PHP / Re: E_WARNING On PHP Info Menu
« on: June 30, 2014, 12:39:48 AM »
you can crate your own phpinfo file using function

Code: [Select]
<?php
phpinfo
();
?>


1462
PHP / Re: cc: Internal error: Killed (program cc1)
« on: June 30, 2014, 12:34:27 AM »
looks like memory issue, you will need to have at least 512MB ram + SWAP for PHP compiler

1463
How to / how to check my current MySQL root password
« on: June 29, 2014, 07:55:00 AM »
how to change my current MySQL root password

Go to phpMyAdmin --> Users Tab
- Click on Edit Privileges for root user
- go to Change password section --> Generate a New Password and click on the Go button.

Now you need to set this new password in the configuration files.

You can use this command from shell:
Code: [Select]
nano /root/.my.cnf
and edit also this file
Code: [Select]
nano /usr/local/cwpsrv/htdocs/admin/include/db_conn.php


To check the password you the instructions bellow.

You can use this command from shell:
Code: [Select]
grep password /root/.my.cnf
or this one
Code: [Select]
grep db_pass /usr/local/cwpsrv/htdocs/admin/include/db_conn.php

1464
How to / how to secure CentOS server using CWP features
« on: June 29, 2014, 07:43:20 AM »
how to secure CentOS server using CWP features

1. Enable CSF Firewall (in CWP.root in security menu you have CSF Firewall)
2. Change SSH port
3. Enable ModSecurity with OWASP security rules
4. Use only random generated passwords


How to enable CSF Firewall
In your CWP menu go to Security --> CSF Firewall and click on firewall enable



How to change SSH port
In your CWP menu go to Services Config --> SSH Configuration
now replace #22 with eg. 8404 and restart ssh server on index page of the CWP

You will need to add this port also in CSF Firewall
1. go to Security --> CSF Firewall --> Firewall Configuration
2. replace TCP_IN and TCP_OUT port 22 with your port
3. restart CSF Firewall

cut from configuration
Code: [Select]
# Allow incoming TCP ports
TCP_IN = "20,21,22,25,53,80,110,143,443,465,587,993,995,2030,2031"

# Allow outgoing TCP ports
TCP_OUT = "20,21,22,25,53,80,110,113,443,2030,2031"



How to Install ModSecurity with OWASP security rules
In your CWP menu go to Security --> Mod Security and click on Install Mod Security



Use only random generated passwords
One of the most important things is to ALWAYS use random generated passwords with length 8+ characters.
CWP also has built in random password generator which will generate random password for each new account on creation.

One of best tools for that is here:
https://www.random.org/passwords/

Random passwords needs to be used for all public services like:
 - CMS applications like Wordpress admin user
 - FTP Passwords
 - Email Account Passwords
 - Account passwords
... and any other available on the internet

1465
How to / how to create new user account on CentOS Web Panel
« on: June 29, 2014, 07:22:12 AM »
how to create new user account on CentOS Web Panel [CWP]

1. Login to your CWP.root (Admin Area)
2. Click on User Accounts
3. Click on New Account (Create a New Account)
4. Fill new account  form (Domain,Username, Password, Package, Email address, Backup)

Account Creation Will do the following
- Create New Account with shell disabled
- Add Configuration for a domain in apache config file (suPHP,suExec, Domain path)
- Create public_html folder (used for uploading public scripts)
- install default template (index.html file)
- restart/reload apache  configuration
- Create and reload DNS zone for a domain

Now you can upload your files using ftp login details of the account.


suPHP requires following permissions
Folders: 755
Files: 644



1466
Installation / Re: BIND DNS Server not starting
« on: June 29, 2014, 05:07:12 AM »
check that you have A records for your nameservers if you use them

In DNS zone floridainet.com add ns1 and ns2 records.


1467
Apache / Re: How I configure my web site?
« on: June 28, 2014, 11:57:29 AM »
if you create new user using this functions in the CWP "Create New Account" this will automaticly install user and add public_html folder.
after this user s created all you need to do is upload your website.

follow this example
http://forum.centos-webpanel.com/aplications/how-to-install-wordpress-to-linux-server/

1468
Installation / Re: BIND DNS Server not starting
« on: June 28, 2014, 11:53:50 AM »
by default Bind DNS is disabled for security reasons, but you can enable it by clicking start under services and in chkconfig you can enable it "Set to On" so that it starts on server boot.

you will need to add A records for your own nameservers

more details are here
http://forum.centos-webpanel.com/dns/how-to-setup-dns-(bind)-on-server/

1469
Installation / Re: Install Good Websites Bad
« on: June 24, 2014, 03:53:54 PM »
dns only points domain to IP address and apache then opens correct folder for a domain, for further assistance you will need to write all details or use managed support.


1470
Installation / Re: Install Good Websites Bad
« on: June 24, 2014, 03:21:36 PM »
what files are bugged, please write only detailed posts

Pages: 1 ... 96 97 [98] 99 100 ... 110