Hi all
Can I use ssh to have remote tar files from machine A to machine B?
ssh from machine A to machine B tar all files in machine B to exact to machine A
Thank you
____________________________________________________________________________________ Got a little couch potato? Check out fun summer activities for kids. http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+ki...
On Wed, Sep 26, 2007 at 12:15:06PM -0700, ann kok wrote:
Can I use ssh to have remote tar files from machine A to machine B?
Yes you can.
can you tell me what is the exactly command?
machineA# ssh root@nachineB:tar cvf / ; tar xvf *
--- Matthew Miller mattdm@mattdm.org wrote:
On Wed, Sep 26, 2007 at 12:15:06PM -0700, ann kok wrote:
Can I use ssh to have remote tar files from
machine A
to machine B?
Yes you can.
-- Matthew Miller mattdm@mattdm.org http://mattdm.org/ Boston University Linux ------> http://linux.bu.edu/ _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
____________________________________________________________________________________ Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=...
ann kok wrote:
can you tell me what is the exactly command?
machineA# ssh root@nachineB:tar cvf / ; tar xvf *
You need a - after the f options to represent stdin/stdout and some appropriate quoting.
ssh root@machineB 'tar cvf - /' |tar xvf -
(and you probably want to use --one-file-system or some excludes to avoid /proc and any NFS/cdrom mounts).
But, I'd recommend: rsync -essh machineB:/ . instead (also per filesystem with --one-file-system) - especially if you want to repeat it or restart after interruption.
Hi Les
I am trying to use rsync
1/ Are both machine to have rsync installed?
2/ machine A#rsync -essh machineB:/ . I try this command but what wrong I am
rsync -essh root@machineB:/ . skipping directory /. client: nothing to do: perhaps you need to specify some filenames or the --recursive option?
Thank you for your help
--- Les Mikesell lesmikesell@gmail.com wrote:
ann kok wrote:
can you tell me what is the exactly command?
machineA# ssh root@nachineB:tar cvf / ; tar xvf *
You need a - after the f options to represent stdin/stdout and some appropriate quoting.
ssh root@machineB 'tar cvf - /' |tar xvf -
(and you probably want to use --one-file-system or some excludes to avoid /proc and any NFS/cdrom mounts).
But, I'd recommend: rsync -essh machineB:/ . instead (also per filesystem with --one-file-system)
- especially if you
want to repeat it or restart after interruption.
-- Les Mikeselll lesmikesell@gmail.com _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
____________________________________________________________________________________ Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=...
ann kok wrote:
Hi Les
I am trying to use rsync
1/ Are both machine to have rsync installed?
Yes, and the remote side needs ssh access.
2/ machine A#rsync -essh machineB:/ . I try this command but what wrong I am
rsync -essh root@machineB:/ . skipping directory /. client: nothing to do: perhaps you need to specify some filenames or the --recursive option?
Sorry - the command should really be more like: rsync -essh -av root@machineB:/ .
If you specify a directory as the target, you must specify recursive also, but '-a' is a special option that includes many of the other options, including recursion. You probably also want --one-file-system or some --excludes to avoid taking /proc, though.
try this,
/usr/bin/rsync -avz root@192.168.0.22/var/spool/mail/ /var/spool/mail/
this says you rsync to machien 192.168.0.22 from your loacl box and copy /var/spool/mail of remote box(192.168.0.22) to /var/spool/mail/ of local box.
On 9/29/07, Les Mikesell lesmikesell@gmail.com wrote:
ann kok wrote:
Hi Les
I am trying to use rsync
1/ Are both machine to have rsync installed?
Yes, and the remote side needs ssh access.
2/ machine A#rsync -essh machineB:/ . I try this command but what wrong I am
rsync -essh root@machineB:/ . skipping directory /. client: nothing to do: perhaps you need to specify some filenames or the --recursive option?
Sorry - the command should really be more like: rsync -essh -av root@machineB:/ .
If you specify a directory as the target, you must specify recursive also, but '-a' is a special option that includes many of the other options, including recursion. You probably also want --one-file-system or some --excludes to avoid taking /proc, though.
-- Les Mikesell lesmikesell@gmail.com _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Sat, Sep 29, 2007 at 10:02:38AM +0530, Indunil Jayasooriya wrote:
/usr/bin/rsync -avz root@192.168.0.22/var/spool/mail/ /var/spool/mail/
Depending on the speed of your connection and the compressibility of your content, -z might not be a good option.
Also, if you have large files and are concerned the transaction might be interrupted midway through, add -P to the mix.
Hi Indunil and all
Thank you so much for helping me
Now I am trying to use the following command to backup all files in hda to sda3 (mount on seconddrive folder) in the same machine and also excludes
/usr/bin/rsync -avz --exclude=/boot1 --exclude=/seconddrive --exclude=/proc /* /seconddrive
but i got the following error. is lt normal? ls my command correct? how can avoid it?
thank you again
ERROR: sys/module/yenta_socket/parameters/isa_probe failed verification -- update discarded. ERROR: sys/module/yenta_socket/parameters/pwr_irqs_off failed verification -- update discarded. ERROR: sys/power/disk failed verification -- update discarded. ERROR: sys/power/image_size failed verification -- update discarded. ERROR: sys/power/resume failed verification -- update discarded. ERROR: sys/power/state failed verification -- update discarded.
sent 438137201 bytes received 1323530 bytes 1713297.20 bytes/sec total size is 1368434026 speedup is 3.11 rsync error: some files could not be transferred (code 23) at main.c(892) [sender=2.6.8]
--- Indunil Jayasooriya indunil75@gmail.com wrote:
try this,
/usr/bin/rsync -avz root@192.168.0.22/var/spool/mail/ /var/spool/mail/
this says you rsync to machien 192.168.0.22 from your loacl box and copy /var/spool/mail of remote box(192.168.0.22) to /var/spool/mail/ of local box.
On 9/29/07, Les Mikesell lesmikesell@gmail.com wrote:
ann kok wrote:
Hi Les
I am trying to use rsync
1/ Are both machine to have rsync installed?
Yes, and the remote side needs ssh access.
2/ machine A#rsync -essh machineB:/ . I try this command but what wrong I am
rsync -essh root@machineB:/ . skipping directory /. client: nothing to do: perhaps you need to
specify
some filenames or the --recursive option?
Sorry - the command should really be more like: rsync -essh -av root@machineB:/ .
If you specify a directory as the target, you must
specify recursive
also, but '-a' is a special option that includes
many of the other
options, including recursion. You probably also
want --one-file-system
or some --excludes to avoid taking /proc,
though.
-- Les Mikesell lesmikesell@gmail.com _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Thank you Indunil Jayasooriya
____________________________________________________________________________________ Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=...
Thank you so much for helping me
Now I am trying to use the following command to backup all files in hda to sda3 (mount on seconddrive folder) in the same machine and also excludes
/usr/bin/rsync -avz --exclude=/boot1 --exclude=/seconddrive --exclude=/proc /* /seconddrive
try below . it copies /opt/maildaily/maildaily.tar.gz to /mnt/maildaily
/usr/bin/rsync -a /opt/maildaily/maildaily.tar.gz /mnt/maildaily
FOR more, pls understand below command and its meaning.
rsync -avz --delete --exclude=**/stats --exclude=**/error --exclude=**/files/pictures -e "ssh -i /root/rsync/mirror-rsync-key" someuser@server1.example.com:/var/www/ /var/www/
(The --delete option means that files that have been deleted on server1.example.com should also be deleted on mirror.example.com. The --exclude option means that these files/directories should not be mirrored; e.g. --exclude=**/error means "do not mirror /var/www/error". You can use multiple --exclude options. I have listed these options as examples; you can adjust the command to your needs. Have a look at
another URL to read,
http://www.howtoforge.com/mirroring_with_rsync_p2
GOOD LUCK
Thank you Indunil Jayasooriya
____________________________________________________________________________________
Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=...
Salam,
Its a normal scenario, when u access machine B from machine A, any utility you are using like ssh, rsync, or what machine B is acting as server for u.... so on client side simple rsync is installed, on server side u have to use some rsync-server package is required.
Regards,
Uamir Shakil ETD
On 9/29/07, ann kok annkok2001@yahoo.com wrote:
Hi Les
I am trying to use rsync
1/ Are both machine to have rsync installed?
2/ machine A#rsync -essh machineB:/ . I try this command but what wrong I am
rsync -essh root@machineB:/ . skipping directory /. client: nothing to do: perhaps you need to specify some filenames or the --recursive option?
Thank you for your help
--- Les Mikesell lesmikesell@gmail.com wrote:
ann kok wrote:
can you tell me what is the exactly command?
machineA# ssh root@nachineB:tar cvf / ; tar xvf *
You need a - after the f options to represent stdin/stdout and some appropriate quoting.
ssh root@machineB 'tar cvf - /' |tar xvf -
(and you probably want to use --one-file-system or some excludes to avoid /proc and any NFS/cdrom mounts).
But, I'd recommend: rsync -essh machineB:/ . instead (also per filesystem with --one-file-system)
- especially if you
want to repeat it or restart after interruption.
-- Les Mikeselll lesmikesell@gmail.com _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
____________________________________________________________________________________
Luggage? GPS? Comic books? Check out fitting gifts for grads at Yahoo! Search http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=... _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
umair shakil wrote:
Its a normal scenario, when u access machine B from machine A, any utility you are using like ssh, rsync, or what machine B is acting as server for u.... so on client side simple rsync is installed, on server side u have to use some rsync-server package is required.
No - you only need a "normal" rsync installed on each side. rsync uses a ssh/rsh connection to copy the data, so you don't need a special server. rsync starts itself on the remote server over the ssh connection. If you run a high-volume site, an rsync server is available (though this has had quite a few security issues in the past).
Jeremy
On Mon, Oct 01, 2007 at 12:47:44PM +0100, Jeremy Sanders wrote:
No - you only need a "normal" rsync installed on each side. rsync uses a ssh/rsh connection to copy the data, so you don't need a special server. rsync starts itself on the remote server over the ssh connection. If you run a high-volume site, an rsync server is available (though this has had quite a few security issues in the past).
And isn't encrypted like ssh. It's mostly for distribution of data, like for ftp mirrors.
Matthew Miller wrote:
On Mon, Oct 01, 2007 at 12:47:44PM +0100, Jeremy Sanders wrote:
No - you only need a "normal" rsync installed on each side. rsync uses a ssh/rsh connection to copy the data, so you don't need a special server. rsync starts itself on the remote server over the ssh connection. If you run a high-volume site, an rsync server is available (though this has had quite a few security issues in the past).
And isn't encrypted like ssh. It's mostly for distribution of data, like for ftp mirrors.
Or for windows, where running rsync under sshd doesn't work well.
On Wed, Sep 26, 2007 at 12:22:27PM -0700, ann kok wrote:
can you tell me what is the exactly command?
machineA# ssh root@nachineB:tar cvf / ; tar xvf *
machineA# cd $WHERE-MACHINE-B-FILES-WILL-LIVE machineA# ssh root@machineB "cd / ; tar cfp - . " | tar xfp -
Beware of following network mounted filesystems or otherwise recursing.
Note that $WHERE-MACHINE-B-FILES-WILL-LIVE on machineA cannot be / since it will likely interfere with the currently running OS.
Hi
Thank you for all
After I untar those files from machine B to machineA eg: in second harddrive /dev/hdb1
I put this hardrive in another computer /dev/hda
how can I boot properly as same as machineB
I did it before use the bootable CD, mount it chroot and then grub-install /dev/hda but it is bootable but kernal panic
thank you again
--- David Mackintosh David.Mackintosh@xdroop.com wrote:
On Wed, Sep 26, 2007 at 12:22:27PM -0700, ann kok wrote:
can you tell me what is the exactly command?
machineA# ssh root@nachineB:tar cvf / ; tar xvf *
machineA# cd $WHERE-MACHINE-B-FILES-WILL-LIVE machineA# ssh root@machineB "cd / ; tar cfp - . " | tar xfp -
Beware of following network mounted filesystems or otherwise recursing.
Note that $WHERE-MACHINE-B-FILES-WILL-LIVE on machineA cannot be / since it will likely interfere with the currently running OS.
-- /\oo/\ / /()\ \ David Mackintosh | dave@xdroop.com | http://www.xdroop.com
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
____________________________________________________________________________________ Boardwalk for $500? In 2007? Ha! Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games. http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow
ann kok wrote:
Hi
Thank you for all
After I untar those files from machine B to machineA eg: in second harddrive /dev/hdb1
I put this hardrive in another computer /dev/hda
how can I boot properly as same as machineB
I did it before use the bootable CD, mount it chroot and then grub-install /dev/hda but it is bootable but kernal panic
You have to pay attention to your partition layout and make it match in 2 places. /boot/grub/grub.conf (this is the real copy, /etc/grub.conf is a symlink that should still be pointed there...). Be sure the root= settings are right, and if they mention a label, add the label to the partition. Also, /etc/fstab - you can either change fstab to match the partition device names or add labels to match the old system.
Sorry to bother, but everytime I want to compile a program (Mplayer, avidemux2), I have an error:
./configure -bash: ./configure: No such file or directory
I have the development tools installed, libs, x11 libs, etc... I recently formated and upgrade my PC with Centos 5, (I had centos 4 before).
Did I overlook something??
Thanks for any advance
P.D: Sorry about my English
Salam,
After extract the Mplayer, r u CD to the extracted Mplayer directory and then type ./configure and also tell u r login as root user????
Regards,
Umair Shakil ETD
On 9/27/07, Ing. Manuel Lazo malazo@multiaccesorios.com wrote:
Sorry to bother, but everytime I want to compile a program (Mplayer, avidemux2), I have an error:
./configure -bash: ./configure: No such file or directory
I have the development tools installed, libs, x11 libs, etc... I recently formated and upgrade my PC with Centos 5, (I had centos 4 before).
Did I overlook something??
Thanks for any advance
P.D: Sorry about my English
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 9/27/07, Ralph Angenendt ra+centos@br-online.de wrote:
umair shakil wrote:
and also tell u r login as root user????
Why should that be of any interest?
To evaluate the potential success of a rootkit?
On 9/27/07, Jim Perrin jperrin@gmail.com wrote:
On 9/27/07, Ralph Angenendt ra+centos@br-online.de wrote:
umair shakil wrote:
and also tell u r login as root user????
Why should that be of any interest?
To evaluate the potential success of a rootkit?
As already pointed out by two big boys... when running:
./configure make make install
DO NOT run the first two steps as root. It is a known security risk. The install step may need to be run as root depending on the install destination.
Akemi
On 9/27/07, Akemi Yagi amyagi@gmail.com wrote:
On 9/27/07, Jim Perrin jperrin@gmail.com wrote:
On 9/27/07, Ralph Angenendt ra+centos@br-online.de wrote:
umair shakil wrote:
and also tell u r login as root user????
Why should that be of any interest?
To evaluate the potential success of a rootkit?
Since I've been told before that sarcasm is unbecoming (though damn funny), I'll explain a bit further.
Running ./configure and make as root can open your system to potential threats if you're not careful. While somewhat unlikely, there may be a root kit in the code, which building as root triggers. The bigger threat comes from errors in the Makefile, or the code itself, such that an errant cleanup script during the build process does an rm -rf /* instead of an rm -rf $buildroot/* or some other similar flawed command.
Building as a normal user may also clue you in to other flaws in the code, such as an inability to function for users other than root, linking to a directory where it doesn't need access, etc.
As already pointed out by two big boys... when running:
Hey! I'm not that big! Besides, I've exercising lately, and eating more things that eat vegetables. Got to keep my computer muscles in shape dammit!
On Thu, 2007-09-27 at 12:33 -0400, Jim Perrin wrote:
On 9/27/07, Akemi Yagi amyagi@gmail.com wrote:
On 9/27/07, Jim Perrin jperrin@gmail.com wrote:
On 9/27/07, Ralph Angenendt ra+centos@br-online.de wrote:
umair shakil wrote:
<snip>
As already pointed out by two big boys... when running:
Hey! I'm not that big! Besides, I've exercising lately, and eating more things that eat vegetables.
Vegans? PETA members? ;-)
Got to keep my computer muscles in shape dammit!
-- Bill
Ralph Angenendt escribió:
umair shakil wrote:
and also tell u r login as root user????
Why should that be of any interest?
Ralph
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I red somewhere that is not good idea to use root with commands configure and make, root is just for make install (or checkinstall).
umair shakil escribió:
Salam,
After extract the Mplayer, r u CD to the extracted Mplayer directory and then type ./configure and also tell u r login as root user????
Regards,
Umair Shakil ETD
On 9/27/07, *Ing. Manuel Lazo* <malazo@multiaccesorios.com mailto:malazo@multiaccesorios.com> wrote:
Sorry to bother, but everytime I want to compile a program (Mplayer, avidemux2), I have an error: ./configure -bash: ./configure: No such file or directory I have the development tools installed, libs, x11 libs, etc... I recently formated and upgrade my PC with Centos 5, (I had centos 4 before). Did I overlook something?? Thanks for any advance P.D: Sorry about my English _______________________________________________ CentOS mailing list CentOS@centos.org <mailto:CentOS@centos.org> http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I try as a regular user, and got the error, then just for curiosity I tried as root and I got the same error... In fedora 1, 2, 3, centos 4, never had this problem..
Thanks for your answer...
Salam,
when u extract the file as root, check its permissions, shuld be root... switch to the extracted directory, the please find whether "configure" file exists or not????
Regards,
Umair Shakil ETD
On 9/28/07, Ing. Manuel Lazo malazo@multiaccesorios.com wrote:
umair shakil escribió:
Salam,
After extract the Mplayer, r u CD to the extracted Mplayer directory and then type ./configure and also tell u r login as root user????
Regards,
Umair Shakil ETD
On 9/27/07, *Ing. Manuel Lazo* <malazo@multiaccesorios.com mailto:malazo@multiaccesorios.com> wrote:
Sorry to bother, but everytime I want to compile a program (Mplayer, avidemux2), I have an error: ./configure -bash: ./configure: No such file or directory I have the development tools installed, libs, x11 libs, etc... I recently formated and upgrade my PC with Centos 5, (I had centos 4 before). Did I overlook something?? Thanks for any advance P.D: Sorry about my English _______________________________________________ CentOS mailing list CentOS@centos.org <mailto:CentOS@centos.org> http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I try as a regular user, and got the error, then just for curiosity I tried as root and I got the same error... In fedora 1, 2, 3, centos 4, never had this problem..
Thanks for your answer...
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On 9/26/07, Ing. Manuel Lazo malazo@multiaccesorios.com wrote:
Sorry to bother, but everytime I want to compile a program (Mplayer, avidemux2), I have an error:
mplayer is available from rpmforge. If you haven't, install the rpmforge repo by following this wiki:
http://wiki.centos.org/Repositories/RPMForge
avidemux2 is not available as an rpm for CentOS. Compiling from the source is probably fairly tough because you would have to find and install a number of library files required. Perhaps rebuilding from a src.rpm is a little easier.
Akemi
Hello,
Do not hijack threads. Don't just press reply on a mail if you want to talk about a new topic, but send a *new* mail to centos@centos.org
Ing. Manuel Lazo wrote:
Sorry to bother, but everytime I want to compile a program (Mplayer, avidemux2), I have an error:
./configure -bash: ./configure: No such file or directory
What is the output of
ls -l configure file configure sh -x configure
Cheers,
Ralph
Ralph Angenendt escribió:
Hello,
Do not hijack threads. Don't just press reply on a mail if you want to talk about a new topic, but send a *new* mail to centos@centos.org
Ing. Manuel Lazo wrote:
Sorry to bother, but everytime I want to compile a program (Mplayer, avidemux2), I have an error:
./configure -bash: ./configure: No such file or directory
What is the output of
ls -l configure file configure sh -x configure
Cheers,
Ralph
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
ls -l configure ls: configure: No such file or directory
file configure configure: ERROR: cannot open `configure' (No such file or directory)
sh -x configure sh: configure: No such file or directory
Ing. Manuel Lazo wrote:
Ralph Angenendt escribió:
What is the output of
ls -l configure file configure sh -x configure
ls -l configure ls: configure: No such file or directory
So if the file is not there at all - how do you want to run it? Are you sure that you are in the correct directory?
I'm sorry, but you should give us a few more hints as to what you are trying to do and how.
Ralph
On 9/28/07, Ralph Angenendt ra+centos@br-online.de wrote:
Ing. Manuel Lazo wrote:
Before this thread turns into a session for 'howto compile from the source using make'...
If I still remember the original poster's question correctly, he wants to install mplayer and avidemux2 on CentOS. As I wrote ages ago, mplayer can be installed without going through the compiling process. avidemux2 is more challenging. I myself need it for our desktop running CentOS 5 and am still scratching my head. I will certainly share it once I get it built successfully.
Akemi
Akemi Yagi escribió:
On 9/28/07, Ralph Angenendt ra+centos@br-online.de wrote:
Ing. Manuel Lazo wrote:
Before this thread turns into a session for 'howto compile from the source using make'...
If I still remember the original poster's question correctly, he wants to install mplayer and avidemux2 on CentOS. As I wrote ages ago, mplayer can be installed without going through the compiling process. avidemux2 is more challenging. I myself need it for our desktop running CentOS 5 and am still scratching my head. I will certainly share it once I get it built successfully.
Akemi _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Thanks to all for your support. I allready installed mplayer from the repository (dag), but no luck with avidemux. I did compile it under CentOS 4 about a year ago, but no luck with CentOS 5.
Thanks
On 9/28/07, Ing. Manuel Lazo malazo@multiaccesorios.com wrote:
Akemi Yagi escribió:
If I still remember the original poster's question correctly, he wants to install mplayer and avidemux2 on CentOS. As I wrote ages ago, mplayer can be installed without going through the compiling process. avidemux2 is more challenging. I myself need it for our desktop running CentOS 5 and am still scratching my head. I will certainly share it once I get it built successfully.
Akemi
Thanks to all for your support. I allready installed mplayer from the repository (dag), but no luck with avidemux. I did compile it under CentOS 4 about a year ago, but no luck with CentOS 5.
OK, compilation successful. After having spent so much time trying to rebuild from available srpms, I was not going anywhere -- none of the srpms tried worked. Turns out the good old make; make install strategy was the way to go. This is what I did:
(1) Download the tar file from sourceforge: avidemux_2.4_preview2.tar.gz (2) tar xvzf avidemux_2.4_preview2.tar.gz (3) cd avidemux_2.4_preview2 (4) make -f Makefile.dist (If you get an error that says, 'AM_GNU_GETTEXT' not found, yum install gettext-devel) (5) make If no error, install it as root (6) make install (Default is to install into /usr/local)
Good luck,
Akemi
On 9/28/07, Akemi Yagi amyagi@gmail.com wrote:
On 9/28/07, Ing. Manuel Lazo malazo@multiaccesorios.com wrote:
Akemi Yagi escribió:
If I still remember the original poster's question correctly, he wants to install mplayer and avidemux2 on CentOS. As I wrote ages ago, mplayer can be installed without going through the compiling process. avidemux2 is more challenging. I myself need it for our desktop running CentOS 5 and am still scratching my head. I will certainly share it once I get it built successfully.
Akemi
Thanks to all for your support. I allready installed mplayer from the repository (dag), but no luck with avidemux. I did compile it under CentOS 4 about a year ago, but no luck with CentOS 5.
OK, compilation successful. After having spent so much time trying to rebuild from available srpms, I was not going anywhere -- none of the srpms tried worked. Turns out the good old make; make install strategy was the way to go. This is what I did:
(1) Download the tar file from sourceforge: avidemux_2.4_preview2.tar.gz (2) tar xvzf avidemux_2.4_preview2.tar.gz (3) cd avidemux_2.4_preview2 (4) make -f Makefile.dist (If you get an error that says, 'AM_GNU_GETTEXT' not found, yum install gettext-devel) (5) make If no error, install it as root (6) make install (Default is to install into /usr/local)
An obvious omission: (4.5) ./configure
Akemi
Akemi Yagi escribió:
On 9/28/07, Akemi Yagi amyagi@gmail.com wrote:
On 9/28/07, Ing. Manuel Lazo malazo@multiaccesorios.com wrote:
Akemi Yagi escribió:
If I still remember the original poster's question correctly, he wants to install mplayer and avidemux2 on CentOS. As I wrote ages ago, mplayer can be installed without going through the compiling process. avidemux2 is more challenging. I myself need it for our desktop running CentOS 5 and am still scratching my head. I will certainly share it once I get it built successfully.
Akemi
Thanks to all for your support. I allready installed mplayer from the repository (dag), but no luck with avidemux. I did compile it under CentOS 4 about a year ago, but no luck with CentOS 5.
OK, compilation successful. After having spent so much time trying to rebuild from available srpms, I was not going anywhere -- none of the srpms tried worked. Turns out the good old make; make install strategy was the way to go. This is what I did:
(1) Download the tar file from sourceforge: avidemux_2.4_preview2.tar.gz (2) tar xvzf avidemux_2.4_preview2.tar.gz (3) cd avidemux_2.4_preview2 (4) make -f Makefile.dist (If you get an error that says, 'AM_GNU_GETTEXT' not found, yum install gettext-devel) (5) make If no error, install it as root (6) make install (Default is to install into /usr/local)
An obvious omission: (4.5) ./configure
Akemi _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I really apreciate the time you take to answer this topic, and resolve an issue, so that's why i was getting that error..Many thanks...
Akemi Yagi escribió:
On 9/28/07, Ing. Manuel Lazo malazo@multiaccesorios.com wrote:
Akemi Yagi escribió:
If I still remember the original poster's question correctly, he wants to install mplayer and avidemux2 on CentOS. As I wrote ages ago, mplayer can be installed without going through the compiling process. avidemux2 is more challenging. I myself need it for our desktop running CentOS 5 and am still scratching my head. I will certainly share it once I get it built successfully.
Akemi
Thanks to all for your support. I allready installed mplayer from the repository (dag), but no luck with avidemux. I did compile it under CentOS 4 about a year ago, but no luck with CentOS 5.
OK, compilation successful. After having spent so much time trying to rebuild from available srpms, I was not going anywhere -- none of the srpms tried worked. Turns out the good old make; make install strategy was the way to go. This is what I did:
(1) Download the tar file from sourceforge: avidemux_2.4_preview2.tar.gz (2) tar xvzf avidemux_2.4_preview2.tar.gz (3) cd avidemux_2.4_preview2 (4) make -f Makefile.dist (If you get an error that says, 'AM_GNU_GETTEXT' not found, yum install gettext-devel) (5) make If no error, install it as root (6) make install (Default is to install into /usr/local)
Good luck,
Akemi _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
so the Install file that is in the tar.gz explaining how to compile, insisted about the clasic ./configure, make and make install......was not accurated...thanks...
Ing. Manuel Lazo escribió:
Akemi Yagi escribió:
On 9/28/07, Ing. Manuel Lazo malazo@multiaccesorios.com wrote:
Akemi Yagi escribió:
If I still remember the original poster's question correctly, he wants to install mplayer and avidemux2 on CentOS. As I wrote ages ago, mplayer can be installed without going through the compiling process. avidemux2 is more challenging. I myself need it for our desktop running CentOS 5 and am still scratching my head. I will certainly share it once I get it built successfully.
Akemi
Thanks to all for your support. I allready installed mplayer from the repository (dag), but no luck with avidemux. I did compile it under CentOS 4 about a year ago, but no luck with CentOS 5.
OK, compilation successful. After having spent so much time trying to rebuild from available srpms, I was not going anywhere -- none of the srpms tried worked. Turns out the good old make; make install strategy was the way to go. This is what I did:
(1) Download the tar file from sourceforge: avidemux_2.4_preview2.tar.gz (2) tar xvzf avidemux_2.4_preview2.tar.gz (3) cd avidemux_2.4_preview2 (4) make -f Makefile.dist (If you get an error that says, 'AM_GNU_GETTEXT' not found, yum install gettext-devel) (5) make If no error, install it as root (6) make install (Default is to install into /usr/local)
Good luck,
Akemi _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
so the Install file that is in the tar.gz explaining how to compile, insisted about the clasic ./configure, make and make install......was not accurated...thanks...
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
To quick to write without testing..
The 3 steps to compile still aplied, but I didn't know about step (4)
Ralph Angenendt escribió:
Ing. Manuel Lazo wrote:
Ralph Angenendt escribió:
What is the output of
ls -l configure file configure sh -x configure
ls -l configure ls: configure: No such file or directory
So if the file is not there at all - how do you want to run it? Are you sure that you are in the correct directory?
I'm sorry, but you should give us a few more hints as to what you are trying to do and how.
Ralph
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
I started this tread because I never had this problem before, but I download these programs (source in tar.gz), decompress it, cd to the directory, and run ./configure I got the error with mplayer, so I tried on the other one, and same error. so I started to thin is there was something I overlooked..
Thanks
./configure -bash: ./configure: No such file or directory
One cause for this sort of misleading error can be found in the first line of the configure script. It will normally be #!zzzz where zzzz is the path to some interpreter. Often /bin/bash. If the target of that path is not found, you will get the above message.
Another possibility is if the execute bit is not set on ./configure.
Bob Styma Phoenix, Az
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, Sep 27, 2007 at 01:00:30PM -0500, Styma, Robert E (Robert) wrote:
./configure -bash: ./configure: No such file or directory
One cause for this sort of misleading error can be found in the first line of the configure script. It will normally be #!zzzz where zzzz is the path to some interpreter. Often /bin/bash. If the target of that path is not found, you will get the above message.
Another possibility is if the execute bit is not set on ./configure.
Another possibility is the file being saved in DOS format (CRLF at the end).
Check the output of: $ file configure
- -- Rodrigo Barbosa "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
Around 07:09pm on Thursday, September 27, 2007 (UK time), Rodrigo Barbosa scrawled:
Another possibility is the file being saved in DOS format (CRLF at the end).
And when it happens to me, its usually because I'm not in the directory I think I am :-)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Thu, Sep 27, 2007 at 07:28:44PM +0100, Steve Searle wrote:
Around 07:09pm on Thursday, September 27, 2007 (UK time), Rodrigo Barbosa scrawled:
Another possibility is the file being saved in DOS format (CRLF at the end).
And when it happens to me, its usually because I'm not in the directory I think I am :-)
Or on the computer you think you are :)
[]s
- -- Rodrigo Barbosa "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
on 9/26/2007 2:57 PM Ing. Manuel Lazo spake the following:
Sorry to bother, but everytime I want to compile a program (Mplayer, avidemux2), I have an error:
./configure -bash: ./configure: No such file or directory
I have the development tools installed, libs, x11 libs, etc... I recently formated and upgrade my PC with Centos 5, (I had centos 4 before).
Did I overlook something??
Thanks for any advance
P.D: Sorry about my English
When ./configure fails do a ls -la configure and see if it is executable, or even in the directory.
Scott Silva escribió:
on 9/26/2007 2:57 PM Ing. Manuel Lazo spake the following:
Sorry to bother, but everytime I want to compile a program (Mplayer, avidemux2), I have an error:
./configure -bash: ./configure: No such file or directory
I have the development tools installed, libs, x11 libs, etc... I recently formated and upgrade my PC with Centos 5, (I had centos 4 before).
Did I overlook something??
Thanks for any advance
P.D: Sorry about my English
When ./configure fails do a ls -la configure and see if it is executable, or even in the directory.
Thanks for your answer..
On 9/28/07, Scott Silva ssilva@sgvwater.com wrote:
on 9/26/2007 2:57 PM Ing. Manuel Lazo spake the following:
./configure -bash: ./configure: No such file or directory
When ./configure fails do a ls -la configure and see if it is executable, or even in the directory.
The problem was that the tar ball was from a cvs repository, and the configure file needed to be generated first.
Akemi
Akemi Yagi escribió:
On 9/28/07, Scott Silva ssilva@sgvwater.com wrote:
on 9/26/2007 2:57 PM Ing. Manuel Lazo spake the following:
./configure -bash: ./configure: No such file or directory
When ./configure fails do a ls -la configure and see if it is executable, or even in the directory.
The problem was that the tar ball was from a cvs repository, and the configure file needed to be generated first.
Akemi _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
There is something new everyday to learn!!!
Can you paste the output of running "ls -al" command under the directory where to execute "./configure"?
Tim Ke 2007-10-01
发件人: Ing. Manuel Lazo 发送时间: 2007-09-27 05:58:25 收件人: CentOS mailing list 抄送: 主题: [CentOS] A quick question about ./configure
Sorry to bother, but everytime I want to compile a program (Mplayer, avidemux2), I have an error:
./configure -bash: ./configure: No such file or directory
I have the development tools installed, libs, x11 libs, etc... I recently formated and upgrade my PC with Centos 5, (I had centos 4 before).
Did I overlook something??
Thanks for any advance
P.D: Sorry about my English
_______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Tim Ke escribió:
Can you paste the output of running "ls -al" command under the directory where to execute "./configure"?
Tim Ke 2007-10-01
*发件人:* Ing. Manuel Lazo *发送时间:* 2007-09-27 05:58:25 *收件人:* CentOS mailing list *抄送:* *主题:* [CentOS] A quick question about ./configure Sorry to bother, but everytime I want to compile a program (Mplayer, avidemux2), I have an error: ./configure -bash: ./configure: No such file or directory I have the development tools installed, libs, x11 libs, etc... I recently formated and upgrade my PC with Centos 5, (I had centos 4 before). Did I overlook something?? Thanks for any advance P.D: Sorry about my English _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
The problem was there was no configure file, because the source it's from CVS, so I had to create the file first in order to compile..
I copied this from http://happygiraffe.net/copy-net which is a nice little tutorial for remote copying of files.
tar is normally an archiving program for backups. But with the use of ssh, it can be coerced into copying large directory trees with ease. It has the advantage that it copies things correctly, even ACLs on those Unixes which have them, as well as being perfectly comfortable with symlinks. The syntax, however, is slightly baroque:
tar -cf - /some/file | ssh host.name tar -xf - -C /some/place/cool Whilst it looks complex, at heart it's quite simple: create a tar archive to stdout, send it across the network to another tar on the remote machine for unpacking.
The arguments to the first tar are -c to create a new archive and -f -, which tells tar to send the newly created archive to stdout.
The arguments to the second tar command are the reverse: -x to extract the archive and -f - to take the archive from stdin. The final -C /destination tells tar to change into the /destination directory before extracting anything.
Why should you use this method when the other two are available? For initial copying of large directory trees, this method can be very quick, because it streams. The first tar will send it's output as soon as it has found the first file in the source directory tree, and that will be extracted almost immediately afterwards by the 2nd tar. Meanwhile, the first tar is still finding and transmitting files. This pipeline works very well.
As with the other two methods, you can ask for compression of the data stream if your source data is amenable to it. Here, you have to add a -z flag to each tar:
tar -czf - /some/file | ssh host.name tar -xzf - -C /some/place/cool In a similiar fashion, you can enable verbose mode by passing a -v flag to the 2nd tar. Don't pass it to the first one as well, or you'll get doubled output!
Why shouldn't you use this method?
The syntax is a pain to remember. It's not as quick to type as the scp command, for small amounts of files. rsync will beat it hands down for a tree of files that already exists on the destination.
On Sep 26, 2007, at 3:15 PM, ann kok wrote:
Hi all
Can I use ssh to have remote tar files from machine A to machine B?
ssh from machine A to machine B tar all files in machine B to exact to machine A
Thank you
Got a little couch potato? Check out fun summer activities for kids. http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities +for+kids&cs=bz _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Wed, Sep 26, 2007 at 03:22:02PM -0400, Von Landfried wrote:
I copied this from http://happygiraffe.net/copy-net which is a nice
tar -cf - /some/file | ssh host.name tar -xf - -C /some/place/cool
Do not use "/some/file" - Although GNUtar (the version on CentOS) will strip off the leading / on extraction, it's a bad habit to get into and _will_ bite you in the foot if you ever use a different version of tar.
Also, depending, a "p" flag on extraction might be useful.
Personally I also "cd" rather than -C on extraction. So
cd /source/directory tar cf - . | ssh RemoteHost "cd /dest/directory && tar xfp - "
Salam,
Through ssh (from A to B) you can TAR the files, but from sftp or scp command you can copy those files to machine B and then extract.
like
sftp -oPort=22 username@ipaddress
Regards,
Umair Shakil ETD
On 9/27/07, ann kok annkok2001@yahoo.com wrote:
Hi all
Can I use ssh to have remote tar files from machine A to machine B?
ssh from machine A to machine B tar all files in machine B to exact to machine A
Thank you
Got a little couch potato? Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+ki... _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos