similar to: Testing remote machine status in a script ?

Displaying 20 results from an estimated 10000 matches similar to: "Testing remote machine status in a script ?"

2009 Oct 28
6
Rsync and full path of filenames
Hi, I have a bit of a tricky question about rsync. Let's say I want to backup a bunch of configuration files with rsync, in a script. What I don't want to do : a full snapshot of /etc. What I want to do : backup only those files I need, in an otherwise empty directory tree. In my script, I'd begin with a list of the files I effectively want to backup. Something like :
2009 Oct 19
6
Monitoring a remote server with Conky ?
Hi, I've been using Conky for some time, a nifty utility to monitor just about anything on the PC. Vital things like CPU, RAM, swap, disks, current song playing in MPD :o) Here's what it looks like : http://www.microlinux.fr/images/bureau_conky.png And with more detail : http://www.microlinux.fr/images/conky_zoom.png Now I wonder... I'd really like to use that to monitor my
2014 Dec 13
1
Remote Git vs. GNOME on CentOS 6.6: cannot open display
Hi, I just installed a fresh CentOS 6.6 desktop. It's a client's machine, it is physically installed on a testbench in my office. Usually, when I perform installations, I start with the base system on the testbench, and once networking is configured, I SSH into it and then do all the fine-tuning remotely. My configuration files, scripts and HOWTOs are all stored in a Github
2009 Jun 07
3
Basic setup for vsftpd ?
Hi, I'm currently fiddling with G4U (Ghost for Unix), and I need to setup a local FTP server in order to get it to work. # yum groupinstall "FTP Server" --> installed vsftpd Here's what I'd like to do : * no anonymous access * only one user (user 'install' / pass 'install') The machine I'm installing it on has a static IP ok
2008 Sep 13
5
Changing hostname?
Hi, I recently made a CentOS install on a machine with an unsupported network card. I had to add the driver for it later, once I finished the install. For now I have this: [kikinovak at localhost ~]$ hostname --fqdn localhost.localdomain Q: how would I change this to something like calimero.local? Here's what I *would* do, but I prefer to ask before. 1) edit /etc/sysconfig/network and
2009 Jul 20
5
SSH without password on CentOS 5 ?
Hi, I'd like to use SSH without password so I can use it in scripts (for example in combination with rsync to do backups). I have Carla Schroder's "Linux Cookbook" and I'm trying out the various receipts, but the one for SSH without a password doesn't work. The book is slightly dated, and I wonder if SSH included in CentOS works differently. Any suggestions? Niki
2007 Aug 04
2
Data corruption on external hard disk
Hi, I'm using CentOS 5 on all my computers here (work + home) and I'm very satisfied with it. Some time ago I purchased a 300 GB external hard drive to store films, music, pictures and documents. Since there's no Windows machine around here (small South French village, town hall and public library use Linux :o)), I replaced the FAT filesystem on the disk by an ext2 filesystem.
2014 Oct 11
2
Hi again & problem with minimal CentOS and Github
Hi everybody, I'm back to CentOS after a long period during which I've been using mainly Slackware. I still use Slackware for teaching and for my local clients (on servers and desktops), but right now, I'm planning to update my own documentation about CentOS, which is still based on version 5.x. First things first. For the moment I have a sandbox server in my office with a
2007 Jun 29
4
Retrive data from repartitioned / reformatted hard drive?
Hi, The title says it all. One of my clients showed me a 120 GB hard drive that his daughter accidentally formatted, according to him. I booted the first CD I had at hand - a Slackware 11.0 install CD - and launched cdfdisk /dev/hda. cfdisk informed me that there was even no partition table. So much for reformatting. cfdisk only shows me 120 GB of free space. Any way to retrive data on this
2015 Mar 23
4
Facebook CentOS group close to 15.000 members!
Le 23/03/2015 17:26, Les Mikesell a ?crit : > There is a real simple answer to privacy on facebook. Just don't post > anything there that you would not want to be public. Just like this > mail list. I recently joined that list and wanted to publish a simple link to my technical blog dedicated to CentOS (http://kikinovak.wordpress.com). There's no commercial interest behind it,
2010 Jul 10
8
Simple solution for small network in a school ?
Hi, I have to install a small network in a school in a nearby village. The network will be Linux-only, one server and fifteen desktops. Here's the idea. 1) Authentication should be managed centrally on the server. 2) User home directories should also be on the server. 3) Users should all have disk quotas, something like 1 GB per user. 4) Some shared directories should be read/write for
2008 Oct 26
3
Simple audio recording app?
Hi, I'd like to get my microphone to work (mainly to use it with Skype). I've just been looking for a simple audio recording app, as I vaguely remember having seen such a thing before, only I can't seem to find it anymore. I'm using the default GNOME desktop with the latest CentOS 5. Any suggestions? Niki
2010 Mar 01
5
Slightly OT: check creation of a group
Hi, I'm currently writing an install script for an application, and my already limited Bash skills are a bit rusty. I want to check if a group exists, and if it doesn't, then create it. Only thing I found is: if [ grep medintux /etc/group ]; then continue else groupadd medintux fi Apparently I can't seem to "negate" the test, e. g. something like if !(grep medintux
2008 Nov 25
2
adduser vs. useradd
Hi, To add a user to the system on the commandline, I usually use the adduser command. # adduser newuser And that's it. I've been using that command probably out of an old habit, since I've been a long-time Slackware user before. But now I wanted to dig a bit deeper, and some details puzzle me. Whereas on Slackware, 'adduser' is an interactive shell script to create a
2007 May 15
3
GRUB and vga=788
Hi, On a minimal (e. g. without X) server install, one of the first things I do is add 'vga=788' to the 'kernel' line in /boot/grub/menu.lst, so I can use the framebuffer in 800x600 mode and have a better readability in console mode. However, I tried this on my minimal CentOS 5 install, and right after GRUB, the screen just blanks. I add that this (test) machine ran maybe a
2017 Jun 16
3
Markdown editor for CentOS 7?
Le 16/06/2017 ? 13:25, Yamaban a ?crit : > First, there are "preview" plugins for vim, you might want to look at > them first: > https://github.com/suan/vim-instant-markdown Hi, Thanks very much for your advice! This is a real life-changer for me. I had to fiddle a couple hours with Node.js and tweaking Vim until Markdown was handled correctly, but now I have a really nice
2014 Dec 14
3
Broadcom wireless card: installation script for Linux-STA driver
Hi, I just installed CentOS 6.6 on my HP Pavilion DM1 laptop. The wireless card is only poorly supported in the default setup, so I decided to write an installation script for the Linux-STA driver, which works perfectly. https://github.com/kikinovak/centos/blob/master/6.x/broadcom-sta/broadcom-sta.sh Grab the files: # git clone https://github.com/kikinovak/centos Run the script: # cd
2010 Apr 16
6
CentOS-friendly wiki engine ?
Hi, One of our local town halls has asked me to implement a wiki-based website dedicated to ecological farming. The wiki is supposed to host a variety of documents in text, video and audio format. I've never used any wiki engines myself. Is there any one you can recommend in particular ? I'm using CentOS 5 on the server, so I would be glad to use a solution where I don't have to
2009 Nov 15
3
Problem with Yum on CentOS 5.4
Hi, I recently downloaded and burned the 5.4 DVD ISO. All my machines are now running 5.4, but these are installs I performed with 5.0, 5.1, 5.2 etc. and then progressively upgraded. Now I had to use 5.4 because a friend's laptop, a brandnew Fujitsu Esprimo Mobile, refuses to boot anything under 5.4. After a fresh install of the base system, first thing I do is 'yum update' with
2007 Jun 10
1
Problems with UserDir directive on CentOS 5
Hi, I'm currently setting up a local LAMP server to test various apps. Starting from the out-of-the-box configuration of Apache, I test it, and it's OK: http://localhost shows Apache's default page OK in Firefox. Now I edit /etc/httpd/conf/httpd.conf and replace 'UserDir disabled' by 'UserDir public_html'. I restart Apache. Then, as a normal user (kikinovak): $