Red Hat / Fedora :: Change The Current Directory To Server And Then Create A Repo?

Feb 6, 2011

I was installing yum from the server folder. first i copied the server folder in a folder which was at root then i change the current directory to server and then create a repo by using following command

Server]# rpm ivh createrepo then tab to get the correct name
then ]# createrepo .
]#cd /etc/yum.repos.d/
]# cp -apr rhel_debug_info.repo yum.repo
]# vi yum.repo

[Code]...

how can i completely install the yum so that i can install my necessary packages

View 1 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

General :: Create A File In The Current Directory Named '5' With The Number '2'?

Aug 24, 2010

Code:
$ echo 2 * 3 > 5 is a valid inequality. This will create a file in the current directory named '5' with the number '2' in it, the names of all the files in the current directory, followed by the number '3' and 'is a valid inequality.'

What I do not understand is why 'is a valid inequality' gets written to this file. I thought it would write '2', all the file names in the current directory, then '3' into the file called '5'. Why does the 'is a valid inequality.' get written to the file also?

View 3 Replies View Related

Fedora :: Current Package In F12 Repo Not Include Drivers For MP270

Dec 17, 2010

I am trying to install printer drivers from canon (current package in F12 repo doesnt include drivers for MP270). These rpms have a few prequisites and testing those failed.

Code:
[root@fed cnijfilter-mp270series-3.20-1-i386-rpm]# ./install.sh
Canon Inkjet Printer Driver Ver.3.20-1 for Linux
Copyright CANON INC. 2001-2009
All Rights Reserved.
Execution command = rpm -Uvh ./packages/cnijfilter-common-3.20-1.i386.rpm
error: Failed dependencies:
libpopt.so.0 is needed by cnijfilter-common-3.20-1.i386
However the relevant package (popt) IS installed.

Code:
[root@fed cnijfilter-mp270series-3.20-1-i386-rpm]# find / -name "libpopt*"
/lib64/libpopt.so.0.0.0
/lib64/libpopt.so.0
/usr/lib64/libpopt.so
Made a libpopt.so.0 symlink in /usr/lib64 too, to no avail.

View 4 Replies View Related

Programming :: Change Current Working Directory Through A Perl Script?

May 2, 2010

how can i actually switch to another directory with "chdir" in perl.like the we used to do is bash as:

Code:
$cat abc
cd Desktop/

[code]...

View 1 Replies View Related

Fedora :: Create Repo Cache Proxy?

Aug 8, 2010

Is there a way to create a cache repo so when we update all our machines in Ur school, ones one of the machines do the update, all the other machine in our network will have the updates from the cache server.

we did something like that with APT and ubuntu

View 1 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

Ubuntu :: Create A New Administrative User Of Change The Current User's Group

Sep 3, 2010

This netbook only has a user with non-administrative privs on it and root user but I do not have root's password.Is there a way that I can create a new administrative user of change the current user's group so that it can do sudo commands or have more privs?

View 1 Replies View Related

Fedora :: OpenOffice From Repo: Can't Change Font

Dec 1, 2009

I upgraded to F12 recently and due to SELinux I installed OpenOffice from repo. Now, I open an .ods file I made with orig. OpenOffice 3.1.1 on F11, and find that the font has become bold italic all through the 13 sheets and I can't change it. How can I change it to back non-bold, non-italic? I've looked through Options, but can't find anything useful for this.

View 5 Replies View Related

Fedora :: 12 Create Backup Of Current OS ?

Dec 8, 2009

I have installed Fedora 12 and am running it successfully. I have made a few stupid mistakes a couple of times and have had to start from scratch with a complete OS reinstall on a few occassions. I am happy with my current setup and am wondering is it possible for me to create a Live CD that has my exact configuration so that If I make a mess again, I can just stick in my backup DVD/CD's and roll back to my happy (Known to ne Working) sate. Something like System restore on Windows...... Is this possible?

View 3 Replies View Related

Red Hat / Fedora :: Create VM Of Current System To Test Big Changes

Mar 18, 2010

I have a laptop with 1 hard drive (80gb)

I currently run CentOS 5.4 and I want to create an image of my current hard drive so that I can play it in a VM Player (VirtualBox).

What utility can I use to create a disk image? Also, Since i'm only using 20gb. I think I want to make a "sparse" file so that the image only takes up about 20gb.

Now... if there is an easier way to do this... let me know. I tried a few tutorials online with no progress. I spent all day yesterday trying to figure this out. Literally, all day.

View 2 Replies View Related

Red Hat / Fedora :: Create A LiveCD Image Of My Current 11 Installation

Nov 15, 2010

I have a fedora 11 installation on my machine , with a customized partitioning of the 500GB sata HDD , I wanted to create a exact replica image on a USB stick , for future installations on other 500GB sata HDDs .. while only need to create a copy of the 5 GB (/boot + / ) while the remaining 400 GB + is a Data Logger partition which can be created by a script. I tried doing a rsync .. but have got stuck up with the bootable drive configs et all ..

