General :: Multiple System Deployment (95 Percent Debian)

Jun 17, 2011

The last days I try to find a good and easy solution to keep new installed Servers with same basic configuration. For example every new Installed Server should have:

- phpmyadmin installed and configured
- munin installed and configured
- mysql server with some predefined users and passwords
- same users created with existing ssh keys. also ~/.ssh/authorized_keys file with pub key inside

At the moment I use some bash script to create the users and sync the keys. Basically I need to install predefined packages and remove some other packages configure some config files (or copy working configs). I have looked at cfengine and puppet Server. And I am asking my self if this tools are overkill for this task.

View 2 Replies


ADVERTISEMENT

Server :: Root File System At 100 Percent Capacity - Why

Jun 6, 2011

When I try to install anything recently, I was getting errors about "No Space". I noticed that the root drive (/dev/sda1) has 100% usage which I'm not sure how that suddenly happened.

Code:
tom@HouseMedia:/$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.0G 9.0G 0 100% /
none 1.5G 552K 1.5G 1% /dev
none 1.5G 0 1.5G 0% /dev/shm
none 1.5G 300K 1.5G 1% /var/run
none 1.5G 0 1.5G 0% /var/lock
none 1.5G 0 1.5G 0% /lib/init/rw
/dev/sdb1 294G 182G 97G 66% /mediastorage

There was a powerloss recently and I wondered if some serious corruption had occurred. Since I'm checking the root drive, I had fsck run after a restart:

Code:
sudo shutdown -F -r now

FSCK went to work, briefly, and the logs (/var/logs/checkfs and /var/logs/checkroot) remain empty. Speaking of log files, I had a look at all of them and they take up a mere 32MB, so that's not the issue...

Code:
tom@HouseMedia:/var/log$ ls -h -l
total 32M
drwxr-x--- 2 root adm 4.0K 2011-06-05 06:39 apache2
drwxr-xr-x 2 root root 4.0K 2011-01-20 10:43 apparmor
drwxr-xr-x 2 root root 4.0K 2011-06-01 06:37 apt
-rw-r--r-- 1 root root 0 2011-03-01 06:43 aptitude
-rw-r--r-- 1 root root 851 2011-02-08 10:08 aptitude.1.gz
-rw-r----- 1 syslog adm................

Using Code:
du -h
I know that:
/var uses 1.2 GB
/root uses 100 K
/usr uses 1.4 GB
/tmp is empty
/home has 35 MB

Have already ran apt-get clean. How can I figure out what is taking up so much room? How can I go about figuring out what is huge and is safe to remove?

View 12 Replies View Related

CentOS 5 Server :: Kswapd0 Using 100 Percent CPU - Drives Up System Load

Oct 20, 2010

