General :: Minimalist Server - LFS Too Complicated And Time Consuming For End Result

Oct 7, 2010

I am wanting to create the smallest server I can possible. I have a small server I use as a print server and for file sharing. The hard drive is about 80GB. Since I only run cups and samba, I see no reason to take up an addition few GBs with major distros just to run the OS. I know it is possible to get a small distro around 50MB or so. I would even be happy with an OS running around 200MB. what would be the best way to go about doing this? LFS is just too complicated and time consuming for the end result. Would something like Gentoo be better? Anything else that I may not know about?

View 11 Replies


ADVERTISEMENT

Ubuntu :: Minimalist Distro - Build Up From Minimalist System?

Sep 3, 2010

I have used ubuntu off and on for a while on my laptop. After I got my desktop machine I thought it might be fun to try a minimalist distro of linux as a learning experience on the laptop. The problem is the documentation for a lot of these distros talks about things that I have never heard of or have no experience with at all, I have a hard time doing things that I don't understand. I think it would be cool to build a system how I want it, with complete freedom over what goes into it. how did you get to where you are? How does one gain the knowledge to build up from a minimalist system?

View 4 Replies View Related

Ubuntu Installation :: Instructions Bit Intimidating And Seem Very Time Consuming

Feb 18, 2011

Has anyone used this script recently (or at all)? [URL]... The full instructions are a bit intimidating and seem very time consuming: [URL]...

View 4 Replies View Related

General :: Creating A Minimalist Boot USB Stick?

Sep 27, 2010

I'd like to create a bootable USB drive containing a Linux minimalist: In fact I want to do is boot from the USB (compatible BIOS), as a minimalist Linux starts, and runs a file Shell, then at the end of this execution, displaying a root prompt (command line) to the execution of some commands summary.

- No GUI

- Network access required

- Minimal Linux system (the minimum necessary to boot and run a file Shell), with selection of preloaded commands (grep, pico, cat, ...)

I saw on the net that is doable with DOS on Windows, but nothing on Linux. So I need help, because everything I find is related to an existing system (Ubuntu, Debian, ...), I want a gold basis the most minimalist and lightweight as possible. What I presented is feasible or not? If yes, how to achieve it?

[code]....

View 10 Replies View Related

Debian :: Preload Take Long Time To Give Result?

Jan 8, 2010

i got intel inside. when grabbing windows and moving them around they "streaked "(right word ?) over the monitor. Desktop-experience was simply "sluggish". I searched for all kind of info on this board. e.g.: installed preload, intel-microcode, set Xwrapperconfig to -1; -5, -10. tried some changes with swappines and cache_pressure in sysctl.conf. without knowing what it might be good for i ran prelink -a. For about a week it simply rocks: all is "sharp" and clean, including the move of windows. How come? does preload take such a long time ( a few months) to give such an amazing result? Is it related to graphics at all? I upgraded to ext4 bout 4 weeks ago (which takes a while too, from what i have read). intel-microcode doing magic? With the money i got chances are high that the pc`s i buy are intel-inside ones. and with a build-in graphics-card

View 14 Replies View Related

Server :: Identify Which Processes Are Consuming Swap?

Jul 19, 2011

How to identify which processes (or PIDs) are consuming SWAP? In my RHEL box SWAP is nearly 100 % utilized.

Code:
$ free -m
total used free shared buffers cached
Mem: 144967 143212 1754 0 166 135259
-/+ buffers/cache: 7787 137180
Swap: 22367 21733 634

View 11 Replies View Related

Server :: Squid Excessive Memory Consuming On Fedora 12?

Feb 7, 2011

There is squid 3.1.8 on a Fedora 12 server with 2 GB of RAM. It is used for sharing the Internet for approximatively 80 PC's. The problem is that it is really a memory hog, when enabling delay pools. I am using the following configuration for the memory pools:

Code:

delay_pools 1
delay_class 1 2
delay_access 1 allow drumuri

[code]....

There are moments when the squid process uses approximatively all the RAM and goes into swapping. After that I restart it, it goes well for a while and again eats up all the memory. On the Internet it says that Squid uses a lot of memory, but should it use 2 GB of memory, even if all 80 people are online at the same time?

View 2 Replies View Related

General :: Less Power Consuming Distro?

Jun 19, 2011

I'm new to netbooks and linux. I have an Asus 1215b (AMD FUSION E350) and I want to install an OS only for writting offline or browsing the web (and accessing to google docs or my email account) while making my battery last as most time as possible.

View 14 Replies View Related

Fedora :: [15] Won't Restart- Kind Of Complicated?

May 28, 2011

When I shut down the computer, then turn it back on- everything goes fine- system loads, no errors.BUTWhen I am in a turned on system, and I ask it to restart (reboot), when the machine restarts and the system starts loading- I get a kernel panic. Every single time- but only when I ask the machine to restart. If it helps, the error didn't appear on Fedora 14.

To make it more colorful- the same situation happens with my Ubuntu 11.04 (I have triple boot- Fedora, Windows and Ubuntu- I am learning Fedora to switch from Ubuntu). When I had Ubuntu 10.10- all was ok- when put 11.04- the error is the same- I can't restart my PC properly. The only system that loads as it should every time is Windows 7.Could anyone pls help me? My guess is that it's some kind of kernel change, because the error didn't show up in the previous versions of both systems (Fedora and Ubuntu).Did memtest (after 12 passes there were still no errors), tried acpi options, modeset, nomodeset (using grub2)- all for nothing.

View 2 Replies View Related

General :: Huge Cpu Consuming And Crash Afterwords?

Mar 4, 2011

Since a couple of months, the machine is hanging itself. I can't connect in any way to it. I have it in a Datacenter far away my office, so when it happens I have to ask the provider to reboot it manually because it always happen in working hours and my clients gets mad on that moments. It happens every 15 days (more or less). It is very difficult to get the procesess status, but today hangs again and I could connect (a very very slow connection) and save a "ps aux".

[Code]...

There are some scripts that you can see as "php /var/www/html/call_engine.php ..." that are consuming CPU more than I expect and I will correct, but I would like to know about the other processes like many crond or the "/usr/sbin/sendmail -FCronDaemon -i -odi -oem -oi -t". Or maybe the whole problem would be the php script?

View 2 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

Programming :: Pass Complicated Commands As Argument To Another Script?

Apr 21, 2010

I am attempting to script some tasks I have to do, but I have no control over one of the scripts I have to use... and they output all kinds of useless things on the screen. My goal is simple: Capture all output from their scripts, and create a progress line that only shows the most recent output from their stuff. So, here was my first solution; a file I called "spin":

Code:
#!/bin/bash
spinX(){
PROC=$1
STRT='date "+%s"'
while [ -d /proc/$PROC ];do
last3=" 'getLine $2' "

To use it, you pass it a process ID and a file that contains the output from that process. As the process continues, a kurby dances on the screen (To let you know that the process has not hanged), and the tail of the output is shown (To let you know what it is doing). When the process ends, the kurby stops dancing and the time it took is displayed.

And here is the file I call "noise":
Code:
#!/bin/bash
while [ i -lt 100 ];do
i=1
echo "Look at me count!$"
sleep 1
let "i=$i+1"
done

This does nothing but create random output, for testing. It counts from 1 to 99 on the screen. To run my test, I do the following:
Code:
(noise) &>tmp.txt & spin $! tmp.txt

It works relatively well, but it is messy. I don't like creating a temp file, and I don't like the messy syntax for calling my program. I decided that I would rather move everything into the spin program, to make using it less messy:
Code:
#Spin Psuedo code
#$1 = command I am about to run
(exec $1) &>tmp.txt & spinX $! tmp.txt

By executing the process inside of the spin code, I can get rid of the tmp file later on without changing a lot of scripts (Or move it, or whatever). I can also call it by passing the command to the script, which I find more elegant.

So here is what I would like to know:
1) If possible, I would love to get rid of the tmp file all together, and store the most recent line of output from script 1 into a variable that script 2 can print out instead... is it possible?
2) How can I run a random command that is passed as an argument? Basic ones work fine, but anything with a pipe fails me.

Example of a script:
Code:
#!/bin/bash
#myEcho.sh
echo;echo "Recieved command: ";echo $1;echo;
echo "Attempting to run command: ";echo
exec $1

Example code for passing commands to script:
> myEcho.sh "ls -al" #works
> myEcho.sh 'ls -al' #works
> myEcho.sh "ls -al|grep *.sh" #fail
# Output:
#ls: invalid option -- |
#Try 'ls --help' for more information.
> myEcho.sh "ls -al|grep "*.sh"" #fail
# Output:
#ls: invalid option -- |
#Try ls --help' for more information.
> myEcho.sh 'ls -al|grep *.sh' #fail
# Output:
#ls: invalid option -- |
#Try 'ls --help' for more information.

View 8 Replies View Related

Slackware :: Minimalist - Packages Should Be Installed?

Jun 4, 2011

Which packages should be installed? The system should also be able to use scim-pinyin with all its dependency packages.

View 14 Replies View Related

Server :: Kdump Doesn't Result In Dumps?

Feb 14, 2010

I have a dumb question but the google can't seem to answer it. When (if?) my host locks up (RHEL 5.4) I generally don't get anything in /var/crash . kdump is configured correctly and works (if tested using ` echo "c" > /proc/sysrq-trigger` as per Red Hat's KBase article) but in the real world, when the system locks up nothing ever ends up there.

So, on to the dump ( ) question - I have to crash it using Ctrl + SysRq in order to get anything out of this, right. If the box is comatose and doesn't respond at all to the point of being power cycled, it's all gone isn't it? Volatile memory being what it is and all; or is there some sort of magic / voodoo in place that makes it survive the reboot. And no, my Dell PowerEdge 1950 doesn't have battery backed RAM, so i'm quite sure that unless i can kill it through sysrq ...

View 2 Replies View Related

Server :: CentOS 5.5 - Fuser Not Giving Any Result

Oct 29, 2010

When I check socket on my box (Centos 5.5) I notice a strange behavior:
fuser 80/tcp
fuser -4 80/tcp
fuser -6 80/tcp
don't give me any result. But apache is running!
tcp 0 0 :::80 :::* LISTEN 25960/httpd

View 2 Replies View Related

Server :: Motherboard Embeded RIAD1 - Two Disk In Fdisk -l Result?

Apr 27, 2010

I install centos 5.4 on my intel S5000vsa motherboard, and with embeded RAID1. I successfully config RAID1 in BIOS, and then I set to install centos use linux dd mode. And also successfully loaded raid drivers. In centos partition step, one disk appears. However, when centos installed and entered the system, strange result in fdisk -l.

fdisk -l
/dev/sda
...
/dev/sdb
...

Is it normal?

View 4 Replies View Related

Ubuntu :: Change The Window Scrollbars In 11.04 From The Frankly Annoying Minimalist Orange Strip?

Apr 30, 2011

Is there any way to change the window scrollbars in 11.04 from the frankly annoying minimalist orange strip to the far more user friendly large bar with clickable arrows top and bottom?

I'm using Ubuntu Classic Desktop...if I really couldn't get on with this scrollbar...would I actually have to go back to the previous OS release?

View 1 Replies View Related

General :: Rpm -qa Doesn't Return A Result

Jul 3, 2010

I have an Ubuntu Linux on a VMWare running and I've installed RPM Package Manager. However when I try to query all packages using the rpm -qa command, I don't get any results returned.

View 2 Replies View Related

General :: How To Know If The Command Find Any Result

Oct 21, 2010

#!/bin/shLOOK_FOR="NTLMAuthenticationFilter"for i in `find ./ -name "*jar"`doecho "Looking in $i ..."grepjar -e $LOOK_FOR $idoneI wrote the script above, and try to find if there any file name LOOK_FOR exist in those jar,my quest is: grepjar -e $LOOK_FOR $ihere how can I check if there are any successful result , and output them ?

View 2 Replies View Related

General :: Use Command To Open First Search Result With Vi?

Nov 10, 2010

Every time I need to find a file and then open it, I have to use :
find ./ -name **.properties. , then copy the result, and then vi "paste the result here" .
If I need to use a mouse, it can be a little trouble. So is there any better way to do this?

View 6 Replies View Related

General :: Why Does Du -sl Show Different Sizes For Source And Result Of Cp -rl?

Jul 14, 2011

I have used cp -rl to copy a folder. When measuring the size of the source and of the result of the copy du -sl returns slightly different sizes, even though diff confirms that their content are identical.Both folders reside on the same hard drive, no modifications to any of them have been done between the copy and the measure. I found nothing in the documentation of du and cp which could explain the difference.

View 1 Replies View Related

General :: Store Result Of Wc -l Command In Variable?

Apr 19, 2011

I want to store the result of wc -l as a variable so I can use it later in my script...so far unsuccessfully.

I have tried this:

set `echo awk '{ print $1, $6}' | wc -l` | echo $1

but it is far from working.

View 11 Replies View Related

Ubuntu Servers :: Get Notices That There Are Updates For The Server Software From Time To Time?

Mar 29, 2010

I have several file servers in our offices and I am relatively new to Ubuntu / Linux. I get notices that there are updates for the server software from time to time. Is it typical to update everything when available or should I follow "If it ain't broke, don't fix it..." mentality?I would hate for everything to be working fine and then have an update throw me a curve.

View 9 Replies View Related

CentOS 5 Server :: Time On Xen VM's Drifting Ahead Of Real Time?

Aug 4, 2009

I am hosting two Virtual Servers both running Centos 5.3 on a host machine also running the same OS. The VM software in use is Xen, as supplied with the OS.The host machine's time and date is fine, however both Virtual Servers are running ahead of real time consitantly.Running /etc/init.d/ntpd restart will resolve the issue however one of these is running MailScanner and when the time suddenly goes backwards, sometimes by as much as an hour, it stops working properly.

View 1 Replies View Related

General :: CLI Commands To Generate Random Result From Specified List?

Jul 20, 2011

List of 77 lines with the names of movies. For ease, let's say it's in a text file. What I want is a command line argument I can pass that'll read each line and pick one of those 77 lines at random, except I can't figure out how to do this. Is there a program I can just pipe the output of 'cat listofmovies.txt' to?

View 13 Replies View Related

General :: Acpi Result In Hardstatus Line In Screen?

Apr 15, 2011

the command acpi gives me the percentage of battery that my laptop has.I would like to print the result of acpi in the hardstatus line of "screen".

View 5 Replies View Related

General :: Assigning Query Result Into A Variable/file?

May 25, 2011

I am connecting to MySQL DataBase using shellscript and writing a select statement like select attachmentid from attachments where pageid=10175 I want to store the output of the select statement into a shellvariable or a file. How can i do it using shellscript.

View 4 Replies View Related

General :: BASH Script Will Not Get Use Result Of Command When Run As Cron Job?

Jul 1, 2011

I am frustrated by running a script on the Fedora 14 computer as a cron job. I paste the code:

Code:

#!/bin/bash
#a backup script to copy data from sda to sdc
ROOTVOL=`blkid -U ea210a08-6212-4dc8-be1c-23fce3b965bc`

[code]....

So when I run this as root, for example:

Code:

# /root/myscript

the result is what I expect:

Code:

Jul 1 13:41:16 svn root: ADMIN: Executing backup-svn
Jul 1 13:41:16 svn root: using blkid ea210a08-6212-4dc8-be1c-23fce3b965bc as /dev/mapper/vg_svn_backup-lv_root

[code]....

View 3 Replies View Related

General :: Check Character And Then Replace Depending On Result?

Oct 26, 2010

I have a CSV file with 8 columns. I want to check the 5th column, which will contain a single capitalised letter. If that letter is say "B" I would then like to replace the 2nd column in the csv with an incremental number starting at 0 (basically a count) with a prefix of B (B0000001) Sample row would be:

Code:

C, 0109390,sfs,sfsf,B,blah,blah

Amended row would be:

Code:

C, B000001,sfs,sfsf,B,blah,blah

View 14 Replies View Related

General :: Use Result To Be Saved In Variable - Which Type Would It Be In Script

Feb 5, 2011

If I want to use that result to be saved in a variable, which type would it be in script? For clearing: let variable x and destination path is y/z

in prog.sh:
x=du -hb /y/z
echo $x

Q1: What type of x?

Q2: What option instead of -hb to presedent the size in kib?

View 11 Replies View Related







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