Ubuntu iTOps Tube

advertisement center

Thursday, April 19, 2012

[ubuntu] Virtualbox Headless Memory

Our server is currently running FreeBSD with jails, but I have more experience with Ubuntu and would love to switch over. I've done a bit of research on the virtualization options for Ubuntu and saw that running VirtualBox in headless mode is pretty popular. The only problem is that our server is fairly limited in terms of memory and power. We only run about 35 websites so we don't exactly need too much power, but I'm worried that VirtualBox would be too heavy. On average, how much memory would a single instance require under Ubuntu (with the virtual OS also being Ubuntu)?



The "busiest" jail runs stuff like Apache, PHP, MySQL, etc. I'm sure jails in FreeBSD are more efficient since they don't actually require an operating system, but I would love to move to a true virtual machine environment since it would be extremely portable and easy to backup/restore.




[ubuntu] Screenlet clock wont remember size

I set the size to 300% (3.00 scale in properties) but every time I restart it resets to 100%.



Any ideas?



Brad




[ubuntu] Flash Video Settings box becomes inanimate after trying to untick box

When I try to untick the "hardware acceleration" box in my Adobe flash settings, does anyone know why this is occurring or how to fix it?



Here's an example:







Solutions? anyone?




[ubuntu] Trouble installing v11.10

I have attempted to install this several times with no success. I keep getting an error message that says "Permissions Denied" and then it tells me, for more info. see the following log file, which is in a nonexistent path. Needless to say, I am at a loss, currently. Can anyone help me out with this please ?




[ubuntu] No Plymouth splash screen after going GRUB 1.99?

Hi guys,



Before we start I have Ubuntu 11.04 as my primary and only OS! :lolflag:



Before I fiddled with GRUB I had Plymouth giving me the splash screen during bootup/shutdown that all of us may know and love.



Now a couple of days ago I installed/updated GRUB 1.99 which I guess is actually GRUB2? or is it GRUB Legacy?



I'm digressing a little so anyway, after this, I did the normal restart to find that my lovely Plymouth splash screen has gone ( or not showing ) from both the shutdown and bootup process, showing the disgusting workings of the kernel.



Any idea's what I did? And more importantly... How it can be fixed?



Thanks.



Jamie.




[all variants] MSI GT783 & Linux.

Greetings,



This is not specific to ubuntu, but I was hoping someone might be able to enlighten me on at whose feet the issue actually lies.



To get linux to boot, ubuntu (12.04 beta2) is easy mode so that's what I've been using as a quick check, I must specify acpi=off, noapic, and nolapic kernel parameters. I've tried all permutations and only _all_ of them results in the machine actually coming up and all being swell. At least to the extent that one could classify the absence of the features those parameters remove as being 'swell'. Most annoying, to me, is the lack of smp.



So the question is that of this being a linux kernel issue or hw/bios issue?



Thanks!




[ubuntu] Creative Recon3D Sound Drivers

Hi guys,



After PLENTY of searching, I haven't found anything about any Recon3D drivers being released. I have even contacted Creative by email to see if they had any plans to release a Linux driver any time soon (since they have them for my old Platinum Fatal1ty X-fi card), and they told me no.



Has anyone heard or seen anything about anyone coming up with drivers for this card?




[ubuntu] Building vlc from source

So i downloaded this vlc tarball and after running the configure script i ended up with this:



checking build system type... x86_64-unknown-linux-gnu

checking host system type... x86_64-unknown-linux-gnu

checking for a BSD-compatible install... /usr/bin/install -c

checking whether build environment is sane... yes

checking for a thread-safe mkdir -p... /bin/mkdir -p

checking for gawk... no

checking for mawk... mawk

checking whether make sets $(MAKE)... yes

checking how to create a ustar tar archive... gnutar

checking whether make supports nested variables... yes

checking whether to enable maintainer-specific portions of Makefiles... yes

checking for style of include used by make... GNU

checking for gcc... gcc

checking whether the C compiler works... yes

checking for C compiler default output file name... a.out

checking for suffix of executables...

checking whether we are cross compiling... no

checking for suffix of object files... o

checking whether we are using the GNU C compiler... yes

checking whether gcc accepts -g... yes

checking for gcc option to accept ISO C89... none needed

checking dependency style of gcc... gcc3

checking for gcc option to accept ISO C99... -std=gnu99

checking how to run the C preprocessor... gcc -std=gnu99 -E

checking for grep that handles long lines and -e... /bin/grep

checking for egrep... /bin/grep -E

checking for ANSI C header files... yes

checking for sys/types.h... yes

checking for sys/stat.h... yes

checking for stdlib.h... yes

checking for string.h... yes

checking for memory.h... yes

checking for strings.h... yes

checking for inttypes.h... yes

checking for stdint.h... yes

checking for unistd.h... yes

checking minix/config.h usability... no

checking minix/config.h presence... no

checking for minix/config.h... no

checking whether it is safe to define __EXTENSIONS__... yes

checking whether gcc -std=gnu99 and cc understand -c and -o together... yes

checking for g++... g++

checking whether we are using the GNU C++ compiler... yes

checking whether g++ accepts -g... yes

checking dependency style of g++... gcc3

checking how to run the C preprocessor... gcc -std=gnu99 -E

checking for gcc... gcc

checking whether we are using the GNU Objective C compiler... no

checking whether gcc accepts -g... no

checking dependency style of gcc... gcc3

checking dependency style of gcc... (cached) gcc3

checking for egrep... (cached) /bin/grep -E

checking whether make sets $(MAKE)... (cached) yes

checking dependency style of gcc -std=gnu99... gcc3

checking for desktop-file-validate... desktop-file-validate

checking for an ANSI C-conforming const... yes

checking for inline... inline

checking for C/C++ restrict keyword... __restrict

checking for 3rd party libraries path... not found

checking for an Android system... no

checking how to print strings... printf

checking for a sed that does not truncate output... /bin/sed

checking for fgrep... /bin/grep -F

checking for ld used by gcc -std=gnu99... /usr/bin/ld

checking if the linker (/usr/bin/ld) is GNU ld... yes

checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B

checking the name lister (/usr/bin/nm -B) interface... BSD nm

checking whether ln -s works... yes

checking the maximum length of command line arguments... 1572864

checking whether the shell understands some XSI constructs... yes

checking whether the shell understands "+="... yes

checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop

checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop

checking for /usr/bin/ld option to reload object files... -r

checking for objdump... objdump

checking how to recognize dependent libraries... (cached) pass_all

checking for dlltool... no

checking how to associate runtime and link libraries... printf %s\n

checking for ar... ar

checking for archiver @FILE support... @

checking for strip... strip

checking for ranlib... ranlib

checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok

checking for sysroot... no

checking for mt... mt

checking if mt is a manifest tool... no

checking for dlfcn.h... yes

checking for objdir... .libs

checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no

checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC

checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes

checking if gcc -std=gnu99 static flag -static works... yes

checking if gcc -std=gnu99 supports -c -o file.o... yes

checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes

checking whether the gcc -std=gnu99 linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes

checking whether -lc should be explicitly linked in... no

checking dynamic linker characteristics... GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking for shl_load... no

checking for shl_load in -ldld... no

checking for dlopen... no

checking for dlopen in -ldl... yes

checking whether a program can dlopen itself... yes

checking whether a statically linked program can dlopen itself... no

checking whether stripping libraries is possible... yes

checking if libtool supports shared libraries... yes

checking whether to build shared libraries... yes

checking whether to build static libraries... no

checking how to run the C++ preprocessor... g++ -E

checking for ld used by g++... /usr/bin/ld -m elf_x86_64

checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes

checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes

checking for g++ option to produce PIC... -fPIC -DPIC

checking if g++ PIC flag -fPIC -DPIC works... yes

checking if g++ static flag -static works... yes

checking if g++ supports -c -o file.o... yes

checking if g++ supports -c -o file.o... (cached) yes

checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes

checking dynamic linker characteristics... (cached) GNU/Linux ld.so

checking how to hardcode library paths into programs... immediate

checking for windres... no

checking whether NLS is requested... yes

checking for msgfmt... no

checking for gmsgfmt... :

checking for xgettext... no

checking for msgmerge... no

checking for ld used by GCC... /usr/bin/ld -m elf_x86_64

checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes

checking for shared library run path origin... done

checking for CFPreferencesCopyAppValue... no

checking for CFLocaleCopyCurrent... no

checking for GNU gettext in libc... yes

checking whether to use NLS... yes

checking where the gettext function comes from... libc

checking for iconv... yes

checking for working iconv... yes

checking for iconv declaration...

extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);

checking for buggy GNU/libc versions... not present

checking for shared objects suffix... .so

checking whether nanosleep is declared... yes

checking for daemon... yes

checking for fcntl... yes

checking for fstatvfs... yes

checking for fork... yes

checking for getenv... yes

checking for getpwuid_r... yes

checking for if_nameindex... yes

checking for if_nametoindex... yes

checking for isatty... yes