Our CentOS 5.5 server has an intermittent problem where kswapd0 begins using 100% CPU, driving the system load to 20-30 and higher, and eventually crashes the server. The problem seems to be triggered by an intensive Java process (Lucene indexing), but only once every month or two. Lucene reindexing normally runs every 15 minutes without a problem. When the problem happens, there is still plenty of free RAM (as measured by /usr/bin/free's "buffers/cache" value, which is 1.5GB) and free swap space. The server is running MediaWiki 1.15 with the standard CentOS Apache, PHP, MySQL. My intuition is that this is a kernel/swapper bug.

Kernel info:
$ uname -a
Linux myhost 2.6.18-194.11.1.el5 #1 SMP Tue Aug 10 19:05:06 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

Memory info:
Normal memory usage:
$ free
total used free shared buffers cached
Mem: 3090688 2769932 320756 0 258416 1531780
-/+ buffers/cache: 979736 2110952
Swap: 2097144 8212 2088932

Memory usage 30 seconds before a crash:
$ free
total used free shared buffers cached
Mem: 3090688 3050764 39924 0 113772 1309972
-/+ buffers/cache: 1627020 1463668
Swap: 2097144 179480 1917664

View 7 Replies View Related

General :: Difference Between Installation And Deployment

Apr 24, 2011

Anyone explain me the difference between installation and deployment?

View 4 Replies View Related

General :: Kickstart Versus Windows Deployment Service

Mar 15, 2010

Need comparison of features and performance of Kickstart to Windows Deployment Service? (What do they have in common).

View 4 Replies View Related

General :: Python Package Deployment Tool (Executable)

Jul 6, 2010

I am writing a python package deployment tool for linux based platforms. I have tried various existing tool sets but none of them is up to the mark and they have their own issues. Initially I'll start with simple approach.
1. Find all the modules/packages and copy to "lib" directory.
2. Find python's *.so dependencies (system libs) and copy them to "syslib"
3. Copy python (executable) and libpython2.6.so.1.0 into "dist" directory.
4. Set up temp environment
5. Run main script using "python <main script>.py"

The idea is to produce a cleaner directory structure. Neither I am creating a boot loader nor I am converting main script file into executable. It's plain vanilla stuff. Using above steps I have pulled down a package using wxPython's demo example "pySketch.py". You can download the archive from here: [URL]. After extracting the contents, run the executable file using "./run". This file sets temporary environment variables and execute "pySketch.py". This is eventually not working. I think I am not able to set up temporary environment properly or may be missing some other stuff.

View 1 Replies View Related

General :: Scalable Test Platform And Patch Lifecycle Manager Deployment

Oct 21, 2010

I am regularly keeping watch on kernel releases like 2.6.36-rcX and compiling the upcoming kernel releases on Fedora 13.I came across STP [URL] and PLM testing and seems like it is relevant tool for compiling, testing the kernel components in very precise way. I am unable to find the documents which can help in how to implement or run the tool. I have just downloaded the Test-suit tar and dont see any README or steps to test or run the tool.

View 1 Replies View Related

Debian Multimedia :: Sound Volume Low Despite Alsamixer At 100 Percent

Aug 1, 2010

I've got a Toshiba L650, Debian testing/unstable, KDE4.4.5. The sound worked when I first installed everything (played a movie in dragon player, etc), but shortly thereafter it stopped working. It seems like the hardware is okay (all hardware is recognized, all relevant modules loaded, volume in alsamixer at 100%, the system beep -- set in the BIOS -- works), but I still can't get sound to play. Once or twice, right before KDE shutdown, I could hear the exit sound, but that's it. Last night I exited KDE (without hearing a sound), shutdown kdm, then:

mv $HOME $HOME.backup
mkdir $HOME
and restarted kdm and kde...still no sound! I created another user, and still no sound!

View 6 Replies View Related

Debian Installation :: System With Multiple Disks

Jun 25, 2015

I have given up (for now, at least) the idea of a raid solution but I will still have 2-3 hard disks available for my workstation. If I choose to reinstall from scratch,can I have essentially two different homes?

View 5 Replies View Related

Debian Configuration :: Custom Multiple - Boot Troubleshooting-System?

Aug 16, 2010

I want to build a custom system and I need your opinions. I have an old laptop which I want to configure as a system for troubleshooting purpose, my idea is to have multi-boot system with multiple root file systems, e.g. one root file system has only BIND to work as DNS server, another root file system has only Samba, etc., and I can choose which system to boot into from grub, or a custom menu after booting grub.

I thought of setting multiple partitions and install a full system on each one, but I thought that there might be a better way to do this, I'd like to hear your opinions.

View 2 Replies View Related

Debian Multimedia :: Multiple Monitors On Laptop Causing System Freeze?

Mar 18, 2010

I'm having some trouble hooking my external flatscreen monitor up to my Toshiba Tecra's docking station and having Mint (or Debian) be happy with it. The laptop uses a widescreen monitor but my external is a 4x3; I wonder if this is causing problems. Of course, it may just be the Intel 82801G graphics adapter.et things up properly in the Display Preferences config window (I'm using Gnome, btw) but when I hit apply, the system locks and I have to hard boot. I've never set up a linux box with multiple monitors before, let alone multiple monitors that require different resolutions.

View 3 Replies View Related

General :: Root Directory 100 Percent Used?

Dec 31, 2010

I have assigned 4G for my "/" directory, on slacware 10.2, and have not installed the GUI either. I am not sure what files to look for that have been growing over time that has completely depleted my space. Think it would be log files, but don't know where to find them.

View 10 Replies View Related

General :: CentOS 5 - Available Disk Space Always 0 Percent

Jun 16, 2011

I am running centos 5. So far, it gives no problem but just yesterday, when it reported "no free space" for file writing, I try to remove some file as usual. Unfortunately this time no matter how much files I had deleted, it just keep showing no available space for doing so.

Result from df:
[root@LSMSVR ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
1.2G 269M 879M 24% /
/dev/hda6 4.8G 138M 4.4G 4% /tmp
/dev/hda5 19G 2.4G 16G 14% /usr
/dev/hda3 48G 12G 34G 25% /var
/dev/hda2 379G 365G 0 100% /home
/dev/hda1 99M 15M 80M 16% /boot
tmpfs 180M 0 180M 0% /dev/shm
ow to recover the lost space in /home?

View 2 Replies View Related

General :: Syncing Two 90 Percent Similar Folders?

Nov 21, 2010

I have a project folder that I pass back and forth between my desktop and laptop via Samba. Both are running Debian. The folder is large. I would like to be able to change a few files in the folder on my desktop and then "update" the folder on my laptop without having to pass the entire folder back over the network.

View 3 Replies View Related

General :: Ubuntu 11.04 - Flash Player Consuming 100 Percent Of CPU

Jul 18, 2011

I'm using Ubuntu 11.04, Firefox 4 and the latest version of Flash. My other machine specs are

Code:
processor: 1
vendor_id: AuthenticAMD
cpu family: 16
model: 8
model name: Six-Core AMD Opteron(tm) Processor 2439 SE
stepping: 0
cpu MHz: 2800.112
cache size: 512 KB
fpu: yes
fpu_exception: yes
cpuid level: 5
wp: yes .....

Since this is a virtual machine, it is causing concern in our environment b/c other virtual machines are impacted. How to coax this plugin to use less CPU?

View 2 Replies View Related

General :: Process Gnome-appearance-properties Causing 100 Percent CPU Usage

Mar 18, 2011

I am running a HP dc5750 dual core computer with a 512MB Nvidia 7200/7300 graphics card my operating system is Ubuntu 10.10. Both my processors are operating at 98-104% cpu usage, it appears that gnome-appearance-properties is the culprit and the only way to return to normal is to end these processes. I have been setting up the desktop cube to my liking and the processor appears to rise up to 100% again. Would getting a 1GB graphics card correct this or is this a bug in maverick meerkat. Any advice would be appreciated. Please keep it simply as I am a Newbie to Linux and find things over-whelming at times. Also would running at 100% on both processors at indefinite periods of time harm my computer.

View 3 Replies View Related

General :: Unable To Boot From Ssd With Multiple Hard Disks System?

May 2, 2011

I have a PC with 4 harddisks and one ssd drive, presently PC boots from the 1st harddisk and other harddisks (sometimes 1, 2 or 3, depends upon the requirement) are used for the storage. Now i want to boot the PC from SSD and use the other harddisks for the storage only. My problem is that when system boots it takes 1st harddisk as sda and SSD as sdb, if i am using only one harddisk, and if i use 2 harddisk it takes sdc as SSD. So i am not able to give fix boot point in menu.lst file, if i wish to use root filesystem from SSD.I am using 2.6.33.7 kernel and grub bootloader. I have tried using initrd with udev but not able to include and start udev properly in initrd. I am trying to boot from UUID or LABEL, but no success. Am i missing something in kernel to get the UUID or LABEL.

View 6 Replies View Related

Red Hat / Fedora :: Samba3 3.3.14 On CentOS 5 Deployment

Nov 16, 2010

Anyone done a deployment of Samba3 > 3.3.4. Had to install this version as I am preparing a domain for Windows 7 computers. My installation on CentOS went well. smbd and nmbd are running OK. I am able to test user accounts with the

smbclient -U usertest \hostusertest

However, I cannot seem to be able to add a computer, even a Win XP workstation to the domain. I used smb.conf files from a previous Samba 3.0.28 with minimal modifications. Kindly forward your smb.conf file, here is mine:

[global]
workgroup = DOMAIN
netbios name = DOMAIN_SERVER
server string = Samba Server Version %v
passdb backend = tdbsam
log file = /var/log/samba/%m.log
max log size = 40 .....

View 5 Replies View Related

Red Hat / Fedora :: Automatic OS Image Mass Deployment

Dec 21, 2010

I have a Linux OS, and I want to make it as an image so that I can install 20 servers with that image as baseline OS.How to do that? As I know:
1. kickstart == is only for new OS instalation, it needs a Linux CD source
2. systemimage == is for clone the partition (not massive deployment)
3. kiwi == only for SUSE

View 2 Replies View Related

Software :: Possibilities Regarding Deployment Of RedHat Server

Aug 10, 2010

We have a customer that wants to look at other possibilities regarding deployment of redhat server. They are now using Altiris. Do you have any other good software, free or not free.

View 1 Replies View Related

Ubuntu Servers :: BEST 10.04lts Desktop Automated Deployment

Aug 25, 2010

vote on the best automated deployment for 10.04 lts desktop! have 50units identical pc's, one pdc (openldap, bind, dhcp) and one fs (nfs server). thinking of installing just one pc with all the updates, program addons and stuff, then thinking of: disk image the disk and copy to the rest of the 49units and just edit the host name and activate the etho by sudo mv /etc/udev/rules.d/70-persistent-net.rules /etc/udev/rules.d/70-persistent-net.rules.old would this be ok? i mean there will be no problem if users authenticate an stuff?

View 7 Replies View Related

Fedora Security :: Securing A Server For Deployment In Untrusted Zone?

Apr 1, 2010

I have to deploy a server to some customers that should not be given access to the server itself. I know that nothing is 100% secure but I've searched without finding a decent answer (maybe I googled for the wrong terms ?)I need some advice about encrypted filesystem. * The server must boot without asking for a passphrase (the server will be in a restricted access area so typing a password could take a while). I can't store the password for luks in an unencrypted file so it seems a loop to me. The only way out I can see is to store the passphrase in the boot binaries (better than nothing...) but this results in more work for me.* possibly the customer should not be able to move the hard disks to another pc, i.e. reading the passphrase from some unique hardware ID. This is risky but I could add a master passphrase to be used in case of hardware replacement

View 3 Replies View Related

Ubuntu Installation :: Windows Deployment Services - PXE Boot Aborted (Grub Rescue)

Dec 23, 2010

I previously had a machine that dual booted Windows 7 and Ubuntu 10.10 32 bit. I recently attempted to wipe out the 32 bit Ubuntu and install 64 bit Ubuntu.

Here what I did:
- I booted from the LiveCD, and had no problems
- I formatted /sda3 using gparted. I checked that Ubuntu resided on /sda3 via the command "sudo fdisk -l". This worked fine.
- I then clicked the "install ubuntu" option on the desktop, and chose the largest chunk of free space.
- About 15% through the install, I was told the CD could not be read from due to a potential scratch or issue. I then tried to revert back to the Os running from the LiveCD, and things went crazy. I had trouble shutting down the machine and did a hard reset.

Now, whenever I boot I am greeted with the following message:
Windows Deployment Services: PXE boot aborted
error: no such partition
grub rescue>
At the grub rescue prompt when I ls, I see:
(hd0) (hd0,4) (hd0,2) (hd0,1)

I can still boot the LiveCD. I tried that again and tried to again format sda3 using gparted but had no luck fixing the issue. When booting from the LiveCD I am also told by gparted that "sda1 does not coincide with a cylinder boundary" or something of that nature.

View 9 Replies View Related

General :: SMP Kernel Would Work With Single Processor / Work With Multiple Processors System?

Feb 10, 2010

If I have SMP kernel would it work with single processor or only work with multiple processors system?

View 6 Replies View Related

General :: Use 'iw' To Create Multiple Virtual Interfaces To Connect To Multiple Networks?

Oct 26, 2010

I'm trying to connect one computer to two others in an ad-hoc infrastructure.

[computer 1] ---- [computer 2] ---- [computer 3]

computer 2 is running Linux and has a single NIC wlan0. I want to it to connect to both computer 1 and computer 3 so each computer can talk to the other. No switch is available so it needs to be an ad-hoc setup.

[Code]...

View 1 Replies View Related

General :: Rename Multiple Files In Multiple Directories/subdirectories Recursively?

Aug 23, 2010

I am to rename all the files within a directory (which contains multiple subdirectories) recursively without invalid characters.

I tried the coding posted above.

find . -type f -printf '%p
' | while read file; do
oldfile=$(basename "$file")
newfile=$(echo "$oldfile" | sed 's/[^A-Za-z0-9_.]/_/g')
if [ ! "$newfile" == "$oldfile" ]; then
echo mv "$file" "${file%$oldfile}$newfile"
code....

but I get an error on both of them stating "find: bad option -printf find: [-H | -L] path-list predicate-list"

View 9 Replies View Related

General :: Good Support To Multiple Desktops AND Multiple Monitors

Jun 4, 2010

I'm starting to have A LOT of opened windows in my machine. Sometimes within a project, I have e-mail/task management/personal e-mail/twitter, and a lot of different opened applications/terminals in my Linux workstation.Sometimes it would be interesting to have different workspaces to projects instead of this configuration I have nowadays that are classes of work (bad name, I know, but I think you got the idea).I'm starting to think about using two monitors: one with Corporate Management, Work and Personal. The second monitor is only the development state: each workspace here is about a project being worked on instead of groups of works like before. A workspace may be implementing different classes for example.

My question is: I just want to change to a second monitor using the mouse. I want to still be able to change workspaces in the same monitor using keyboard shortcuts. The keyboard shortcuts wouldn't change monitors, just worskpaces on the same monitor. All the tutorials I read (like this one) only tells how to use multiple monitors but doesn't answer my question about keyboard shortcuts.Does Linux (Ubuntu 10.04 Lucid Lynx or Debian 5.0.5 Lenny) support this envisioned setup (Different workspaces in a way that keyboard workspace switching only works in the current monitor) ? If so, how?I haven't tested this setup, that's why I'm asking. In this question the user says it works exactly how I want it to behave, can someone else confirm it?

View 3 Replies View Related

General :: Multiple Servers Or One Server With Multiple VMWare?

Feb 7, 2011

I'm looking at setting up a couple automated systems: Here are a few examples:

* Internal accounting system to download and process emails
* Public web server to visit

I could put each system on its own separate box -- for example, it's generally good practice to separate anything that external users have access to (such as a webserver) from internal processes such as accounting. Now, rather than dishing out the money for two separate servers, could I get away with just installing new instances of VMWare on the same box for each system?

To give you an idea, these are not large scale computationally sensitive systems. The accounting one is simply downloading and tallying emails, and the latter is just a webserver with maybe 5 hits per day on a good day. I could definitely pick up a new box for say $50, but I wanted to know the general practice of using VMWare on the same box versus two separate boxes.

View 2 Replies View Related

General :: Search Multiple Words In Multiple Lines?

Dec 16, 2010

How to search multiple words in multiple lines, inside a directory including sub-directory? Pls. give easy example. I want to search the files (in /xx folder and all subfolders) that have header.h included and used x() function. I tried $grep -r "header.h" | grep -r "x(" /Folder/subfolder/ > search.log

View 7 Replies View Related

Ubuntu :: Apt-Get Process Causes CPU To Run At 100 Percent

Mar 16, 2011

Starting this week I am finding that my computer will randomly start to run high CPU and using TOP. I find that its the apt-get process thats running it up at 100% (please note that top will show processes up to 800% i7quad with turbo-boost show as 8 cores). Whenever I catch this I do let it run for a reasonable amount of time 10-15 mins to allow for updates or whatever its trying.

However, I do end up having to kill -9 it as just don't understand why its running so hot. I realize this is a really early bump but its not intended as so, I was browsing the forums and realized I left the title as apt-get.... and would be better if I gave a more descriptive title. hense the edit. I really hope I am not breaking any forum rules here as I really am not intent on bumping so soon.

View 4 Replies View Related







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