I don't have that script:
[root@ts-z600-1 php-virt-control]# pwd
/var/www/html/php-virt-control
[root@ts-z600-1 php-virt-control]# ls -l
total 384
-rwxrwxrwx 1 apache root 22000 Dec 6 2011 aclocal.m4
drwxrwxrwx 2 apache root 4096 Dec 1 2011 auth
-rwxrwxrwx 1 apache root 454 Jun 28 2011 AUTHORS
-rwxrwxrwx 1 apache root 1457 Dec 1 2011 auth.php
-rwxrwxrwx 1 apache root 0 Jul 22 2011 ChangeLog
drwxrwxrwx 2 apache root 4096 Dec 3 15:27 classes
drwxrwxrwx 2 apache root 4096 Dec 3 15:25 config
-rw-r--r-- 1 root root 4862 Dec 3 12:49 config.log
-rwxr-xr-x 1 root root 25659 Dec 3 12:49 config.status
-rwxrwxrwx 1 apache root 99287 Dec 6 2011 configure
-rwxrwxrwx 1 apache root 159 Dec 5 2011 configure.ac
-rwxrwxrwx 1 apache root 35147 Jul 22 2011 COPYING
drwxrwxrwx 2 apache root 4096 Aug 30 2011 data
-rwxrwxrwx 1 apache root 1161 Dec 1 2011 dialog-login.php
-rwxrwxrwx 1 apache root 667 Aug 22 2011 error-connection-db.php
-rwxrwxrwx 1 apache root 616 Aug 22 2011 error-missing.php
-rwxrwxrwx 1 apache root 624 Aug 22 2011 error-need-update.php
-rwxrwxrwx 1 apache root 351 Aug 22 2011 error.php
-rwxrwxrwx 1 apache root 1035 Dec 5 2011 functions.php
drwxrwxrwx 2 apache root 4096 Jun 23 2011 graphics
-rwxrwxrwx 1 apache root 2014 Aug 22 2011 index.php
-rwxrwxrwx 1 apache root 3424 Dec 3 13:34 init.php
-rwxrwxrwx 1 apache root 1167 Dec 6 2011 INSTALL
-rwxrwxrwx 1 apache root 13663 Dec 6 2011 install-sh
drwxrwxrwx 2 apache root 4096 Dec 6 2011 lang
drwxrwxrwx 2 apache root 4096 Sep 14 2011 logs
-rwxrwxrwx 1 apache root 536 Dec 5 2011 main-menu.php
-rw-r--r-- 1 root root 21368 Dec 3 12:49 Makefile
-rwxrwxrwx 1 apache root 114 Oct 1 2011 Makefile.am
-rwxrwxrwx 1 apache root 20674 Dec 6 2011 Makefile.in
-rwxrwxrwx 1 apache root 1774 Jul 21 2011 manager.css
-rwxrwxrwx 1 apache root 1149 Aug 22 2011 menu.php
-rwxrwxrwx 1 apache root 11419 Dec 6 2011 missing
-rwxrwxrwx 1 apache root 34 Jul 22 2011 NEWS
drwxrwxrwx 3 apache root 4096 Dec 6 2011 pages
-rwxrwxrwx 1 apache root 2991 Dec 5 2011 php-virt-control.spec
-rwxrwxrwx 1 apache root 270 Jul 24 2011 README
drwxrwxrwx 2 apache root 4096 Dec 3 12:49 tools
[root@ts-z600-1 php-virt-control]# find . -name "autobuild.sh"
[root@ts-z600-1 php-virt-control]# find . -name "*.sh"
[root@ts-z600-1 php-virt-control]#
Where do I get that script?
Best Regards,
Adam Scarcella
Sr. Support Engineer | Spotfire, TIBCO Software Inc.
Office: (617) 702-1559 | Mobile: (781) 367-8015
Email: mailto:ascarcel@tibco.com
Web:
http://spotfire.tibco.com/support
-----Original Message-----
From: Michal Novotny [mailto:minovotn@redhat.com]
Sent: Tuesday, December 04, 2012 10:06 AM
To: Adam Scarcella
Cc: Virtual machine control for PHP; Adam
Subject: Re: [php-virt-control] Installation on CentOS 6.3 and MySQL 5.1
Try the ./autobuild.sh script. This should generate it for you. There are no RPMs for
RHEL/CentOS but the autobuild script should do it for you.
The development has been done on Fedora 17 x86_64 so if this helps, you can find RPM for
F-17 x86_64 at
http://people.redhat.com/minovotn/php-virt-control-0.0.4-1.fc17.x86_64.rpm
.
Michal
On 12/04/2012 03:12 PM, Adam Scarcella wrote:
Where can I find the RPM? I only found a tar.gz and had to run
./configure, make && make install. Then I used the .spec file to build an rpm
using rpmbuild, but it didn't work, so I never actually "installed"
anything. My path is relative to my apache doc root and not /etc/ because I extracted the
tar.gz there. I'm assuming that the RPM will install everything into /etc/ correct?
Anyway, please let me know where I can download the RPM for CentOS
6.3 x86_64. Thanks.
Best Regards,
Adam Scarcella
Sr. Support Engineer | Spotfire, TIBCO Software Inc.
Office: (617) 702-1559 | Mobile: (781) 367-8015
Email: mailto:ascarcel@tibco.com
-----Original Message-----
> From: Michal Novotny
[mailto:minovotn@redhat.com]<mailto:[mailto:minovotn@redhat.com]
Sent: Tuesday, December 04, 2012 9:04 AM
To: Virtual machine control for PHP
Cc: Adam; Adam Scarcella
Subject: Re: [php-virt-control] Installation on CentOS 6.3 and MySQL
5.1
Not yet as there was no time to do so but the simple RPM installation
should work fine.
Michal
On 12/04/2012 02:17 PM, Adam wrote:
> I could not find a set of comprehensive installation
instructions.
> Does such a document exist?
>
>
Best Regards,
>
>
Adam Scarcella
> 870 Haverhill Street, Unit 4C
> Rowley, MA 01969
> H: (978) 432-1631
> M: (781) 367-8015
>
> On Dec 4, 2012 7:26 AM, "Michal Novotny"
<minovotn(a)redhat.com
> <mailto:minovotn@redhat.com>> wrote:
>
> Hi Adam,
> it seems to be path related.
>>
>>
>
*sftp://ts-z600-1.na.tibco.com//var/www/html/php-virt-control-0.0.3/config/connection.php*
>>
<
http://ts-z600-1.na.tibco.com//var/www/html/php-virt-control-0.0.3/config...
>>
> > <?php
> > /*
> > * Define type of storage type
> > * Currently supported storages are mysql or file
> > */
> > $type = 'mysql';
>>
> > /*
> > * Define configuration file for the storage
> > * For 'file' type it is the data file to
store data into
> > * For 'mysql' type it is the name of the
connection
> configuration file
> > */
> > $config = 'mysql-connection.php';
>>
>
> You should put absolute path there if the location is
> config/mysql-connection.php, by default the php-virt-control
looks to
> /etc/php-virt-control for the file specified, i.e. it's
trying to look
> for /etc/php-virt-control/mysql-connection.php in this case
IMHO.
>
> Hope this helps and if not, I'll try to reproduce the
behavior to
> provide better help.
>
> Thanks for using php-virt-control!
> Michal
>
>
>> > ?
>>
>>
>>
>
*sftp://ts-z600-1.na.tibco.com//var/www/html/php-virt-control-0.0.3/config/mysql-connection.php*
>>
<
http://ts-z600-1.na.tibco.com//var/www/html/php-virt-control-0.0.3/config...
>>
> > <?php
> > /* Name of the database server */
> > $server = 'localhost';
>>
> > /* Username for database server */
> > $user = 'php-virt-control';
>>
> > /* Password for $user */
> > $password = 'support';
>>
> > /* Name of the database with the tables */
> > $dbname = 'php-virt-control';
>>
> > /* Prefix of tables for php-virt-control */
> > $prefix = 'vmc_';
>> > ?
>>
>>
>>
> > [root@ts-z600-1 html]# mysql -u php-virt-control -p
> > Enter password:
> > Welcome to the MySQL monitor. Commands end with ;
or \g.
> > Your MySQL connection id is 71
> > Server version: 5.1.66-log Source distribution
>>
> > Copyright (c) 2000, 2012, Oracle and/or its
affiliates. All
> rights
> > reserved.
>>
> > Oracle is a registered trademark of Oracle
Corporation
> and/or its
> > affiliates. Other names may be trademarks of their
respective
> > owners.
>>
> > Type 'help;' or '\h' for help. Type
'\c' to clear the current
> > input statement.
>>
> > mysql> show databases;
> > +--------------------+
> > | Database |
> > +--------------------+
> > | information_schema |
> > | cloud |
> > | cloud_usage |
> > | cloudbridge |
> > | mysql |
> > | php-virt-control |
> > +--------------------+
> > 6 rows in set (0.00 sec)
>>
> > mysql> SELECT DATABASE();
> > +------------+
> > | DATABASE() |
> > +------------+
> > | NULL |
> > +------------+
> > 1 row in set (0.00 sec)
>>
> > mysql> USE php-virt-control;
> > Database changed
> > mysql> SELECT DATABASE();
> > +------------------+
> > | DATABASE() |
> > +------------------+
> > | php-virt-control |
> > +------------------+
> > 1 row in set (0.00 sec)
>>
> > mysql> SHOW TABLES;
> > Empty set (0.00 sec)
>>
>> > mysql
>>
>>
> > Please help!
>>
>>
Best Regards,
>>
>>
>>
>>
Adam Scarcella
>>
>>
>>
>>
Sr. Support Engineer | Spotfire, TIBCO
Software Inc.
>>
>>
Office: (617) 702-1559 | Mobile: (781)
367-8015
>>
>> > Email: mailto:ascarcel@tibco.com <mailto:ascarcel@tibco.com
>>
>>
>>
>>
>>
> > Description: Description: TIBCO-Spotfire-Logo
>>
>>
>>
> > _______________________________________________
> > php-virt-control mailing list
>> >
php-virt-control@lists.fedorahosted.org<mailto:php-virt-control@lists.fedorahosted.org
>> <mailto:php-virt-control@lists.fedorahosted.org
>>
>
> --
> Michal Novotny <minovotn(a)redhat.com
<mailto:minovotn@redhat.com<mailto:minovotn@redhat.com%20%3cmailto:minovotn@redhat.com>>>,
> RHCE, Red Hat
> Virtualization | libvirt-php bindings |
php-virt-control.org
>> <
http://php-virt-control.org
>
> _______________________________________________
> php-virt-control mailing list
>>
php-virt-control@lists.fedorahosted.org<mailto:php-virt-control@lists.fedorahosted.org
>> <mailto:php-virt-control@lists.fedorahosted.org
>
>
>
> _______________________________________________
> php-virt-control mailing list
>>
php-virt-control@lists.fedorahosted.org<mailto:php-virt-control@lists.fedorahosted.org
--
Michal Novotny
<minovotn@redhat.com<mailto:minovotn@redhat.com>>, RHCE, Red Hat
Virtualization |
libvirt-php bindings |
php-virt-control.org
--
Michal Novotny <minovotn@redhat.com<mailto:minovotn@redhat.com>>, RHCE, Red
Hat Virtualization | libvirt-php bindings |
php-virt-control.org