[QUOTE=PvtCupcakes;29712180]Steam itself won't cause any problems though.[/QUOTE]
Oh, it will. At least when I was using GNOME (nvidia as driver) it used to hide all windows and then disable input every time I alt-tabbed. Abusing the keyboard for half a minute usually helped.
[QUOTE=esalaka;29705414]Menu → Settings → Screen/Monitor/Display (Dunno the exact word) Settings
Or something like that.[/QUOTE]
And where is "Menu" located in unity? I did find an Applications -> Installed -> Monitors but there were no second monitor there.
[editline]9th May 2011[/editline]
Progress: I found something called NVIDIA X Server Settings. Exploring it now.
[editline]9th May 2011[/editline]
Success! That was where the option was located.
Menu, as in the system menu.
I dunno where I've lost my nVidia X Server Settings, it used to be somewhrere.
[editline]9th May 2011[/editline]
Good thing you got it to work, tho :3:
[QUOTE=Surma;29716656]And where is "Menu" located in unity? I did find an Applications -> Installed -> Monitors but there were no second monitor there.
[editline]9th May 2011[/editline]
Progress: I found something called NVIDIA X Server Settings. Exploring it now.
[editline]9th May 2011[/editline]
Success! That was where the option was located.[/QUOTE]
.. Just use the classic version?
I doubt anyone will know, but, I remember seeing in an early-ish Natty build some special terminal application that displayed general information, eg processor and RAM usage at the bottom of a regular terminal session. Does anyone know what that was?
I'm trying to move my /home and /usr dirs to a separate partition. I have copied the dirs and their contents to the partition so they're under dev/sda5/home and dev/sda5/usr. I edited fstab to mount dev/sda5/home to /home and dev/sda5/usr to /usr. I've renamed both /home and /usr temporarly. Now, ubuntu won't boot. It seems I somehow have screwed up the mounting, but I'm not sure how. Aid greatly aPpreciated.
[QUOTE=Surma;29722906]I'm trying to move my /home and /usr dirs to a separate partition. I have copied the dirs and their contents to the partition so they're under dev/sda5/home and dev/sda5/usr. I edited fstab to mount dev/sda5/home to /home and dev/sda5/usr to /usr. I've renamed both /home and /usr temporarly. Now, ubuntu won't boot. It seems I somehow have screwed up the mounting, but I'm not sure how. Aid greatly aPpreciated.[/QUOTE]
You can't address subfolders in drives like that, you can only mount the hole drive.
What you could do is mount /dev/sda5 on some other folder(ie /homeuser) then bind the subdirectories to their correct place.
[code]/dev/sda5 /homeuser ext4 defaults 0 1
/homeuser/usr /usr bind defaults,bind 0 0
/homeuser/home /home bind defaults,bind 0 0[/code]
TBH I think you'd just be better off leaving /usr on the root partition (Unless it's awfully small) and creating a dedicated partition for /home
I can't seem to get SSL working on Apache2. When doing /etc/init.d/apache2 start i get:
[quote]
root@Server2:~# /etc/init.d/apache2 start
Starting web server: apache2[Mon May 09 23:39:03 2011] [warn] The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
(98)Address already in use: make_sock: could not bind to address [::]:443
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:443
no listening sockets available, shutting down
Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
failed!
[/quote]
netstat -tlp:
[quote]
root@Server2:~# netstat -tlp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:sunrpc *:* LISTEN 641/portmap
tcp 0 0 *:30033 *:* LISTEN 16780/ts3server_lin
tcp 0 0 *:https *:* LISTEN 29879/sshd
tcp 0 0 *:10011 *:* LISTEN 16780/ts3server_lin
tcp 0 0 *:41379 *:* LISTEN 653/rpc.statd
tcp 0 0 *:2021 *:* LISTEN 24957/pure-ftpd (SE
tcp 0 0 *:2022 *:* LISTEN 29879/sshd
tcp 0 0 *:mysql *:* LISTEN 19956/mysqld
tcp6 0 0 [::]:https [::]:* LISTEN 29879/sshd
tcp6 0 0 [::]:2021 [::]:* LISTEN 24957/pure-ftpd (SE
tcp6 0 0 [::]:2022 [::]:* LISTEN 29879/sshd
[/quote]
Why are there 2 ssh deamons running on the https port?
[editline]9th May 2011[/editline]
Whoops, still had port 443 in the config to acces ssh from school =3
[QUOTE=IpHa;29723797]You can't address subfolders in drives like that, you can only mount the hole drive.
What you could do is mount /dev/sda5 on some other folder(ie /homeuser) then bind the subdirectories to their correct place.
[code]/dev/sda5 /homeuser ext4 defaults 0 1
/homeuser/usr /usr bind defaults,bind 0 0
/homeuser/home /home bind defaults,bind 0 0[/code][/QUOTE]
So [i]that's[/i] how you do it! Trying that.
[editline]9th May 2011[/editline]
[QUOTE=esalaka;29723891]TBH I think you'd just be better off leaving /usr on the root partition (Unless it's awfully small) and creating a dedicated partition for /home[/QUOTE]
It is. Intentionally so.
Just to make sure, usr is like the linux equivalent to program files, right?
[QUOTE=Surma;29725236]
It is. Intentionally so.
Just to make sure, usr is like the linux equivalent to program files, right?[/QUOTE]
No, not really. Configuration files are always in /etc, some programs install to /opt, and data is usually stored in /var. /usr just has things like binaries, libraries, and resources like images.
In general, /usr is for files that aren't necessary for booting the system, and that don't need to change during normal system use. Other kinds of files go in other places, as PvtCupcakes noted.
The Unix filesystem arranges files by [i]kind[/i], not by application. On a Windows system, under "Program Files" you have a folder for each application, and in those folders you find the program's executables, DLLs, configuration, and data files all in the same place. On a Unix/Linux system, /usr/bin holds the executables (for [i]multiple[/i] applications), /usr/lib holds their shared libraries (analogous to DLLs), /etc holds their config files, and so on.
Programs that are needed for booting the system, or are useful for troubleshooting when the system isn't working correctly, are kept in in /bin instead of /usr/bin because /usr can potentially mounted from a network share using NFS, and therefore isn't necessarily available early in the boot process. Libraries needed by programs in /bin are kept in /lib instead of /usr/lib for the same reason.
There's also the distinction between /bin and /sbin (and likewise, between /usr/bin and /usr/sbin). Programs that are typically only used by an administrator are kept in /sbin to avoid cluttering up the $PATH of ordinary users.
The [url=http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard]Filesystem Hierarchy Standard[/url] describes the generally-accepted standard layout.
[QUOTE=ButtsexV2;29716367]through wine, but again it depends on the game[/QUOTE]
Can I run TF2, L4D etc.?
As I said in your topic, just use Windows dude....
Why does my svn repo say the SSL Cert isn't valid?
[url]https://87.208.119.166/svn[/url], chrome says it is not possible to determine if i am communicating with 192.168.1.32 (Local ip) instead of a hacker claiming to be 192.168.1.32
[editline]10th May 2011[/editline]
All sites just started getting a invalid https certificate... (On chome, firefox and safari are fine)
Guys, I need some way to boot from a cd more quickly. Is there possibly some way to install a stripped-down os to a cd, not including the whole install thing, just some tools to fix broken stuff. Like a recovery cd or something. I'm using the ubuntu live cd, but it'd be nice if there is a faster one.
[QUOTE=Surma;29735324]Guys, I need some way to boot from a cd more quickly. Is there possibly some way to install a stripped-down os to a cd, not including the whole install thing, just some tools to fix broken stuff. Like a recovery cd or something. I'm using the ubuntu live cd, but it'd be nice if there is a faster one.[/QUOTE]
I'd suggest a recovery USB, it's a lot faster, and you can either use persistence or partition it and mount the second partion to save recovered data straight to the USB drive.
From a CD, what will determine speed is the speed of the drive and the size of the image. Damn Small Linux fits in 50Mb, so maybe that's a good place to start. I don't know if you can customise before install, but if you can, go ahead and remove any non-recovery packages, like office software and the browser. (DSL aims to be a 50Mb desktop distribution, so if you only need recovery stuff, you can probably trim down more).
Arch can be configured to boot from CD or USB, so if you know what you're doing, that can also be an option. Out of the box Arch comes with practically nothing, there's pacman (the package manager), a couple text editors (nano, vim), and the base tools to get running and networked, so if you want the smallest, simplest distro, I don't think you can do smaller without making your own (check out Linux From Scratch about that, but it's a lot of work if all you want is a handy "Woops I fucked up, better fix this" distro)
With aa normal 2 year ubuntu install, does it mean that after the 2 years i wont be able to update or have the most upto date software?
if so wwhat is a good server distro that will be able tu update for ever without the need to reinstall?
[QUOTE=Gaeel;29735653]I'd suggest a recovery USB, it's a lot faster, and you can either use persistence or partition it and mount the second partion to save recovered data straight to the USB drive.
From a CD, what will determine speed is the speed of the drive and the size of the image. Damn Small Linux fits in 50Mb, so maybe that's a good place to start. I don't know if you can customise before install, but if you can, go ahead and remove any non-recovery packages, like office software and the browser. (DSL aims to be a 50Mb desktop distribution, so if you only need recovery stuff, you can probably trim down more).
Arch can be configured to boot from CD or USB, so if you know what you're doing, that can also be an option. Out of the box Arch comes with practically nothing, there's pacman (the package manager), a couple text editors (nano, vim), and the base tools to get running and networked, so if you want the smallest, simplest distro, I don't think you can do smaller without making your own (check out Linux From Scratch about that, but it's a lot of work if all you want is a handy "Woops I fucked up, better fix this" distro)[/QUOTE]
Is USB faster than a cd? If so I'll probably go with that.
Also, i don't know what I'm doing. Most of the time.
Also, I got fstab right and ubuntu boots fine (though it seems my changes added a little time to the boot) but sudo says that it must be setuid root. I tried chown -R root:root my /usr folder aswell as chmod 4755 it (from the livecd) but that did not fix it. Could it be something with how i mount the partition? I mount the partition with defaults 0 2 and home and usr is mounted with defaults,bind 0 2.
[QUOTE=Zoran;29733481]Can I run TF2, L4D etc.?[/QUOTE]
source games usually run fine but it really all depends on so many variables it's impossible to gauge.
[QUOTE=Richy19;29735918]With aa normal 2 year ubuntu install, does it mean that after the 2 years i wont be able to update or have the most upto date software?
if so wwhat is a good server distro that will be able tu update for ever without the need to reinstall?[/QUOTE]
"2-year Ubuntu install"? Are you talking about an LTS release? Those are supported for more than two years.
Anyway, Ubuntu releases happen every six months, and you can always upgrade from one version to the next. Each release has its own support lifecycle that ends at some point, which means it no longer gets updates like security fixes, but that generally doesn't matter because you'll have upgraded to the next release by then.
[QUOTE=Surma;29736059]Is USB faster than a cd? If so I'll probably go with that.
Also, i don't know what I'm doing. Most of the time.
Also, I got fstab right and ubuntu boots fine (though it seems my changes added a little time to the boot) but sudo says that it must be setuid root. I tried chown -R root:root my /usr folder aswell as chmod 4755 it (from the livecd) but that did not fix it. Could it be something with how i mount the partition? I mount the partition with defaults 0 2 and home and usr is mounted with defaults,bind 0 2.[/QUOTE]
USB 2.0 is generally faster than CD. Not sure about 1.1 or below.
Installing Crunchbang on laptop.
I always install it but never use it.
[editline]11th May 2011[/editline]
What the fuck wireless still not working OOTB.
I thought they fixed this shit when Broadcom went open.
You might need to install the driver yourself. Even on arch, you have to install the Opensource drivers yourself.
I apologize greatly for this question, but would it be better for me if I used the 32-bit version of Ubuntu instead of the 64-bit? I have a 64-bit processor, but would I be missing out on certain programs or drivers with the bigger bits n the bytes n stuff?
I've been reading up on how 32 bit apps are handled on a 64bit linux system. Since the CPU is capable of switching modes on the fly it's no problem. Of course 32-bit version of the libs need to be installed. These are usually installed in another tree. (not the default one with all the x64 libs).
I'm wondering how does the system know where those magical 32bit libs are stored. What handles the dynamic linking? I must know its secrets.
[QUOTE=RoflKawpter;29749207]I apologize greatly for this question, but would it be better for me if I used the 32-bit version of Ubuntu instead of the 64-bit? I have a 64-bit processor, but would I be missing out on certain programs or drivers with the bigger bits n the bytes n stuff?[/QUOTE]
For most things, it doesn't make a difference. There are two main limitations in a 32-bit system vs. a 64-bit one:
[list]
[*]No individual process (running copy of a program) can use more than 2GB of memory, even if the system has more RAM than that.
[*]Programs can't use a technique called "memory-mapping", which generally provides better performance when accessing files, on files bigger than 2GB (actually a little less).
[/list]
Most programs don't need to use more than 2GB of memory anyway, nor memory-map files bigger than 2GB, so running a 64-bit OS probably doesn't bring a huge benefit.
That said, there aren't many reasons [i]not[/i] to. The only remaining significant drawback I know of is that the 64-bit version of Adobe Flash is a "preview release" that crashes occasionally. I've been running 64-bit Debian for years and it works fine, and it seems silly to run a 32-bit OS (and thus limit yourself to 32-bit software) when your processor is capable of 64-bit.
We're in a transitional period, but 32-bit software is on its way out. I think Microsoft has even said that the next version of Windows won't have a 32-bit build (though it'll still be able to run 32-bit programs).
[QUOTE=Boris-B;29749617]I'm wondering how does the system know where those magical 32bit libs are stored. What handles the dynamic linking? I must know its secrets.[/QUOTE]
It varies between distributions, but /usr/lib32 is a common place.
A dynamically-linked [url=http://en.wikipedia.org/wiki/Executable_and_Linkable_Format]ELF[/url] program has a field in its header that says the system's dynamic linker, [url=http://www.kernel.org/doc/man-pages/online/pages/man8/ld.so.8.html]ld-linux.so[/url], is to be used as its "interpreter". When the kernel is asked to execute the program, it sees that field and actually runs the dynamic linker, with the program as a command-line argument. (This is similar to what happens when you run a script that uses a #! line.) The dynamic linker checks what architecture the program is built for, and it looks for libraries in different places depending on whether it's 32-bit or 64-bit.
ls | less
What the [i]fuck[/i] did i just do???
[editline]11th May 2011[/editline]
Okay. I booted into ubuntu recovery mode, tried to chown the entire /usr again. Then I was going to check who owned /usr/bin/sudo but it wasn't there. So I was going to check through /usr/bin with ls, but of course it printed more than there was room on the screen. I know that you use less for that situation, but I couldn't remember exactly how to use it, so I experimented. Bad idea. ls | less is like reg query hklm /s, only ten times worse. Both widows and ubuntu are still booting fine though. And I still get "Sudo: Must be setuid root". I may have failed mentioning that this is the problem, as I have tried to google my way to a solution, but it seems I simply can't fix this by myself.
So, here's the story, from the beginning: I read somewhere that moving /home and /usr to a different partition might be a good idea, and since I think learning by doing is good, I thought I could try doing this, more for the sake of learning more than a specific need. I used something involving find to [i]copy[/i] both home and /usr to a different partition (I think I copied home with sudo and usr without) and set up mount points and bind so that /home and /usr are bound to the ones on my partition. As you may remember this is what I went on about earlier, trying to sort out. I did and it worked, but somehow I broke sudo in the process. With my googling I found that the specific error message I got, that sudo must be setuid root was usually because you had chowned or moved /usr, which I have done. So I have tried chmod and chown like fuck and this has not helped, and now I've discovered that there seem to be no /usr/bin/sudo. However, I assumed that this sudo that root needs to own is a folder. I just checked, and realised that it is a file. Interesting... Anyway, what should I do, besides stop trying to fix it myself, because I think if I keep this up I'll end up breaking this thing beyond any form of recovery.
[editline]11th May 2011[/editline]
God, I'm rambling like a madman. Quality content for cipwttkt I guess...
Just out of curiosity, how do y'all pronounce Debian? I always pronounce dee-bee-yun but I hear people say deb-ee-yun or even deb-ee-ahn.
[QUOTE=Sir Whoopsalot;29754812]Just out of curiosity, how do y'all pronounce Debian? I always pronounce dee-bee-yun but I hear people say deb-ee-yun or even deb-ee-ahn.[/QUOTE]
Deb-eye-an
Or Deb-I-an
Sorry, you need to Log In to post a reply to this thread.