View 2 Replies View Related

Fedora Installation :: Capture Current State On A Machine And Create Live Cd From It?

Apr 24, 2009

I was just wondering if there is a way to capture current state on a machine and create live cd from it?

If not - what is the best way to create Live CD with optimazied system updates and configuration packages.

View 1 Replies View Related

Server :: Could Not Create Directory Ssh

Apr 29, 2010

I try to run in php script..
================
shell_exec("ssh admin@192.168.1.13 reboot");
===============
in php....I have put the key on server...

i can ssh server without a password.. i got "Could not create directory ssh... " error message from that php script... if i did "ssh admin@192.168.15 reboot" from shell it works ok....

View 5 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

Fedora :: Bash Function Alias To Recursively Grep Current Directory?

Feb 14, 2011

This should be a simple thing to accomplish, but I can seem to figure it out. Essentially, I want to have a bash alias or function that will let me recursively grep the current directory. A while back I added this to my .bashrc:

Code:

alias rg="grep -r --exclude=*/.svn/* --exclude=*.swp"

This works fine, (and also ignores any svn and vim swp files), and I can call it like:

Code:

rg foo *

However, 99.999% of the time, I am only interested in searching in the current directory, so the "*" is a bit redundant. Also, I would say 5-10% of the time, I am typing faster than thinking and forget the "*", so grep just sits there trying to read from stdin. It's a pretty minor thing, but ideally I'd like to be able to just type:

Code:

rg foo

I've tried creating a function to handle this:

Code:

