rpm & yum
hey,,
I have a redhat satellite server and I needed to install mysql, php and httpd so I obviously used "#yum install ...." to do the job, which will install the packages in the default location! but what came up is that I have to install them in separate folders so I can give the ownership of it to the developer to do all his work by him self, So I have to remove the packages again using yum and I have to write down all packages used in dependency so I can copy them manually from the satellite and install it one by one using "rpm -ivh <package name> <folder name>" (they are 4 packages in total) got to get them by "#yum list ... then #rpm -qa ..." 1- mysql-5.1.66-2.el6_3.x86_64 2- mysql-server-5.1.66-2.el6_3.x86_64 3- php-5.3.3-14.el6_3.x86_64 4- httpd-2.2.15-15.el6_2.1.x86_64 CONFUSION: -couldn't find the package in the satellite, i was using "#find / -name <package name>" -how can i make sure that the above package name are the only one needed and I wont screw any thing else -am I doing right ? |
This sounds like a rather strange way of doing things. Normally, you'd install the packages as normal and then give the developer whatever access rights he needs to perform his work. That is, you'd give his account the ability to write into the web server root directory and, if necessary, the ability to edit the Apache and PHP configuration files and restart the server. Giving him the ability to create and edit files can be done by setting group ownership and permissions appropriately (e.g. create a "devel" group, put the developer into it, and make the web root, config files, etc. editable by memebers of that group). You can use sudo to give the developer the ability to restart the server.
In general, development should be done on a separate machine (physical or virtual) from any system running production services (not sure if your satellite server is serving packages to other systems). This system should be inaccessible to the public via firewall rules. Developed code should be tested/QA'd and then moved to a separate production server. |
Quote:
Quote:
Quote:
Quote:
Quote:
|
Quote:
I might missed explaining the situation well,, this is a developing server, and we are currently in the level of building it for them,, and the vendor brought by them is asking to install what I mentioned in my first post and the idea is to create a separate folder for each to make them able to create the database them selves and configure them httpd as they wish because they will be fully responsible about them apps. i don't know how would i adjust that! |
Quote:
please read my previous answer to btmiller Quote:
Quote:
Quote:
Quote:
here I am meeting much more opinions and experiences as of yours :) |
Quote:
Quote:
Quote:
Quote:
Want a better answer? Call Red Hat, or get someone else at your company who knows more to help you. |
Quote:
but anyways,, I found alternatives mysql + php + httpd is not relocatable by using rpm or yum but I found a solution searching around mysql and PHP will be installed normally by yum again and I have created a filesystem to be used as a database and gaved them "mysql" ID to do them work and as of httpd,, you can change the source file for httpd from /var/www/html to any location you want by changing the "DocumentRoot" to direct to the demanded folder which have the ownership of the developer and added a sudo privilege to only stop and start the concerned services job done :) NOTE: am not the one who payed to redhat for the support, my employer did so. and I will still wont have the well to call them |
by the way
you can also search by the package name and the version +example: "#find / -name httpd-2.2.15-15*" <<<< you will find it in this way as the full name is having extra info which will interrupt your search process +example of the full name displayed by "#rpm -qa ..." httpd-2.2.15-15.el6_2.1.x86_64 |
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
|
Please cut it out both of you and focus on the technological issue at hand,
TIA. |
Quote:
"as I already mentioned,, am gaining alot just in talking to you people,, but I think I came up to ur nerves and I would like to apologize for that TB0ne,, sorry chap :) " |
All times are GMT -5. The time now is 08:12 PM. |