I have apt-mirror working perfectly for my local repo.I have it sending me an email everyday after it runs.However, there is nothing in the email. I'd like for the email to show me how much data was downloaded, number of files, (the normal apt-mirror information when ran from terminal). Lastly, the clean.sh script contains nothing to do. What can I add to the script to clean up my repo (remove older packages, etc..) My repo keeps getting larger and larger. It's at 66.7GB now.
" > logfile.txt : gives an error extra character after the "
2- logsave logfile.txt 'send "show command;
" ': error invalid command
3- i simply tried to send the output of the whole script to file logsave /home/logfile ./script : seems that logsave work under root only
4- ./script > logfile : the problem with this is that the output of echo or (read "enter your id") command will not be displayed on the screen (actually nothing will be displayed, i have to open the log file to see the output). is there any way to save the log of the "send" ? or to save the log of the complete script without hiding the output on the screen?
I am using awstats for my website report . but last 3 days i am not using awstats . now i check awstats,, when i give updatenow then it only shows todays report , we cant find last 3 days report.
I have collected the sa* and sar* files for the past two weeks , i need to generate the report for these files how can i do so i am using centos 5.5. assist me with a tool or a command to do the same.
I just upgraded to lucid and discovered a nasty bug. It prevents the system from booting and took me hours to resolve. Now I'd like to report it along with the workaround I found. The only problem is: Where? Other such bugs have been filed against "update-manager", but that's just the GUI calling some scripts which do the real work. so what do I do?What should I substitute for XYZ in
I have setup a cluster.Which is basically a few Virtual Machines running and the applications running in them which are accessible on internet. He has asked me to send him a weekly report of this work. I am sys admin guy who understands ssh,telnet,ftp,tftp,TCP I am not able to understand what should I write in report.Because all the servers are perfectly running and applications are also running on top of them and I am done with this.So basically from my part I do not have any ssh or ftp to write in a report like this.Can some one give me a link if there is some sample report that I should send.I am not able to understand what do I need to Google for the same.
How do you download a whole distribution at once from an ftp mirror? Ive never used ftp to DL more than 1 file at a time from konsole I tried mget, get as well as using wild cards like this get /slackware/*/*/*/*. Ive been looking for how to's but can't find any that deal with what I'm looking for. I know there is probably a simple solution but I can't find it.
A friend recently introduced me to linux and I've experimented with a few different distros and now have 2 working puppies; 1 system i slapped together from misc. parts lying around and the other is my netbook which boots to puppy via USB. I have had to play around with formatting using gparted.
I very recently acquired a server unit with a pentium II 200Mhz and I would like to LEARN linux. Thru careful research I have figured out that Slack is the best OS for those who want to learn the in's and out's. I guess my question would be which slackware distro would be best for this somewhat older system? ...And where can I find a mirror to download the iso?
I'm using f12. My university has recently become a mirror for fedora packages. But i'm facing a trivial problem. I have set proxy for yum so that the packages that are not available on local mirror can be downloaded from other mirrors. But then i don't know how to set no proxy for my local server. Consequently it is not using my local mirror at all. Tell me how to set no proxy for the local mirror. I want my local mirror because it's damn fast. My proxy settings are like this (they go in /etc/yum.conf):
I am running a Cron job which mails the content of a log report every day. The problem is that the contents are sent as an attachment instead of as the body of the email. The strange thing is that if I run the instructions from the command line everything works fine, but if I do so from the Cron job the log report is attached instead of being sent inline.
The instruction I use is: Code: mail -s "logfile for cron" cron@example.com </var/log/cron-log Following some advice I read on a blog I also tried this instruction in my Cron file, but the result is the same: it works fine from the command line, but attaches the report when run from Cron: Code: echo "Content-Type: text/plain;" | mail -s "logfile for cron" cron@example.com </var/log/cron-log How to ensure the content of the log file is inline?
I have a virtual server which acts mainly as mail server. I wonder whether I could set up a mirror for certain files like Linux ISO images, conference talk recordings and other stuff.How could I seed automatically all torrents from XML feeds plus torrents added by hand? Further conditions: The data files should be accessable via HTTP/FTP, too total traffic and bandwidth uage need to be restricted, plus bonus points for restrictions per feed or file.
Could we create mirror of the existing volume in Linux. Is yes please let me know the procedure to create the mirror of existing Logical volume in Linux.
I need to backup my home folder (and a few other folders) on an organizational Linux NFS system where my account will be expiring soon, onto a personal hard drive (which is not using a Linux filesystem). I access the account through SSH and SFTP. I want to backup all metadata for these files and directories and everything in them, including dates, owners, groups, UID/GID numbers, CHMOD permissions, etc. How can I go about doing this? Do I need to run the LS command recursively on the directory with certain settings of what information to display, and pipe the results to a file so that the information will be in a file regardless of which filesystem I move it to? Or is there a way to save all the metadata using something like TAR/GZ? If it's with TAR/GZ, then how do I view this metadata on other filesystems that I move the archive to, and will the users/groups stored remain intact as long as it's not extracted?
In addition, do you know how to do this for SELinux metadata and AFS (Andrew File System) metadata too? (These will be for another filesystem later on, but if don't know the answer to either of these, please still answer the above.)
Some site will have the location listed, or some mirrors are hosted educational institutions so you can easily identify the location of those mirrors. However How can I determine the location of an unknown mirror? Like for example, say I want to download a DVD install iso of CentOS. I look a the download mirrors and I see list of [URL]. Now from looking at that list how can I tell which one is closest to my location?
I have a raid1 setup on a machine. Recently it died and I thought one of the drives had failed as it was shooting errors. So I tried unplugging that drive get it to boot off the mirror but it seems the techs forgot to mirror the boot device so the 2nd drive can't boot on its own. After a while it was realized that the sata cable was in fact bad and replaced so now its working again.
However, this occurrence showed a flaw in the setup where the RAID1 isn't working as its supposed to. I would like to correct this. Can I somehow mirror the boot partition so the 2nd drive will boot independent? I'm not sure how I would go about this. This is a CentOS 5 installation.
I began the install, Debian 6.0, 64 I get through network config, and everything seems to check out, ifconfig, ping testing to the server it's connecting.I need to look into this further server side tomorrow, but assuming there are no network issues.is there any reason it would not connect to download mirrors? I just did an install on same rack, dell server not IBM, it went flawlessly. IBM is already putting up a fight. So, it's failing to download more content, I end up with no GUI and basic install.
I have set up a Ubuntu box that is a proxy server. Everything works great and I would like to somehow make a complete disc backup of everything on that hard drive, incase it fails. Took me quite a while how to figure out everything and get it working. The box has an 80gb drive, with Ubuntu 9.10 loaded, standard default setup. Could I just install a 2nd hard drive and somehow give it a command to mirror everything to the 2nd hard drive?
At the Get Slackware page at the Slackware website it gives a list of addresses which when I click one of the addresses it redirects to another page with a list of mirror images. Which address and which mirror image do I need to work with Kubuntu 11.04 on my netbook so I can create a USB startup disk? With my connection speed these mirror image downloads take about an hour and a half and I cannot just be guessing which mirror image to download.
I need to produce a script that will create a report that will be emailed to me that will Log user login activity to detect unauthorized remote access attempts. Where would I start?
I need to mirror a particular website (all the pages under that particular domain) any pages (but not whole sites) that the website links to.
How to do this
wget -r --level=inf (or some other variant) will mirror the site.
wget -r -H --level=1 will get all the links (from all domains) to the first level.
Anyone have any ideas on how I could combine these, to get the entire of the main site and one level deep into external sites. I've been banging my head against the manual all afternoon.
I just changed repos back to a standard CentOS base repo due to the custom one I was using needing https, and due to a proxy issue, only have http.When I run yum update, it finds that the path for the mirrors is off slightly giving me 404 errors.
Does anyone know or have a book on the advanced uses of kickstart and its deployment methods? I have a challenge and its to: Write a report with a full and detailed analysis of the two methods,(remote installation methods of linux and windows) their differences, and a comparison of features and performance.
I am also going to have two servers (one Windows one Linux)thay deploy a virtual network of VMs with different scopes and policies. What can i really do to go beyond the scopes and policies?