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 ... 100 101 [102] 103 104 ... 110
1516
have you checked /etc/named.conf  ?

1517
you will need to use ssh for editing this file, in new version we will try to upgrade file_editor for this issue.

1518
can you contact support for more detailed check over this contact form:
http://centos-webpanel.com/contact


1520
PHP / How to install ioncube loader in PHP on CentOS linux
« on: May 27, 2014, 11:01:10 AM »
Ioncube is located at :
/usr/local/ioncube

php.ini  location:
/usr/local/php/php.ini

Your PHP version must match ioncube version
eg. PHP 5.5 will use file: ioncube_loader_lin_5.5.so
eg. PHP 5.4 will use file: ioncube_loader_lin_5.4.so
eg. PHP 5.3 will use file: ioncube_loader_lin_5.3.so

to include ioncube in php.ini first select version using ls command:
Code: [Select]
php -v
ls /usr/local/ioncube


to include eg file "ioncube_loader_lin_5.4.so" in PHP 5.4 use this command:
Code: [Select]
echo "zend_extension = /usr/local/ioncube/ioncube_loader_lin_5.4.so" >> /usr/local/php/php.ini

1521
PHP / Re: Zend and IonCube
« on: May 27, 2014, 10:41:45 AM »
you can add it/include in your php.ini

1522
PHP / Re: If configure fails try --with-jpeg-dir=<DIR>
« on: May 26, 2014, 01:06:17 PM »
PHP 5.2 requires:

Code: [Select]
yum install libjpeg-devel

1523
PHP / Re: PHP Version Switcher
« on: May 25, 2014, 02:04:46 PM »
post is updated, it will use same location no changes.

1524
Installation / Re: Install Error
« on: May 24, 2014, 09:43:37 PM »
% - Any IP can access database

1525
PHP / PHP Version Switcher
« on: May 24, 2014, 09:38:32 PM »
Now CWP has PHP Switch option in which you can very easily switch to other PHP version and recompile it with desired modules.

How to use it?
- Click on PHP Version Switcher (here you will get server PHP version and compiled modules which your server has now compiled).
- Select PHP Version you wish to compile in drop-down menu and click next.
- In PHP compiler you can add or remove modules you want (please use only: one per line).
- Click on Start compiler and compiler will start to work in background.

Compiler needs from 5 to 20 minutes to finish depending on modules you are installing and your CPU power.
You can return in eg. 15 minutes and in CWP - PHP Version Switch check which version of PHP and modules you now have.

Your websites and CWP will work during compiler process and PHP will be update when compiler is completed and only if its successful.

You can check PHP compile logs in file:
Code: [Select]
/var/log/php-rebuild.log
If you wish to monitor compiler then use this command from shell:
Code: [Select]
tail -f /var/log/php-rebuild.log




1526
Backup / Remote Disk Backup SSHFS
« on: May 24, 2014, 09:10:08 PM »
CWP now is now providing you possibility to mount remote disk from any server to your server as local using fuse-sshfs.

How this works?
If you have any access to ssh on some other server you can mount that disk space as folder on your server, this is mostly used for backups in local networks.

Disk Details are looking like this:
Code: [Select]
[root@rec2 /]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/simfs            180G  2.3G  178G   2% /
none                  2.0G  4.0K  2.0G   1% /dev
none                  2.0G     0  2.0G   0% /dev/shm
cwptest@backup.cwp.org:
                      1.8T  1.8T     0 100% /backup

Requirements
- Server with CWP and allowed FUSE (on openVZ in most cases this option is not allowed, except eg. on http://mybestwebhosting.net/ which allow it on user request).
    **On dedicated and other Virtualization types you can install all required with one click in you CWP
- SSH Access on the remote server (which you want to use for mount as folder on your server)



How to Setup Remote Disk and use it for backups?
1. In your CWP under backups set backup folder
2. Make sure that backup folder is empty
3. Install required packages (one click in CWP)
4. Click on Generate Key (this will generate ssh key)
4a. Setup SSH Key on remote server --> more info is bellow this tutorial.
5. Enter remote Backup details (server ip or domain, SSH username, SSH Port) and click on Save Configuration
6. Click on Test Connection (if connection works than you can mount disk)
7. Click mount Disk
that is it...



4a. Setup SSH KEY on Remote/Backup server (NOT ON YOUR CWP SERVER)
cd ~USERNAME
mkdir .ssh
chmod 700 .ssh
nano or vi to file and add key from CWP under backup (must be in one line):   .ssh/authorized_keys
chmod 600  .ssh/authorized_keys
chown -R USERNAME:USERNAME .ssh



How to check for errors from command line?
sshfs USERNAME@SERVER-IP: LOCAL--BACKUP-FOLDER -p REMOTE-SSH-PORT

examples:
sshfs cwp@backup.cwp.org: /backup -p 22
sshfs root@185.4.192.11: /backup -p 8407

1527
FTP / Re: Can not SFTP in as Root
« on: May 24, 2014, 06:38:26 PM »
please check firewall and if that don't helps you can contact development for more detailed check

http://centos-webpanel.com/contact

1528
Apache / Re: php wrapper
« on: May 24, 2014, 06:34:33 PM »
have you used http://centos-webpanel.com/contact  ? as you needed to receive response shortly after you sent email?

1529
CentOS 6 Problems / Re: Warnings
« on: May 24, 2014, 06:31:26 PM »
yes this is only issue with old versions of cwp which were using nginx up to 0.7, new version have this fixed but CWP can not be updated to new version as they are completely different in too many things.

1530
Installation / Re: Install Error
« on: May 24, 2014, 06:23:36 PM »
where did you sent email ?

Pages: 1 ... 100 101 [102] 103 104 ... 110