Our Linux and Unix forum encompasses both Q&A based support as well as tweaking, managing, and configuring open source linux, unix, and bsd distributions.
749 Solved Topics
Remove FilterI recently received a new 64-bit laptop and is my first endeavor into 64-bit computing. I installed all my usual packages through yum (I am using fedora 64 bit) and it downloaded all the 64-bit versions of the packages. I went to install an rpm packaged by years ago by …
Hi everyone I have uninstalled ubuntu from my laptop but it still appear in the grup what should I do , to get rid of it??
Just got a 16 GB PNY flash drive from Wal-Mart and formatted it to ext4. Any idea how I could put access security on the drive? I would prefer security to protect against other OSs as well. Thanks.
I made a website in php4 that I want to swtich over for my database, I'm a linux newb, I just thought I would write a simple sed script to change the username and password used in mysql_connect: #!/bin/bash for f in * do sed 's/mysql_connect('localhost','user1','pass1')/mysql_connect('localhost','user2','pass2')/' <$f >$f done exit …
Hi, I need to grep lines that contain three words from files in the same directory And next to the greped line I need to have the file that the line came from. Example: The directory is: /var/logs The files in the directory are: XSLog2012.05.14-15.40.48.txt XSLog2012.05.14-15.49.01.txt XSLog2012.05.14-15.57.11.txt XSLog2012.05.14-16.05.07.txt XSLog2012.05.14-16.11.41.txt XSLog2012.05.14-16.18.26.txt …
Hi all. I've recently installed Linux Mint 14 Nadia but wanted to keep the dual boot with XP whilst I tested it out. Now I am happy with it I want to remove Windows XP from my system. I've been googling how to do this but I can't find any …
So Im using our university servers through an ssh connection. I have a bunch of files in a directory which I would like to run through a perl script. So I thought this simple script I concocted should do the trick. I have used similar script on my home computer …
Hello Daniweb, I'm in the process of completely re-doing my home network. On my network I run three servers: * Server 1 - Web and Database Server * Server 2 - Backups and Other General Home Use * Server 3 - Development and Testing I have previously used Ubuntu Server, …
I had ubuntu and windows7 at my laptop,change windows7 with windowsXP , after that again install windows7.Now ubuntu dose not work, ubuntu12.04 disapeared from boot list, what should I do?
I have an Oberthur token for digitally signiature. I tried to install the driver in the folder /root/lib or /root/local/lib. The instructions said that I have to write in the cache of the library the command "# ld config" . I opened the library and put this command. I don't …
Help instaling linux fedore 17 from usb? I have a laptop that came out with windows 7 basic, i installed backtrack 5R2 over it but now i want to install Fedora 17 over backtrack. My laptop doesnt have a CD rom so i use usb. Now when i try to …
Hi! I use Linux Mint Maya and I need to install some software from sources but the problem is that GCC is not working. When I type gcc or make command I get a error like this: bash: /usr/bin/gcc: cannot execute binary file How can I fix that?
I am trying to set-up some virtual hosts on a fresh install of Ubuntu 12.04 and not getting expected results. I am using [this tutorial](http://blog.code4hire.com/2011/03/setting-up-virtual-hosts-for-apache-on-ubuntu-for-local-development/) which I have used before without fail. The challenge seems to come with restarting apache. $> sudo service apache2 restart * Restarting web server apache2 …
# # Based upon the NCSA server configuration files originally by Rob McCool. # # This is the main Apache server configuration file. It contains the # configuration directives that give the server its instructions. # See <URL:http://httpd.apache.org/docs/2.0/> for detailed information about # the directives. # # Do NOT simply …
garrett@mint-desktop ~ $ c++ -v Using built-in specs. COLLECT_GCC=c++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.3-1ubuntu5' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-werror --with-arch-32=i686 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version …
( make 2>&1 | tee make.log && exit $PIPESTATUS ) && Could someone give me a detailed explanation of the above line? I know that tee is creating a text file while also allawing the output to come to the screen but need a better understanding of $PIPESTATUS. Is "exit" …
void main (void) { /* create three message queue */ mesgQueueId1 = msgQCreate(MAX_MESSAGES,MAX_MESSAGE_LENGTH,MSG_Q_FIFO); if((taskIdOne = taskSpawn("t1",90,0x100,20000,(FUNCPTR)t1,0,0,0,0,0,0,0,0,0,0)) == ERROR) printf("generating task1 failed\n"); if((taskIdThree = taskSpawn("t3",90,0x100,20000,(FUNCPTR)taskThrees,0,0,0,0,0,0,0,0,0,0)) == ERROR) printf("generating task3 failed\n"); } void t1(void) { timer_t task1; struct itimerspec value; value.it_value.tv_sec = 3; value.it_value.tv_nsec = 0; value.it_interval.tv_sec = 3; value.it_interval.tv_nsec = 0; …
Hallo there, I have Debian 6.0.6 can you suggest me what is the best way to recover user accounts? I have a full copy of all data and I having problems recovering it. Thanks advance...
Would you say its time to increase the RAM on this lil machine or is it okay? Could you please explain this output? free -m -s 5 total used free shared buffers cached Mem: 496 439 57 0 20 250 -/+ buffers/cache: 167 328 Swap: 511 5 506 Thanks, M
i would like to know how one can be able to **run / start LIGHTSQUID **on my linux server.
I have Ubuntu 12.04 LTS. When I try su command, it asks password.. But when I type password, It says authentication failure.. Why does that happen?? I enter correct password every time.
I have this acer laptop with Mandriva 2008 on it that I got for the price of a few beers a few years back. I'd like to use it for simple things (running IDEs, reading PDFs and a few more things), but I can't get into it. it prompts me …
I need to view a text file that located somewhere in a file.tar.bz2 file. Anyway I can explor a tar.bz2 file and view a text document there in?
I've set up a small php file called phpinfo.php the script is below. <!DOCTYPE html PUBLIC "_//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/ xhtml-transitional.dtd"> <html xmlns="http://www.w3.org/1999/ xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="content-type" content="text/tml; charset=utf-8" /> <title>First PHP Script</title> </head> <body> <?php phpinfo(); ?> </body> </html> I've already installed both php5 and apache2, …
I just got a new Netgear N router. I didn't use the install CD because there is no computer besider our router and DSL modem. I just plugged it up and at all the Windows computers in the house seem to be able to connect just fine but my Linux …
Hi everyone, I recently installed Ubuntu on an older computer of mine. This is my first time using Linux. For school, I use a program called Putty to connect to their computer to write, compile, and submit programs for my homework. Is there a similar program that would allow me …
I'M having a bit of a problem with audio books on Linux. I buy my books from audible.com but since they don't support Linux it's just one more thing keeping me from fully leaving Windows. There audio formats are in .aax. Their books play fine in iTunes and on my …
I'M trying to learn php and I use Mint Linux as my OS. I don't know if php is installed or not. I went to synaptic package manager and input php, I got back a big list of php-xyz packages and I dont' know which one to get. Any suggestions?
Hi! I would just like to know is there a way you can overwrite the main.c file in the kernel folder(dir /usr/src/kernel/main.c) in MINIX 3. I want to change some code in the file(I know the risks involved) but the problem is I can't save it. I've tried logging in …
bash: bld: line 11: syntax error: unexpected end of file I'M gettting the above when I source the attached script file. Can someone please let me know what I've got wrong here? Thanks The script file was build from the commands here > http://www.linuxfromscratch.org/lfs/view/stable/chapter06/gmp.html
Hi! Does anyone know of any worthwhile machine language OSes to try? I just learned about them in class. It's an interesting idea in terms of speed and portability. I could only find two online, one was in Russian, and the other was MikeOS. Does anybody know any other OSes …
I have two OS in my PC one is Linux & other is Windows. Windows is in C drive & my primary OS, i prefer to use most than. I was using Linux for my practicals purpose & now its over. Linux flavor installed is Fedora 17, thats the latest …
My network card doesn't have any UNIX drivers, but it does have windows drivers, so I'm trying to install ndiswrapper. It seems like the default installation of Ubuntu server doesn't have python installed, so I can't dpkg niswrapper in. Is there any resource to help me learn how to hunt …
Is it possible to create your own email? I.e. host your own email, perhaps '@67.201.13.165'? I know you can build email servers. But is it possible to feature your own email "account"? Thanks!
I have a toshiba portege M400 will I have to continue using Windows XP or Windows 7 to get the full tablet functionality or is there a linux OS that is just as good or better? E.g. a Version of Ubantu, Mint or one of the more popular ones?
/root/bin/go-lfs I need to add teh above to PATH. If I simply write "export PATH="$PATH:~/bin/go-lfs" will it cause a problem? I'M assuming that this would remove enerything already in PATH and that might cause problems for the duration of my shell. If so, how could I added it without overwritting …
Hi Guys I am having a very serious problem here and i don't know who to fix this.Before my site was running on apache and everything was perfect.However to make server more efficient i decided to install nginx as a backend. What is the problem? All files downloaded from my …
Hello! So I just installed Ubuntu Server 12.04 on my machine. I have the web server and SSH server working, you can acces both from the internet. However, every time I attempt to run update or upgrade commands from SSH, it fails to do so, resulting in a similar error …
I've attached my output error and my script is below, also the link the the directions. http://www.linuxfromscratch.org/lfs/view/stable/chapter05/perl.html Here's my script: ( patch -Np1 -i ../../../perl-5.14.2-libc-1.patch 2>&2 | tee patch-perl.log && exit $PIPESTATUS ) && sh Configure -des -Dprefix=/tools && cp -v perl cpan/podlators/pod2man /tools/bin && mkdir -pv /tools/lib/perl5/5.14.2 && cp …
Hi everyone, i would warmly appreciate any help from this forum as it has really thought me a lot. I've set ubuntu as the default OS in a dual boot using easyBCD with time set to 0sec. however i can no longer boot into windows since it's bootloader is configured …
Hi all I want to change the swappiness of my linux server.Its running nginx as front alongside with cpanel Based from tutorials i added `vm.swappiness=90`(to change default value from 60 to 90) in sysctl.conf and i reboot the server However when after reboot is done i did `cat /proc/sys/vm/swappiness`and the …
lfs@debian:/mnt/lfs/sources$ tar xjvf binutils-2.22.tar.bz2 tar (child): bzip2: Cannot exec: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now lfs@debian:/mnt/lfs/sources$ the file binutils-2.22.tar.bz2 is in this folder, why am I getting this?
lfs@debian:~$ scp output garrett@192.168.1.10:/home/garrett ssh: connect to host 192.168.1.10 port 22: Connection refused lost connection lfs@debian:~$ Why is the above not working? I am wasily able to ssh from on computer to the other, why will scp not work here? output is just a simple text file.
Guys I feel really stupid asking this but I can not downlaod debian. Everytime I try I get on of these (http://cdimage.debian.org/debian-cd/6.0.5/amd64/bt-dvd/) pages and I have no idea what to do with it.
Some time ago I briefly looked into installing Ubuntu 11.10 (or above) on my dell xps17. I remember there were quite a few issues (sorry can't remember which ones, it was long time ago) and I was wondering if anybody could let me know if I can install it without …
Having trouble dual booting Windows and BSD? I was! I highly recommend using EasyBCD to add in an entry to the windows boot loader. I couldn't get the Windows bootloader to recognize bsd, but using this I could! I am not affiliated with the company, but it has done me …
hello i am having problems installing my zte broadband in ubuntu 12.04 or even fedora 17. can anybody help out.
Please i want to know if in a dual-boot system, having installed grub and MBR on different partitions,I would have the chance to select which bootloader should be the default at any point in time. In other words,can i set grub to have a higher priority than MBR in such …
I am trying to configure UFW (uncomplicated firewall) so that is will deny all ports exept port 443 and 4444. How do i do this?
When taking the LPI exam do you have to take both the LX0-101 and 102 exams at the same sitting or can you take the two on two different dates? Thanks. Even if I had a job as a Linux admin I would find it almost impossible to do that …
The End.