CentOS 5 :: Moving Files From CentOS VPS > Windows Home PC?
Jun 11, 2011
I am wondering what is the fastest way for me to move files from a VPS running CentOS to my home PC? I do not have FTP or anything like that installed. Are there commands I can enter in putty, for example, that will simply download an entire directory on the VPS onto my home PC?
Here is a dumb question (For some reason I can never remember Linux commands but can always remember DOS commands). I don't know what it is, but I think it's the "everything is a file or a directory" nature of Linux that I can't remember it.
Anyhow, I have an instance running on Amazon EC2. I have noticed recently that FreePBX (an Asterisk GUI) is warning me of shortage of disk space. So here is the output:
So, it seems that I have a lot of space in sda2 but I don't know how to access it. how to do a symbolic link (or I can search with google) to move some folders to sda2 and then link them.
I got a crash on intel machine running intel cpu (CENTOS 5)I would like to know if i can move hdd to new machine with amd cpu? 3 hdd (raid 0 on 2 of them)system is on hdd without raid.
I help develop an Asterisk channel driver that uses USB audio devices to link amateur radio stations via the Internet.All worked well under Centos 5.2 but I recently upgraded to Centos 5.3. I now get either "cannot submit datapipe for urb 0, error -28: not enough bandwidth" followed by a kernel panic or choppy audio depending on the use of either single or multi-TT hubs. For at least 4 devices, things do work under Centos 5.3 if I have a PC with 4 USB ports and do not use a hub. Of course I need to use a hub in most cases errors but even with a single device connected, data seems to be lost resulting in choppy audio. We need the hubs to work for larger systems and PC's with only 2 USB ports.Hardware:
USB 2.0 Audio Device Class 1.0, C-Media CM108 USB 2.0 HUB, 7 port with one TT, NEC UPD720113 or HUB 2.0 HUB, 7 port with multiple TT's, Genesys Logic GL852.
I built a home server (NAS/WWW/SSH/media server etc) and chose CentOS 5 as the OS (stability, easy of configuration).I was just about to start tuning the power consumption when I realised that the kernel CentOS uses is so "old" that it does not support the latest reduced power consumption enhancements that Linux has achieved in big strides in the recent past (we are probably still talking 6-12+ months ago e.g. tickless kernel)..
So my questions; 1) I know CentOS was maybe not meant for home servers (certainly its not its primary purpose), but if it is, any ideas of what kind of power consumption it takes (I know its relative) and if there are particular power consumptions that are worthwhile?
2) Do you recommend me compiling my own 2.6.21+ kernel from kernel.org or am I just likely to have compatibility issues (I really did not want to do that) or when is CentOS 5.4 supposed to have a newer 2.6.21+ version kernel?
Was it wrong of me in principle to choose CentOS for a home server when I am power conscious? (I don't have a low-power VIA processor either but a P4 so I am really just hoping to make do with software changes).
I know it is possible to move the ubuntu home directory but what is the best way to move it safely to an NTFS partition that already has valuable data in?
I have accidentally clobbered my root path /, but /boot and /usr and /home are okay. Silly me instead of doing a fsck I did a mkfs - arrgh!
/boot is on a separate partition and /, /usr, /home and swap are in a LVM I do have a backup of / on a separate machine which uses backuppc. getting ssh and rsync going first will be a priority. Luckily the machine is not a critical one as it only runs Oracle and mySQL...both databases are on /usr partition
My question is can I have the install only install the /boot and / parts but leave the /usr and /home alone?
What I'm doing is attempting to create a minimalized CentOS which only installs the base components.
I decided that I'd install everything I need, then I did a ..
rpm -qa > installed-packages
I think used this new file to move all the RPMs that were used during the installation from ~/CentOS/disk/CentOS/ to ~/CentOS/graveyard
[root@localhost CentOS]# cat installed-rpms-no-vers | while read file; do mv disk/CentOS/${file}* ~/CentOS/graveyard/ ;done mv: cannot stat `disk/CentOS/iptables-ipv6*': No such file or directory mv: cannot stat `disk/CentOS/nss-tools*': No such file or directory
I have limited experience in terminal, but let me first explain what I am trying to do to see if there is some easier way to do it. Basically I want to change the skin in aMSN. I downloaded the new skin but am unable to unzip or move it without /root permissions. I don't know how to acquire this without being in terminal. So I figured there had to be some way to go into the terminal and use it to move the unzipped folder from the desktop to the aMSN skins folder.
This will be a little long (having read Phil's 'how to ask questions' FAQ). I'm trying to get OpenVPN working between my CentOS server and some Windoze laptops running XP. There seems to be plenty of sample config files available, but to date, none of them have worked for me. Pulling out my trusty Wireshark, I've found some clues,
BACKGROUND: My local subnet (NAT'ed by my gateway router) is 192.168.52.x. My router has been configured with a conduit (port-forward) for port 1194 (the standard OpenVPN port), which points towards my CentOS server.The CentOS server is .52.112, and the supplicant is .52.110. I have tried the lient both inside and outside my local subnet, with no difference in events or outcomes.
i find this is an issue which might be tiresome for everyone except for those experts. Esp. for the computers which are dual booting(both windows xp and centos installed in the same computer), that when we are in CentOS we need to switch onto windows immediately. and vice versa. i see this is possible only by shutting down the centos/windows and then restarting onto the other OS.
Can anyone tell me the the solution to work simultaneously both xp and centos without the need of shutting down and restarting There maybe or may not be the solution...but i find the pleasure to know if there is for example, remote desktop connection in windows xp, is there any solution, we can work on windows via centos or vice versa ( in the same machine),
Why does centos-release-notes have any dependancies ?
I can see no reason why centos-relese-notes should depend on centos-release when I try "yum erase centos-release-notes" I am told there are 72 dependancies including completely irrelevant packages such as tar all because of this unnecessary dependancy.
The centos-release-notes package simply contains a bunch of text/html files that nothing else relies upon, so why the dependancies ?
3 partitions (in order): Windows 7, CentOS and shared data partition.
I need to increase the size of the Windows 7 partition (c:windowswinsxs seems to be something not easily remedied).
GParted didn't work in moving things around (bad sector) so I wiped out its partition (# 2 out of 3) and I was able to increase the size of the Windows 7 partition (I can reinstall CentOS easily and not much work lost).
Except ... no more grub menu (unsurprising). This incantation does allow me to boot into Windows 7.
Is there any way of rebuilding the grub menu short of reinstalling CentOS (5.5)?
This might be a common topic but searching yielded me no results. I am trying to take one of my NAS servers from an IDE hard disk to a new SATA hard disk. Reinstalling the OS is not an option. I have a working system and have cloned the disk using Acronis True Image to a SATA hard disk.
First, Grub has to be reinstalled which is no problem. I have done this and it works just fine. My SATA drive is booting through Grub and attempting to load CentOS. Obviously the problem lies in that my original drive is /dev/hda and my new disk is /dev/sda
I have changed the following to try and correct the issue: /boot/grub/menu.lst /boot/grub/device.map /etc/fstab
The new disk is still having problems booting. I have attempted before to create a new inittab but I am not sure it was successful and I encountered the same issues. After booting via Grub, here is the message that I receive
Unable to access resume device (LABEL=SWAP-hda3) mount: could not find filesystem '/dev/root' setuproot: moving /dev failed: No such file or directory
[Code]...
There must be some places that still reference hda. That first line of the panic message talks about SWAP-hda3. I have changed an entry like that in the Grub config but it still shows up at boot time.
I have a logserver.log located at /usr/local/logserver. It's NSLOGDEPTH=100. I'm not sure if this is the reason but my log file is only up to 100 only..samplelogserver001.loglogserver002.log......logserver100.logThe other logs were already removed. I do not have any scripts on logrotate for this specific logs. My question now is: How can I move some logs automatically so that it will not be removed totally from the system. I'm planning to move it locally on the server and compressed it at the same time. My second plan is to move it on another server. Do I need to create a script on this or can be done on logrotate? (note: i do not want to remve old logs)
I have recently lost quite a bit of electronics around the house to a power surge/lightning strike (all items were on APC backups). The drives from my server were undamaged and I have a new server to host them in. I am having a hard time getting the new server to boot up with the old drives (trying to avoid a fresh install/rebuild of server). The hardware is very similar but not identical. At this point it gets to the following during the boot process:
I've Got one Problem with My Computer soon after success installation of when the boot-loader ask me to choose OS at CENTOS 5.4, multi boot boot-loader if i choose windows then computer tries to boot windows but fail and give the error message that there is a problem on reading the hard disk, But when i restart it and start with LINUX then computer start successful with no error message, now i do not know what to do cause i need to use Windows and all my programs are in windows..
We are slowly migrating from a predominantly Windows house to a 50/50 Win/RHEL operation and even further in the future.Currently, we have a LOT of Windows folders that are created by custom applications which, upon creation of a new folder set, applies the corresponding ACL so that only the associated groups are able to access the folders. Now for the problem, we are migrating the applications to a RHEL55 environment and it is creating the folders on that system now but the groups are still residing in the Windows AD. Is there an "easy" (I know, a very relative term) to have the Windows groups given permission to the Linux shares without very much manual intervention?
I'm experimenting with CentOS DS and have a question.Is it possible to attach windows xp machines to a CentOS DS? If so, how?!I think I've skimmed most of the documentation out there. Did I miss something? Is this not what the DS was designed to do?
Especially /var because I am running a MYSQL server on this box. I want to know if there is a safe procedure to follow to move these partitions from the current sda2 and sda3 that they are now to sdb2 and sbd3 because this is a much bigger disk. I don't want to break MYSQL and I don't want to be down for a long period. I have heard of some people suggesting a sym link to a /newvar and /newuser on sdb but I have also read this will not work when moving to a different physical drive.
Ive setup a filesystem on a RAID 0+1 and am looking at moving root filesystem from a single disk to the new one. I could not install CentOS on mirrored filesystem as the RAID card did not have a pre-built driver for CentOS 5.3, so I had to compile the driver after installing the system.
What Im going to do now is:
1.Mount the new mirrored filesystem under /root1 2.use find | cpio to copy everything from the existing / to /root1 3.use grub to create a boot record on /root1 4.edit /root1/etc/fstab to point / to the new disk 5. reboot the system and keep my fingers crossed
I've a pc running Centos 5.4 with an uniq external hard disk hooked by USB (no internal drive). I'd like to hook it through e-sata to get performance improvment. So I am using a sata->e-sata connector to plug the disk.The disk is well detected by the bios, and Centos begin to boot but when it wants to mount the volume groups I've a kernel panic.VG and LV names are detected, but the system says it can't find them (there is a /dev/root not found error message)If I boot the system through a live cd I can mount and access VG/LV without problem any hint to get the system up and running through sata ?
grub.conf:
# grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that
I have a series of four config scripts which all run in sequence of each other.first occurs during the whole kcikstart thing.Kickstart then tells rc.local to run step2, which then tells rc.local to run step 3. No steps are repeated, after they are run they delete themselves from rc.local.After each step, it reboots.Step 3 is responsible for creating the /etc/sysconfig/network-scripts/ifcfg-eth1 file, and populating it. It greps ifconfig -a for the mac address of USB0.
#! /bin/bash
# Check to see if the usb nic takes eth2, if it does, move it to eth1[code]............
I had Windows XP Pro 32 bit and CentOS 5.4 installed on my Dell M6400 laptop and life was wonderful. Until I had to reinstall Windows. In the process, I reformated the C: partition of the drive where the Windows operating system was installed. I was careful NOT to reformat anything else. Now I cannot boot CentOS. The drive that has both the Windows and CentOS still shows the same partitions as were there before I reinstalled Windows, namely:
NTFS (C:) 171.82 GB /boot 102 MB (F:) 60.96 GB
is where my CentOS partition has all of my linux data and apps. I assume /boot should be the boot partition for CentOS I use Acronis OS Selector to show the partitions to boot. Now CentOS doesn't show as an option even if I go through the process of trying to detect a CentOS boot partition using OS Selector. I have researched this in the forums but have not found anything that was of help. There was a thread from someone who had trouble booting Ubuntu on a system with Windows Vista and CentOS but I did not see anything there that looked like it would help in my situation.
I have a small network with my Centos 5.6 box and a Win XP PC on it.I can access the files on the PC from the Centos box by bringing up the RUN window (ALT-F2 in Gnome) and typing smb://192.168.1.X/C (where X is the address of the PC), and I get a window with the C: drive from my PC. I can then drag/drop files between the Centos box and the PC. Here are my questions:
1) I want to script the file transfer, so how do I do this from the command line?
2) On the PC, I have 2 drives C, and E. They appear to be set up the same, but the E drive looks empty when I do this using the interactive method above.
I found this tutorial http:[url]..... but I can't get my PC "visible" in the smbtree.Really, I just want to write a script that does a backup on the Centos box and copies it to the E (External) Drive on the PC. (I'm a novice when it comes to administration)
I intent to develop a centos server with lamp. What I want is connect the server to any kind of home network and access it by hxxp://myserver.
If you had to develop a solution with the intent to plug in the box by Ethernet to a router and access it with a browser using the server name what would you do? That's basically what I'd like to know.
I just installed 5.4 on a home machine and I would like to get a UPS that will auto shutdown the server if the power goes out. Here an inexpensive tripplite from Costco. [URL] I only need it to shut down the 1 centos 5.4 machine if the power fails. Tripplite has linux software now that will shutdown machines. [URL]