function rg(){
grep -r --exclude=*/.svn/* --exclude=*.swp $1 *
}

but it behaves exactly the same as the alias above. escaping the "*" with 's doesn't work, and neither does trying `pwd` (or even a hard-coded path) in its place.

View 2 Replies View Related

Red Hat :: Ftp User Can't Create A Directory On Ftp Server?

Jan 27, 2010

i'm using ftp server with RHEL-5.1 now i wish to an anonymous user can create and upload some file on my ftp server...for this i configure the entries in /etc/vsftpd/vsftpd.conf

anonymous_enable=YES
# Uncomment this to allow local users to log in.
local_enable=YES

[code]...

View 4 Replies View Related

Server :: Change The Configuration In Httpd.conf File With Out Affect Current Status Of Http Service?

Jan 27, 2011

I need to change the some configuration in httpd.conf file with out affect any current status of http service.

View 3 Replies View Related

Server :: Not Able To Create A New User In Directory Server / Fix It?

Jul 15, 2010

I have just configured a Directory Server and I have been able to login using the credentials as a Directory Manager on the server.

I am working on the server through VMWare.

After logging into the server, when I am trying to add a user, say "user1" I am unable to do so, in the name of the user name field, all I can see is a "u" and not the complete user name, the same thing happens in case I try to setup a password, so i really don't know whether the password that I am setting up is being accepted or not.

Also while trying to add a user, i can see the logs running in the background on the terminal, that a java program is running as I typing or clicking on any button.

Can someone suggest me what to do to proceed ahead, I know its a strange issue, but I have to do it.

View 4 Replies View Related

Red Hat :: Anonymous User Can't Create A Directory On Ftp Server

Jan 27, 2010

i'm using ftp server with RHEL-5.1 now i wish to an anonymous user can create and upload some file on my ftp server... for this i configure the entries in /etc/vsftpd/vsftpd.conf

anonymous_enable=YES
# Uncomment this to allow local users to log in.
local_enable=YES

[code]....

View 3 Replies View Related

Server :: Change The Webroot Of The Httpd Server - Directory Doesn't Exist - CentOS 5

Jun 1, 2009

I have just configured CentOS server my new office. This is the first time I am using CentOS.

Whenever I am trying to change the webroot of the httpd server, it usually say "directory doesn't exist". whereas which can't be the case as it is home directory of the user.

To achieve this, what Do I need to do?

The second issue, I am facing that whenever I am adding new directories to public_html folder, it is not accessible. as the error page 404 is shown. I have changed the permissions to 0705 and ownership is also transferred to other user. What else is required to make new directories accessible by the web?

View 2 Replies View Related

Fedora Installation :: Updates After Install And Repo Lists / Saying Repo Not Found?

Mar 26, 2011

i'm attempting to know and understand fedora more and i will spend probably the next month pouring through all the forums and documents to answer more of my own questions. but there's quite a bit here, so i'd thought i'd ask some noob questions to get me started a little.

ive installed fedora 14 64bit and chosen only kde as the desktop. i selected an extra 2 repos besides the default, fedora 14 -x86_64 and fedora 14-x86_64 -updates. i believe this kernel is installed: 2.6.35.11-83

1. i can only see the 2 extra repo's as being "checked" in kpackagekit, shouldn't i see the default repo also ?

2. i dont have an applet in the system tray indicating the system is up to date, does fedora have this by default ? also after a clean install i ran yum check-update and yum update but the message sayes: "no packages marked for update". i'm not sure if the system is auto-updated during install or not, but with other distros iv tried there is always atleast a few updates needing to be done after install.

3. is kpackagekit the fedora gui package manager ? i dont see any others.

4. i want to upgrade to nvidia drivers, but i think i am missing a non-free repo or something. when i enter: yum install kmod-nvidia xorg-x11-drv-nvidia-libs.i686 xorg-x11-drv-nvidia-libs.x86_64 i get messages stating "no package" i get the same message with yum install nvidia-settings.i also tried this: LANG=C yum --enablerepo=rpmfusion-nonfree info akmod-nvidia but it sayes repo not found.

View 4 Replies View Related

General :: Using Cp Properly - Copy A Directory Somewhere Else Into This Current Directory ?

May 13, 2011

I am in my current directory. I want to copy a directory somewhere else into this current directory. Lets say I want to take it from direc1/direc2 and the directory I want to take is called demo.

Code:

That is what it shows in the man pages, but when I do that, it says cp: no match

View 5 Replies View Related

General :: Create Repository Of Server Directory Which Contains Rpm Files?

Jan 2, 2010

here i want to ask u a simple do quations like

1.how to create repository of Server directory which contains rpm files

now i will tell how to create repo and problem is in it

at first i had created one directory in filesystem /data

#mkdir /data
now i mounted the ftp server to /mnt
#mount 192.168.1.254:/var/ftp/pub/ /mnt
and copied directory of Server
#cp -r /mnt/Server /data
# createrepo -v /root/Server
# vim /etc/yum.repos.d/rhel-debuginfo.repo

[Code]....

2.how to install total packages by using repository through yum command what are the steps to update and remove the packages

View 1 Replies View Related

Server :: 389 DS - Cannot Create Home Directory For User Account

Jul 30, 2011

I am using NIS and I want to replace this with 389 ds. I have installed 389 ds and configured it. I could create user account from 389-console. But it does not create user home directory. Do I have to create user account and user home directory in linux first?

View 1 Replies View Related

Server :: Unable To Create A Directory As An Anonymous User Using FTP?

Oct 14, 2010

I am unable to create a directory as an anonymous user using FTP. Settings are as below mentioned:-

vsftpd.conf
anonymous_enable=YES
write_enable=YES
anon_upload_enable=YES

[Code].....

View 3 Replies View Related

Server :: [ERROR] Failed To Create Directory (/home/testuser/PDF)

May 12, 2011

I'm trying to build a cups server (with cups-pdf) and it's not printing (creating) the PDF output. from cups-pdf log:

Code:

[ERROR] failed to create directory (/home/testuser/PDF)
[ERROR] failed to create user output directory (/home/testuser/PDF)

the lp command is being ran from SSH as "testuser", who is in the lpadmin group (as well as sysadmin, users, and about 5 other groups while troubleshooting this) I've tried creating the PDF folder as both the user, and as root but still no output file (when the folder is created the first error goes away, but the user output error remains) *note, the /home directory is a symbolic link to a separate partion (/storage) I'm still a bit green on linux, but the server is headless, and for now i'm just trying to get normal users able to print using cups-pdf

here's my cupsd.conf

Code:

#
#
# Sample configuration file for the CUPS scheduler. See "man cupsd.conf" for a
# complete description of this file.

[code]....

View 15 Replies View Related

General :: Want To Change Log Server Directory?

Jun 29, 2010

want to change my log server directory /var/log/secure to any other places.

View 1 Replies View Related

Server :: 550: Failed To Change Directory

Sep 28, 2010

My directory structure is

/3dmodels/work/work

While I am changing to last work directory it's giving th error as:

550 Failed to change directory.

I have tried selinux issues,permission issues, anon issues,chroot issues but no solution.

Is there anything to do more than these issue ?

I am logging in as localuser. I can browse all the contents of 2nd work directory except the last work directory.

But in internet browser all works well,I can change into the last work directory and can also browse the directory but unable in command line.

View 10 Replies View Related

Server :: ProFTPd - Upload Anything Or Create Directory: 550 Permission Denied Error

Jan 7, 2010

I have proftpd @ Ubuntu 9.04 server. It authenticates users via Auth file, e.g. those are "FTP only" users, not real linux users. Each of them has assigned home dir in the same auth file. They also get Chrooted into it, e.g. default dir is ~ in proftpd.conf They can connect and download files successfully, however, they cannot upload anything or create directory: 550 permission denied error.

When I login via ssh and change user to proftpd user, I can create directories in that particular place, so I guess it's not Linux permissions problem? Or is it? /var/log/daemon.log is the place where proftpd stores its logs, but I cannot find anything relevant there

View 5 Replies View Related







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