CentOS 5 Server :: Making A Local Repo With Groups?

Apr 9, 2010

i just installed centos 5.4 and trying to make my local repo have groups listing of packages like the mirrors do

so i can make an spin off of the OS to my needs for web servers only / so on but
i cant get my head around the groups making part of the creatrepo

does anyone have any tips or hints or know how to make group listing of the packages

i copyed the DVD to hard drive and the repo .XML files they came with it and tryed that way but no luck yet

im running out of things to try

View 5 Replies


ADVERTISEMENT

CentOS 5 Server :: Cannot Create Local Fedora 13 Repo: PYCURL ERROR 6

Aug 16, 2010

I'm in the process of creating local repos for our company servers (CentOS 5.5) and laptops (Fedora 13). And while the CentOS part went perfect the Fedora part is causing major trouble.But first things first, here's the setup: a central CentOS 5.5 server is running Apache2 and has a VirtualHost listening on Port 8080 for both CentOS and Fedora. The DocumentRoot for this VirtualHost is /data/repo wherein two directories, centos and fedora, reside.

This is the .repo-file for CentOS that works like a charm:

Quote:[local]
name=CentOS-$releasever - local packages for $basearch

[code]...

View 5 Replies View Related

Ubuntu Servers :: Get A List Of Both The Local Groups And The Groups In The Active Directory?

Feb 4, 2011

I already know of a work around to fix this problem, but I guess my question is why is this not working as expected? I am using a Windows Server 2008 R2 Active Directory for authentication.

I have run auth-client-config for the ldap profile and pam-auth-update. When running getent passwd, I get a list of both the local users and the users in the active directory (with populated information in the Unix schema extension). When running getent group I get a list of both the local groups and the groups in the active directory (with populated information in the Unix schema extension).

Interestingly enough, though, when I run su DOMAINUSER, after the prompt for the password I get an authentication error. In /var/log/auth.log I can see an entry with pam_ldap: missing "host" in file "/etc/ldap.conf". The SRV records in the DNS servers resolve correctly. I've checked this with nslookup and I have seen the records within my zone file. Obviously if the ldap.conf file is working with getent and the ldap server is resolving from the SRV records, it is working fine.

The interesting part is that the Windows Server 2008 R2 AD machine shows in the event viewer that there was a successful authentication, yet the Ubuntu box says no. When I add the host within the ldap.conf file, everything works...getent and the actual authentication, either initial login or su.

[Code]...

View 1 Replies View Related

Server :: RHEL 6 Local YUM Repo?

Aug 18, 2011

I'm trying to build a local YUM repository for RHEL 6 and am running into an issue. I can get the repo to build, but I cannot get the gruoplist. I can't find a comps.xml file to run the createrepo -g command against, like there is in RHEL 5. Here's what I have so far:

mkdir /yumrepo
copied RHEL 6 DVD contents to /yumrepo/rhel6
createrepo /yumrepo/rhel6/Packages
(repo builds its lis of 3500+ packages)
yum list shows the lsit of all files within the repo correctly.

I run gpk-application, and I receive the error "The group list was invalid." I need to create the group list. But I can't figure out how? Can someone please explain what I'm missing here? Never had this much trouble with 5, but I know a lot has changed with 6.

View 4 Replies View Related

CentOS 5 Server :: Cannot Create Groups In Directory Server?

Feb 25, 2010

I 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 &

View 3 Replies View Related

CentOS 5 Server :: What Is Configure Option Of Mysql Server From Repo?

May 6, 2010

what is configure option of Mysql server from Centos repo? I mean configuration option used before compilation.

View 1 Replies View Related

CentOS 5 Server :: Samba 3.0.33-3.29.el5_5 + Winbind: Cannot Use UNIX Groups As Valid Users For Shares

Sep 11, 2010

I have setup a Centos5.5 VMWare guest with Samba and Winbind for Active Directory integration, using GUI tools. Authentication works flawlessly, with automatic home directory creation. What I want to achieve now is using local UNIX groups to controll access to shared folders, to avoid bothering AD administrators with groups management. This is my smb.conf global section:

workgroup = COGITANS
password server = domainserver.hq.cogitans.it
realm = HQ.COGITANS.IT
security = ads

[code]....

'finance' is a local UNIX group where I added user 'COGITANSalberto' (I also tried with 'alberto') as a secondary group (primary group is 'domain users' and it cannot be changed). I am sure the user is added, because it is listed in 'getent group'. If I specify user COGITANSalberto in valid users it works, i.e. only that use can access the share, the others get a NT_STATUS_ACCESS_DENIED error. But if I use +finance, access is denied to everybody, and this is the log:

[2010/09/11 14:12:37, 10] smbd/share_access.c:user_ok_token(211)
User COGITANSalberto not in 'valid users'
[2010/09/11 14:12:37, 2] smbd/service.c:make_connection_snum(617)
user 'COGITANSalberto' (from session setup) not permitted to access this share (finance)

[code]....

It seems like winbind cannot recognize finance as a local group. For the same reason, I guess, 'force group = finance' does not work either (files are created with 'domain users' group ownership). My /etc/nsswitch.conf:

passwd: files winbind
shadow: files winbind
group: files winbind

Grants and ownership on the '/repositories/shared/finance' folder are

root:domain users with permissions 775

View 2 Replies View Related

OpenSUSE :: Making An Offline Packman Repo?

Feb 19, 2010

I'd like to make a local repo of Packman openSUSE 11.2 x86_64 repo. Should I download all of the following folders? And what will be an approximate size of this download?

Code:
[DIR]i586/19-Feb-2010 12:25 -
[DIR]noarch/ 18-Feb-2010 22:18 -
[DIR]nosrc/ 29-Oct-2009 19:44 -
[DIR]repodata/ 19-Feb-2010 12:32 -
[DIR]src/ 19-Feb-2010 12:25 -
[DIR]suse/ 29-Oct-2009 19:53 -
[DIR]x86_64/ 19-Feb-2010 12:25 -

View 9 Replies View Related

CentOS 5 Server :: Update Php To Testing Repo Php Via USB?

Dec 6, 2009

how can i update php to the latest version from the testing repo via USB ? my machine has no internet access and no cdrom, my only choice is via USB, i have a 2 gb USB.

edit: i am trying to follow this guide: [URL] since i have no internet access, i have downloaded all files to my USB stick. i added the testing repo manually. is there a way to instruct centos to update these packages from my usb stick ? since i have them on USB, i can upload them on centos.

View 2 Replies View Related

CentOS 5 Server :: Lead Time On Repo Changes For Vsftpd?

Oct 19, 2009

I have never had the packaged vsftpd start with the ssl_enable option set to YES. The mysql on those servers works just fine with SSL enabled. After reading there seems to be a different package available on rh5 repo. This server shows up to date with 2.0.5-12.el5_3.1. The rh5 list shows 2.0.5-16_el5 per this:[URL].. My question is, is there a set lead time till adoption of current RH packages or is just random? I have to have SSL_ftp running and didn't want to step out of the repo lists if possible.

View 4 Replies View Related

CentOS 5 :: Tftp-server Package Not Available In I386 Repo?

Sep 21, 2011

So I'm playing around w/ some Cisco equipment and needed a quick tftp server. Go to command line and type yum install tftp-server. I get No Package available! I can clearly see it here on the i386 repo. Any ideas?? In the meantime, I'm just going to upgrade this lil 600m laptop to CentOS 6 to quickly solve the problem but I thought it was curious.

View 4 Replies View Related

General :: Make All NIS Users Members Of More Than One Local Groups?

Nov 25, 2010

Is this possible to make groups members of a group (the same way aliases work for the mailing system). If not is there a painless way to make all my nis users members of more than one local groups? Maybe set this on the nis side and not per machine setup?

View 1 Replies View Related

General :: How To Mount Remote Samba Share From Local Host With Multiple Groups

May 6, 2010

I am using mount.cifs to mount a remote samba share (both client and server are Ubuntu server 8.04) like this:mount.cifs //sambaserver/samba /mountpath -o credentials=/path/.credentials,uid=someuser,gid=1000.I mounted a user from local system with username and password with mount.cifs but the problem is that the user is part of multiple groups on the remote system and with mount.cifs I can only specify one gid. Is there a way to specify all the gids that the remote user has?

Mount the remote samba with multiple groups on the local system?Browse the mount from 1) with the terminal since I want to pass some files from samba as arguments to local programs.which runs through gvfs; but the newer gnome does not write to disk the ~/.gvfs anymore so I can't browse it in terminal. And the last solution would be NFS but that means that I have to synchronize the uids and gids on the local system with the ones from the server.

View 1 Replies View Related

Software :: Installing From Local Repo

Sep 13, 2010

I have created a local repository to install linux with. (class assignment) Created the following file structure off of /html directory;

/yum/base/13/i386
/yum/updates/13/i386

copied the contents of the packages from my fedora dvd;

mount /dev/cdrom /mnt
cd /mnt/Packages
cp -v * /var/www/html/yum/base/13/i386
cd /
umount /mnt

using rsync against fedora mirror updated the base to have compete set of .rpm packages from the Everything directory. Ran createrepo /var/www/html/yum/base/13/i386 Verified repodata folder was created and the contents are correct, shown below

[Code]....

