Server :: Run Rpmbuild -bb On Centos 5.5 Box To Create The Rpm For Python 2.7
Feb 23, 2011I've been attempting to run rpmbuild -bb on my centos 5.5 box to create the rpm for Python 2.7 to no success.
View 3 RepliesI've been attempting to run rpmbuild -bb on my centos 5.5 box to create the rpm for Python 2.7 to no success.
View 3 RepliesI am trying to install OpenCV2.2.0 from the sources and to make it easier in the future I want to create a rpm on my OpenSuse 11.2 x86_64 platform. The instructions how to install are in the specfile The relevant parts of the specfile below:
Code:
---snipp
%prep
%setup
%build
[code]....
yum dependency problem please? I am running Centos 5.5. I need to install python-devel, but when I do so I get:
[Code]....
How can I upgrade python-2.4.3 to python-2.5?
View 1 Replies View RelatedI have a centos 5.4 64-bit machine. I installed the directory server following those steps.
I then added some users using the Centos Management Consolecentos-idm-console -a http://localhost:3890 &
I want to create 3D animation and also make some big programs. Is python capable of that? or should I stick to C++?
View 3 Replies View RelatedI'm starting with menus, but I can easily adapt it to everything else. I just don't see the data structure yet.Here is my base file:
Code:
#!/usr/bin/evy python
'''create basic window, with a button, status/menu bar and dialog boxes'''
[code]....
I would like to know how to create a A,NS and MX record in centos.
I dont know where the DNS zone file is in CentoS
I'm trying to create some PHP extensions. I have installed php-devel as well as the other preqs I thought were required. However I'm not able to find ext_skel. The file README.EXT_SKEL was installed, but not the actual program (find / -name ext_skel). My understanding was ext_skel was installed with php-devel. I know it is in the source code, but I'm not sure where to get the source for PHP 5.1.6 for my version of CentOS.
I'm running linux 5.3
2.6.18-128.1.10.el5
i386
I would like to create a customized CentOS server, or it will serve me as a server (postfis) postfixadmin, Hylafax, webmail (Roundcube for example) and may be I would integrate suger crm.
If I create it all this server and it runs perfectly. my goal is I create a compilation or for example I install this distrubution and wonder just some configuration (eg IP address or the time just) knowing that by the end of the installation I find hylafax, postfix , and all AC roundecube install it remains for me to set them up! Taking the example of Elastix cd: www.elastix.org/ or it can make all AC (but its main role is the PABX).
I was trying to create a centos box with xfs partition,how can we install centos enabling the partion with xfs filesystem. rather than doing after installation.
View 1 Replies View RelatedHave been playing with Centos 5 and finally got it installed and have done most of the updates. Before I proceed much further it would be nice if I could create a backup/install disc of how it is now. No Data,just the setup and software used etc.Have a dvd rw on the server.I recall mondo rescue installed years ago on a linux server we used.
View 9 Replies View Relatedcreating independent sub-domains on my VPS.To describe this in clear words below is the example:I have a domain named as demo.com and k it as test1.demo.comand i have only one IP address assigned to me, which points to demo.com.So how can i set this sub-domain so that I will serve as a separate entity
View 5 Replies View RelatedWe can create normal raid levels in centos using mdadm, but how can we create nested raid levels ( example raid 1+0 Raid 0+1).
View 2 Replies View Relatedi have created a user like this :
useradd -d /home/testuser -s /bin/bash -c "Test User" testuser
passwd testuser
After this beeing done, i whant to login with this user via ssh using putty. Do i have to set-up something in centos 5.3 to allow user logins via ssh? With root user i can login without problems.
is there anyone here knows how to setup Dial up server in CentOS 5.3?
View 3 Replies View RelatedI need to create a server for a database that has a .db file that is over 800Gb. now my first disk is 50Gb and i do the standard
100m ext2 boot
2000m swap
* / ext3
now I have a second 1.2T that i want to be /opt is there a way to set up 4kib block size in ext3 in the os install? or should I do it after the install? Is this block size even big enough?
i am in final semester and almost being stuck to create a streaming server. can any body tell me that how can i create a streaming server on centos 5?
View 2 Replies View RelatedI have a CentOS 5.5 server that has just recently been updated to 5.6 running PostgreSQL 8.4 and Drupal for an internal website. The server is also acting as a shared network storage between the Linux server and Windows desktops with Samba.
I just recently purchased a license to run Symantec Backup Exec System Restore 2010 for Linux and the only operating systems that are supported are RedHat and Suse Linux.
Does anyone know of a nice open source solution that we can use to create backup images of the server?
In the event of a server crash, we want to be able to rebuild the server via a bit-by-bit backup image.
The CentOS 5.6 is 32bit
I have a CentOS server that has all of the applications and security settings that I want. I would like to create a bootable ISO image of that server that can be installed across a wide variety of hardware platforms. What are the recommended tools for doing this with CentOS?
View 1 Replies View RelatedI want to be able to create an RPM that will install python 2.7.1 along with sqlite 3.7.3, MySQL-Python-1.2.3 on a CentOS 5.5 x86_64 host(s) in a directory (e.g. /opt/python2.7). Once that's done, I want to be able to alias the new python binary in .bash_profile so that my developers can begin using it.
I understand 2.7.1 can't be installed on a CentOS host but I've done the above using a shell script successfully. If you search hard enough, I posted my script on line . However, I need to create the RPM for political reasons. Besides placing the source file(s) in the SOURCES directory, what do I need to do in the spec to be able to successfully create an RPM installer?
Please be gentle with me. I've been drinking the Windows cool-aid for most of my IT career so, this is one of my first attempts of becoming a better DevOps Admin.
I have a situation where i need to turn a dictionary entry into a variable. I think i'm close, but am getting a syntax error (quoted at bottom)...
Code:
## Parameters.py
def dictionary_function():
p = {}
p['param_1'] = 10
[Code].....
how to dynamically create a list within a dictionary using Python.
Code:
dates = defaultdict(int)
array = []
...
dates[m.group(3)] = array.append(date)
dates[m.group(3)] = [array.append(date)]
dates[m.group(3)].append(date)
None of the above works and I've tried everything I can think of.
The intent here takes a little background info.I'm trying to make a basic inventory control to reinforce my studies. It will have a while loop that displays amenu for add, edit, view, and quit. Lets assume the following:
Code:
class inventoryItem:
itsDescriptiveName = None
[code]....
I built a CentOS 5 Linux cluster with GFS storage using local RAID volume and share it with gnbd_export/import on two web-servers. Now I need to expand that storage to another servers local volume. I saw the picture in the manual, but I don`t know, how can I create that scheme.
I can use gnbd_export on the second server and gnbd_import on the first. In that case I will have two volumes on the first storage and I can expand volume group, logical volume, etc on it.
I'm working in a little company and 2 weeks ago one of our server had a hard disk failure (yes it was a seagate 11) and after passed two days without sleep trying to recover everything (and we did it!!) we took the decision now to use in some of our server a raid sw, so if one HD fail we can continue with our system without losing nothing. Yes I know normally you have to take all the precautions before so this things never happen, but you know I thing if it never arrives you, you always think than you're lucky and it's never going to happen to you but one day you discover reality.
So now this server is working with a Centos and the default HD partitions one boot partition and the LVM. I'm reading everything I'm finding about raid sw and lvm but I don't find if it's possible to create now with the system working a raid sw without having to reinstall all the system. Is it possible to do it ? If not what are my options to make a system backup before reinstalling everything?
i have a server running on centos5, i have run vsftp and samba, and i need create a user through command line and set your default directory, i can do this through graphic interface, but i need do throug line command.
View 12 Replies View RelatedI just ordered a new unmanagd VPS I have already Apache, PHP and Mysql the only problem I have now is how to create a A,NS and MX record in CentOS. I dont know where the DNS zone file is in CentoS
View 2 Replies View RelatedI am working with ubuntu (linux) and have to create a graphical user interface. The GUI is a 2-D plot that have to plot a point. The point ( x and y co-ordinates) are not hardcoded, and are coming from another file (another piece of code written in c / python). I was thinking to use Glade with c/python to create this. But, I am not sure how to start with this.
View 4 Replies View RelatedI noticed in Fedora that in Authenticate Configs ->Advanced, that there is an option to "Create home directories on the first login".I'd like to know if its possible to enable that through a text config file on a CentOS box that has ldap authentication enabled. Right now it's complaining that the home folder does not exist upon loggin with an ldap account.
View 1 Replies View Related