checking for lstat... yes

checking for memalign... yes

checking for mmap... yes

checking for openat... yes

checking for pread... yes

checking for posix_fadvise... yes

checking for posix_madvise... yes

checking for setlocale... yes

checking for stricmp... no

checking for strnicmp... no

checking for strptime... yes

checking for uselocale... yes

checking for atof... yes

checking for atoll... yes

checking for dirfd... yes

checking for fdopendir... yes

checking for flockfile... yes

checking for fsync... yes

checking for getdelim... yes

checking for getpid... yes

checking for gmtime_r... yes

checking for inet_pton... yes

checking for lldiv... yes

checking for localtime_r... yes

checking for nrand48... yes

checking for rewind... yes

checking for setenv... yes

checking for strcasecmp... yes

checking for strcasestr... yes

checking for strdup... yes

checking for strlcpy... no

checking for strncasecmp... yes

checking for strndup... yes

checking for strnlen... yes

checking for strsep... yes

checking for strtof... yes

checking for strtok_r... yes

checking for strtoll... yes

checking for swab... yes

checking for tdestroy... yes

checking for fdatasync... yes

checking for working strcoll... yes

checking for accept4... yes

checking for pipe2... yes

checking for eventfd... yes

checking for vmsplice... yes

checking for sched_getaffinity... yes

checking for library containing poll... none required

checking for struct pollfd... yes

checking for library containing connect... none required

checking for socklen_t in sys/socket.h... yes

checking for struct sockaddr_storage... yes

checking for library containing getaddrinfo... none required

checking for getopt_long... yes

checking for cos in -lm... yes

checking for lrintf in -lm... yes

checking for library containing dlopen... -ldl

checking for main in -lpthread... yes

checking for clock_nanosleep in -lrt... yes

checking for strncasecmp in strings.h... yes

checking search.h usability... yes

checking search.h presence... yes

checking for search.h... yes

checking getopt.h usability... yes

checking getopt.h presence... yes

checking for getopt.h... yes

checking for strings.h... (cached) yes

checking locale.h usability... yes

checking locale.h presence... yes

checking for locale.h... yes

checking xlocale.h usability... yes

checking xlocale.h presence... yes

checking for xlocale.h... yes

checking fcntl.h usability... yes

checking fcntl.h presence... yes

checking for fcntl.h... yes

checking sys/time.h usability... yes

checking sys/time.h presence... yes

checking for sys/time.h... yes

checking sys/ioctl.h usability... yes

checking sys/ioctl.h presence... yes

checking for sys/ioctl.h... yes

checking for sys/stat.h... (cached) yes

checking arpa/inet.h usability... yes

checking arpa/inet.h presence... yes

checking for arpa/inet.h... yes

checking netinet/udplite.h usability... no

checking netinet/udplite.h presence... no

checking for netinet/udplite.h... no

checking sys/eventfd.h usability... yes

checking sys/eventfd.h presence... yes

checking for sys/eventfd.h... yes

checking for net/if.h... yes

checking for sys/mount.h... yes

checking machine/param.h usability... no

checking machine/param.h presence... no

checking for machine/param.h... no

checking sys/shm.h usability... yes

checking sys/shm.h presence... yes

checking for sys/shm.h... yes

checking linux/version.h usability... yes

checking linux/version.h presence... yes

checking for linux/version.h... yes

checking linux/dccp.h usability... yes

checking linux/dccp.h presence... yes

checking for linux/dccp.h... yes

checking scsi/scsi.h usability... yes

checking scsi/scsi.h presence... yes

checking for scsi/scsi.h... yes

checking linux/magic.h usability... yes

checking linux/magic.h presence... yes

checking for linux/magic.h... yes

checking syslog.h usability... yes

checking syslog.h presence... yes

checking for syslog.h... yes

checking mntent.h usability... yes

checking mntent.h presence... yes

checking for mntent.h... yes

checking for ssize_t... yes

checking pthread.h usability... yes

checking pthread.h presence... yes

checking for pthread.h... yes

checking for pkg-config... /usr/bin/pkg-config

checking pkg-config is at least version 0.9.0... yes

checking zlib.h usability... no

checking zlib.h presence... no

checking for zlib.h... no

checking for DBUS... no

configure: error: No package 'dbus-1' found.





how do i fix this error?




[ubuntu] waking from Sleep mode Ubuntu becomes non-functional

I use 11.04. I've been using Ubuntu for several years. Now, today, after a recent "aptitude full-upgrade" my system isn't really usable if I go into Sleep mode. When it wakes up, its sluggish, non-responsive, the video "tears" in spots. Strange.



Any ideas?


Code:


kurt@kurt-natty:~$ uname -a



Linux kurt-natty 2.6.38-14-generic-pae #58-Ubuntu SMP Tue Mar 27 19:06:30 UTC 2012 i686 i686 i386 GNU/Linux






[ubuntu] Need scripting help for usb to serial cable

So, I have a usb to serial cable. Everytime that I need to use it I have to give the command "sudo modprobe pl2303." I am still somewhat new, but can get around pretty good with linux. I am just at a loss for why I have to give this command everytime I plug my usb to serial port in. I will take other suggestions or ideas of course also. Mainly, I just want to have the drivers installed and work the minute I plug the serial to usb cable in....




Recommendation for socket software

I'm learning how to deal with socket programming with socket(), bind(), connect(), listen(), etc.



So I'm looking for a socket software that is similar like this, that works in Ubuntu. The software in the link only works in Windows.



Any recommendations?





Logging in with google account credentials?

I's it possible to login with google account credentials like in ChromeOS from gdm?



If so, how?





Can't install Xubuntu with unetbootin from hardrive

I have no dvd or usb and I'm trying to install Xubuntu with unetbootin from hardrive. I have 120gb hardrive with 3 partition: Win7, Swap, and one for Xubuntu



First I do this
http://i39.tinypic.com/dpu4qx.png



and get the following error:





I have tried with with ex2, ex4, ex3 but get the same error.





How to delete deleted files from U1 Files iPhone app Uploads?

Good news: U1 Files is installed on my iPhone, attached to my UbuntuOne account, uploads files automatically from my Camera Roll, and syncs the shared folders in my UbuntuOne account.



Bad news: The Uploads panel of the U1 Files iPhone app lists many hundreds of files named "IMG_####.JPG" (where #### represents distinct 4-digit numbers) followed by "Pending upload to Pictures - iPhone", and they ain't going anywhere.



I deleted these photos from my Camera Roll using the iPhone's Photos app. I'm sure they're really gone, but they're stuck in a queue. New photos are being uploaded, and the correct number of new photos being uploaded is displayed in a red circle over the word Uploads. But the list is kinda broken.



How can references to deleted files be removed from the U1 Files app?





Migrating fonts from old to new server

I have an "old" Ubuntu 11.10 server.
I have a new (Amazon EC2) Ubuntu 11.10 server.
I can only access them through the command line.



How can I migrate all the installed fonts from the old machine to the new machine?



I assume it is just copying some subdirectories. Is it that easy?



Background: I am running tests on my software, on both machines and it is giving different results, because the available fonts are different. (And the tests are sensitive to changes in pixels.)





Dash in Gnome-Classic [PrecisePangolin]

I've recently updated and found that dash shows on the gnome-classic/fallback desktop. Is this a new feature (which I doubt to be), or a bug? If it is a bug, can someone tell me how to disable dash because it interferes with the lower panel (i.e. I bring out trash instead of show desktop when I try pressing the "Show desktop" button when the panel is not in focus.



Although I don't encounter this problem in gnome-classic (No effects)



!Don't judge me. I like pokemon enter image description here





spinning down harddrives in 12.04 for a desktop

Can anybody tell me how to switch off harddrives (no spinning) when they are not used. I am living in India with many power cuts and the UPS power (from battery) is very precious.





ubuntu 12.04 starts up in 40 seconds, 11.10 it was 16 seconds

Both on the same laptop; any tips?? Didn't I install it right or is it because I haven't been connected to the internet and so don't have the update packages?



Wireless is disabled by a hardware problem.





Here’s Top 10 Free and Paid Ubuntu Apps Most Downloaded, March 2012

Ubuntu apps march 2012Ubuntu 12.04 LTS Precise pangolin in a few days will soon be released and new and cool apps keep being added to the Ubuntu Software Centre. Check out last month's most downloaded free and paid apps. Top 10 Paid Ubuntu Apps 1. Steel Storm: Burning Retribution Steel Storm: Burning Retribution marks the return of top-down shooters with new twists. [...]



Nokuntu: Simply and User-friendly Apps Nokia Phone Manager for Ubuntu

NOKUNTU UBUNTUNokuntu (Nokia+Ubuntu) is Simply and User-friendly Apps for managing Nokia phones in Ubuntu and debian based distributions. Nokuntu is unofficial nokia PC Suite for Ubuntu, this tool like Nokia PC Suite on windows OS. with nokuntu you can managing media files, synchronization, sending SMS, sending files via Nautilus, share your PC Internet connection via Bluetooth on your phone, [...]