Boot the PC and start the install using a kickstart file (if you need to see it let me know), all runs fine until it gets to the point of resolving dependency then it errors out - unable to resolve dependency against the repository. May not be the exact phrasing but generally speaking to that effect.

View 2 Replies View Related

CentOS 5 Server :: Local Users Cannot Upload Files To VSFTP SERVER

Nov 25, 2010

I've setup a Lamp Server for Testing, The Lamp Server is Up & Running on CentOs 5.5

I am now trying to setup a VSFTP server where local users can upload files to there home directory so that Apache can serve web pages straight from the directories of system user home/accounts giving users the ability to run their own web sites which are hosted off the main server [tutorial here: [url]

So far i have been able to serve/display index.html files from the users home directory [url] but so far i cant upload files to any user home directory, every time i try to upload a file with filezilla i get this error message: 553 Could not create file. Critical file transfer error

I have searched online for similar problems like mine and so far i've tried alot of the solution but none seem to work. I'm confused, dont know where i went wrong, i put the users in a group called ftpusers and here are the permissions on the users (test, ftpuser & testftp) home directory. have a look an tell me where i went wrong :(

Also the root directory where the web pages are served from is called public_html here are the permissions

Here is my vsftp.conf file can someone check it to see if i made any errors in there:

View 14 Replies View Related

Debian :: Tell To Apt-get To Install A Package From A Local Repo?

Feb 13, 2011

I have a local repository, and declare also a remote one, I want to tell to apt-get to install a package from a local repo, if it exists. it seems that it begins from the remote. here is my sources:

deb file:/home/CD1 squeeze main
deb file:/home/extra6 /
deb http://ftp.fr.debian.org/debian squeeze main non-free contrib

View 1 Replies View Related

CentOS 5 Server :: Mail Server Within Local Area Network?

Oct 1, 2010

i have successfully done the setup of postfix and dovecot on this link [URL]I run Cent OS on top of window 7 via VM Player,i want to access mailbox from windows 7 using email client like Thunderbird and Outlook. What setting i need to do in my mail server ?

View 1 Replies View Related

Debian Configuration :: Local Repo - Apt-get Failing Release.gpg

Aug 8, 2011

I am trying to create a local debian repo for 3rd party apps and my own deb's. I have done the following: dpkg-scanpackages debian | gzip -9c> debian/Packages.gz Which did create a file called Packages.gz in the directory However, when I do apt-get update on a client machine I get the following error: W: Failed to fetch [URL] Could not connect to 10.1.1.10:8080 (10.1.1.10). - connect (111: Connection refused) W: Failed to fetch [URL] Unable to connect to 10.1.1.10:8080: W: Some index files failed to download, they have been ignored, or old ones used instead.

View 1 Replies View Related

Ubuntu :: Curl Permission Error With /usr/local/bin/repo?

Aug 2, 2010

I'm trying to grab "repo" using curl and put it into /usr/local/bin/ but I can't seem to figure out why I'm getting a permission error:

Code:
$ sudo curl https://android.git.kernel.org/repo > /usr/local/bin/repo
bash: /usr/local/bin/repo: Permission denied

[code]....

View 1 Replies View Related

Debian :: Setting Up Info Of Local Repo In Installation

Apr 15, 2010

I've created a local repository, my web server (apache) is up and running and my repo is inside it, so I want to install debian using it, in the stage of enter manually the info of the debian mirror I put:

1. debian archive mirror hostname:
192.168.10.1
2. debian archive mirror directory:
/repo

But after this, the installation tell me that it doesn't find the repo, I tried several ways, like: http://192.168.10.1; /repo/; /repo/ binary/ but nothing. What is the correct syntax to use my local repo?

View 1 Replies View Related

Programming :: GIT - Remote Repository Moved - How To Tell My Local Repo To Use The New One

Jan 12, 2010

I have a local git repository that pushes to a remote repository. That remote repository moved to a new server. How do I make "git push" and "git pull" push/pull to/from the new repo?

View 3 Replies View Related

Fedora Installation :: Creating Local Repo For HTTP / FTP Installs

Jul 15, 2009

I'm having trouble installing Fedora 11 using the URL method. When I put in a F11 netinstall CD, or even Disc 1, I press tab on the first option and add "askmethod" to the end of the text. Each time I point the installer to my local FTP and press enter after typing in the FTP url, the installer just hangs there. I've even tried deleting ALL the files from the F11 folder on my FTP server and downloaded ALL the files at:
ftp://ftp.linux.ncsu.edu/pub/fedora/...edora/i386/os/

Still...the same thing.
When I pointed the installer to:
ftp://ftp.linux.ncsu.edu/pub/fedora/...edora/i386/os/
Everything worked fine, albeit slow as it was DL from the NCSU FTP server.
Am I doing something wrong with my FTP server? It is anon, so there is no authentication issues.

View 5 Replies View Related

Fedora Servers :: Cannot Create Local 13 Repo: Pycurl Error 6?

Aug 16, 2010

I'm in the process of creating local repos for our company servers (CentOS 5.5) and laptops (Fedora 13). And while the CentOS part went perfect the Fedora part is causing major trouble.

But first things first, here's the setup: a central CentOS 5.5 server is running Apache2 and has a VirtualHost listening on Port 8080 for both CentOS and Fedora. The DocumentRoot for this VirtualHost is /data/repo wherein two directories, centos and fedora, reside.

This is the .repo-file for CentOS that works like a charm:

Quote:

[local]
name=CentOS-$releasever - local packages for $basearch
baseurl=url
enabled=1

After the CentOS repository was up and running I follwed the exact same steps and was expecting to find a Fedora repo up and running (I know, I know, silly me...). However, yum complains it cannot download the repomd.xml. The .repo-File is as follows:

Quote:

[local]
name=Fedora $releasever - $basearch
baseurl=http://icld:8080/fedora/$releasever/local/$basearch
enabled=1
gpgcheck=0
protect=1

Yum returns the following error message:

Error: Cannot retrieve repository metadata (repomd.xml) for repository: local. Please verify its path and try again

The path is definitely correct - copying the url and pasting it into a webbrowser returns the correct repomd.xml file, so does pasting it to wget.

Any ideas? Does createrepo need any parameters in order to create a working Fedora repository?

View 3 Replies View Related

OpenSUSE :: Download With Rsync All Packages And Make Local Repo?

Nov 28, 2010

in home I do not have internet connection, but in work I have internet connection, in home I install Fedora 14 for my 6 years old daughter and she use it for play games like supertux and openarena and .So I want install opensuse for my daughter and I want test it. for fedora , I download all packages with rsync in work and move them to home by USN flash and then I make localrepo in home and install all packages , I need , I want do this for OpenSUSE , all of us know DVD , does not has all packages , I need , so I have to download all packages and make localrepo in home and install all packages , I need , Can I do this for OpenSuse or not ,I want download all packages need by OpenSuse by rsysc and make loacl repo, How I can do this for Opensuse ?

View 9 Replies View Related

OpenSUSE Install :: Hdd Local Repo - Release Will Be Not Supported Anymore

May 9, 2010

leaving the discussion is this logical or not. If I download the whole www folder to my hdd for example: from [URL] to /mnt/repos/oss/ and replace in package manager source [URL] with local one file://mnt/repos/oss will this work as it works from http server? What i want to do is to backup chosen repos before my linux release will be not supported anymore.

View 9 Replies View Related

Server :: CentOS BIND Local DNS Server

Nov 28, 2010

I've been looking for a good tutorial for setting up a BIND DNS server for my local network. What I want to do is..Have BIND running on my home server receiving all DNS requests.Have certain zones (my.zone.lan) pointing to custom IP addresses (I.E. server.lan points to 192.168.{server IP})Zones that don't exist should be passed on to OpenDNS for processing.

View 6 Replies View Related

Fedora Installation :: Edit Yum.conf To Make Yum Install From Local Repo

Mar 14, 2009

I have successfully installed fedora 10 and have rpmfusion in my /home/ directory. i don't know how to edit yum.conf to make yum install from this local repo. i tried once. But when i tried to install vlc i got an error saying some lib****** files are missing and missing dependencies.

View 2 Replies View Related

OpenSUSE Multimedia :: Create A Local Repo For A Vlc By Downloading All The Required Packages?

Jun 17, 2010

I dont have a internet connection and I want to install VLC. I want to create a local repo for a vlc by downloading all the required packages. I tried to do by downloading all the packages from from VLC repo and create a local repo but failed. Its say this dependency failed and that dependency failed. i tried to manually install each and every dependency but still the problem exists.

View 2 Replies View Related

General :: How Much Disk Space Needed To Setup Local Repo Mirror

Jan 30, 2010

I am thinking about setting up a local Debian Repository mirror. I want it to mirror just the Debian Repo at [URL].. Anyone have any idea how much disk space I might need to do it?

View 3 Replies View Related

General :: Making A Script In /usr/local/bin Shareable?

Jun 19, 2009

I created a small script in order to find out whether a host on the network is up or not ( as root). Made the script executable Code: chmod 711 script But now there is a problem , root can execute the script no probz but when it comes to a normal user who has only x permission on it can execute the script . When I add read permission Code: chmod 715 script the normal user is able to execute the script. But what if I dont want the source to be disclosed and still want only the script to be executable?

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved