I came across Linux in university syllabus and quite loved it.Hope I will get to learn here Linux. How to become master in Linux can some body suggest some fast ways to do the same?I want to learn Linux Very fast.
I'm managing a residential network. Each flat is its own subnet, and can only communicate with the other flats through a router (i.e. no broadcast). 95% of these 300 subnets only contains windows computers (from lambda users).
My final goal is to be able to browse the entire network from any computer.
I set up a samba server acting as a wins server, and every computer is aware of it because it is registered in the dhcp. So name resolution is working fine for everyone.
The same samba server is set to be the "Domain master browser":
workgroup = WORKGROUP wins support = yes prefered master = yes local master = yes domain master = yes os level = 65
When I browse the network (using "net view" or "browstat view"), I can only see the servers which are in the same subnet as the domain master browser.
Now, when in a subnet the computers arrange themselves to find a "local master browser", the only visible computers are the one in that subnet.
What I don't understand is why all the local masters don't synchronize their lists with the domain master.
So, to sum up, every subnet get the following behaviour:
-if a local master is elected, the only visible computers are the one in the same subnet.
-if no local master is elected, the only visible computers are the one in the subnet of the domain master.
-if I add another samba, configured as a local master winning all elections, then the magic is working and the lists are synchronized.
What is expected: -every computer can see all the computer from all the subnets.
I have a load balancer with 2 web servers behind it. The web servers rsync with cloud storage to update their apache directories 1 time every hour. Apache is just running php pages that pull/push data to a DB so they dont need to be updated that often. However I need to figure out how to implement a Master/Master MySQL setup to have my web servers point to for the PHP stuff. I need to implement it without having a single point of failure. The Load balancers are useless for failover as they only detect availability based on Ping request. So putting a master/master setup behind a Load Balancer is out. what is the best way to setup the master/master mysql in a HA setup without the use of a load balancer provided by the host?
I am developing a program in a system where the Linux does not take care of the sync command automatically. So I have to run it from my application always I save some data in the disk, which in my case is a 2GB sdcard. It is true that I can make the operation system takes care of the syncronization, using a proper mount option, but in this case the programm's performance drops drastically. In particular I use the shelve module from Python to save data that comes from a socket/TCP connection and I have to deal with the potencial risk of the system being turned off suddenly Initially I wrote something like that to save data using shelve:
But that takes too much time to save the data. Note that I use the sync from the OS every time I close a file to prevent data corruption in the case of the "computer" being turned off with data even in the buffer. To improve the performance I made something like that:
Code:
def saveListData( list ) fd = shelve.open('file_name', 'c') for itemVo in list: fd[itemVo.key] = itemVo fd.close() os.system("sync")
Thus, first I saved an amount of objects in a list then I open the file and save the objects. In this way I have to open the file just one time to save a lot of objects.However I would like to know if adding a lot of objects before closing the file would increase the risk of data corruption.I known that turning off the system after fd.close() and before os.sync may cause problems. But what about turning off the system after
My wireless seems to be fast for a good 30secs then bang takes good while to load the next page almost as if it's disconnecting and then reconnecting/scanning reconnecting. Why cant it stay connected. I have WAP PSK security here is my network setting please let me know if I should change any of them:(side not is there a way to fix this problem occuring so frequently it says on the wiki that it should only occur once in a whilce https:[url].....
My sound was working fine until 2 days ago, but now it just doesn't. I can't play any songs, but I can get the system beep and the "master sounds" (if you run alsamixer it's the first column that I'm talking about). It seems that my sound card is recognized. I followed quite a few instruction I found online, but nothing seems to work. A couple more details:- If I go to System -> Preferences -> Sound, in the Input tab there is no device for my sound input.
- If I type "sudo aplay -l" in the terminal, I get the following: card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog] Subdevices: 0/1
Problem: This morning, our NIS master server down (due to ram prob), and what happen is all the sun servers able to bind to NIS Slave, able to communicate to other sun and windows servers but not Linux servers.
Detailed Problem: sun_server[sab]% rsh linux01 o_ypcall: clnt_call: RPC: Unable to receive; errno = No route to host sun_server[sab]% telnet linux01 Trying 10.x.x.x... Connected to linux01. Escape character is '^]'.
I configured a master DNS server 192.168.2.10 working OK. After that I configure a DNS Slave Server (92.168.2.11)the initial replication worked fine. This is test environment for my certification. I see how the zones from my master are transferred zones in Master training.com.db transferred zone to my slave when I started named service sec.training.com.db
That's Ok but I added some IPs to resolve to my master zone webserver IN A 192.168.2.30 fileserver IN A 192.168.2.31
I restart/reload named on master and after that I go to slave and restart/reload but zones wuth the new values are not replicated. How long does it take for slave to take the changes from master? how is the procedure manual or automatic? I see If I go to slave and delete sec.training.com and restart named the zone with the changes is transferred but that is very manual... I am including my DNS Configuration so you can take a look.
Installing 11.2 from KDE LiveCD on an IBM ThinkCenter with 3.2Gb CPU and 1Gb RAM. Ubuntu 9.04 on first two partitions. I go through the configuration, click to 'install': Install display bars remain blank. After 2-3 minutes, black screen with scroll of attempted installation pieces and the error message: "Respawning too fast. Disabled for 5 min." Freeze.
Other posts mention problem with init. But this is happening with the install so not able to address that. No apparent md5chksum for LiveCDs. No mention of this problem in installation help guide. Does anyone know how to deal with this? If you need more info, I will provide. Though it seems this is not an unusual problem when booting an installed system, there's no mention of it happening during installation.
In the old days of M$-DOS, there was the NCD (Norton Change Directory) utility. Anything of the sort in Linux?Explanatory note: you typed out the name of the directory you wanted to go to, that is, last element of the dir path.And you were, ipso facto, in that dir. If that was the only one by that name, good. When not, and if that wasn't the intended dir, you typed the same command again and you were in a second dir of that name. If this was the intended dir, good. And so on. It simply maintained a data base with the whole tree, and updated it when invoked from a newly created dir o by means of an option, NCD/R.
I am interested in running Linux on my Mac Pro (8-core, 24 GB RAM).
What are the main caveats one should expect? Can all hardware be used natively after booting, say Linux or FreebSD? Does Solaris run on this type of machine?
My use case is mostly Mail, instant messaging, web browsing and network simulation (hence this machine) and I value interactivity under full system load the most. How is interactivity under full load in Linux? My experiences with Debian "lenny" showed delays when task switching of up to 1.5 seconds. May I should look at FreeBSD?
I'm looking for a fast Linux distro to put on a USB key. The goal is to be able to boot in as few seconds as possible, with just enough to mount a hard drive and do some basic operations in there (bash would be enough).
I do need: x86 and x86_64 support EXT2/3 and NTFS mounting capabilities (read & write)
Networking support (/etc/network/ config is fine, no need for detection) Bash (another shell would also work, but I would have to modify some of my scripts I would prefer if I didn't to have to build these programs for the selected distro, but that's always an option. I do not need:
X, or any form of GUI more languages (english is enough) anything not mentioned
I don't care about the size on the USB key, but the bigger it is, the longer it will take to load. My research pointed me towards these distros, but I not sure which one to choose:
ttylinux Tiny Core Linux tomsrtbt (doesn't look maintained anymore)
I also found these tools I could use to build my own distro (as a last resort)
I've been using linux for a while (various distros) but somehow they dissapointed me. I know what I'm looking for, a lightweight, fast, minimalist but customizable enough, with no specific graphical environment, bleeding edge distro for a new laptop (used for studying and surfing internet), that hopefully works with my hardware.
I want to have the possibility to compile from source to make my own changes but also to install from binaries easily. I'm not a linux expert, not even an advanced user but I'm willing to learn anything to get my distro running so I'm not looking for a full out of the box distro. It would be great if this distro also had a good community.
I just wanted to glean some sort of a general average and compare my system with everyones. post your computers:boot time of course hardware specifications (processor, HDD, RAM, etc.) distribution if it's a laptop or desktop (or a netbook ) Mine is 43 seconds, running Ubuntu 9.10 on a netbook. My hardware specs: Intel Atom 1.6 GHz 320 GB 7200 rpm HDD 2 GB RAM
Is there a way to re-install grub on the master boot record of a hard disk using a live cd?If so will i have to configure it?I'm trying to install a linux distro on my ao751h(with poulsbo ) but i after installing it i can't boot.I get an error 15 or a flashing underscore.I have already tried ubuntu,debian,mint and slackware(LILO isn't compatible with poulsbo).Also,does anybody experience problems with the ubuntu 10.04 and 10.10 installers or is it only me?when i choose the language and keyboard settings the installation stop as it is and i get a crash report.
I recently got an ASUS laptop with a Core i5 processor and an ATI VGA card. I would like to install a fast distro and keep my Win7 installed. [dual boot]. I hate Windows 7 because it boots really slow even on a 64-bit system like mine (they claim it's 60% faster, and it still takes about 2 minutes to boot). So I want a distro that boots really quick (in less than 25 seconds). Also, I need it to have the very latest drivers because my laptop is quite new, and I read that the same VGA card I have already has problems when running under Ubuntu. (Not sure though)
I like programming (Python and Processing), so I did lots of research and figured out that Fedora is pretty good for programmers (it has many programming languages and IDEs already configured in the system..no need to install anything!) + I think it's pretty secure since it is based on RedHat Linux + I read some stuff about Fedora 11 and their promise to boot in less than 20 seconds, donno about 12 though? is it true anyway?
On the other hand, some say that Fedora's package management is not very cool when compared to openSuse's decent package manager and system administration tools...etc. Linux Mint looks very elegant and it can run Ubuntu's packages [I suppose] so it's another possible choice too. CrunchBang is also really attractive and minimal, they say it's also quite lightweight..so that's another possible choice for me too
My questions are: - Which of the above distros is the fastest when booting? This matters the most for me. - Which one has better support for the most recent drivers? especially for laptops?
Is there any other distro that boots faster than the above distros (in less than 25 seconds on a Core i5) and still has good hardware support and security? I don't really care for the distro's appearance as long as it does the job.
I am trying to use the Linux Ramdisk y machine and followed the instructions oninux/Ramdisk/ramdisk.html to create a 4GB ramdisk (total memory is 8GB, linux 2.6.9)The issue is that it is taking me almost exactly the same time to read a 1GB file from ramdisk as it is from disk. I was expecting it to be atleast twice as fast.Has anyone encountered this before?
I had a memory stick problem over the weekend, and after correcting the problem, I decided to up grade from Linux Mint 9 to Linux Mint 10. All video and sound functions worked properly prior to changing to Linux Mint 10. Now I can not get any sound out of the speakers, from a CD or a digital file, and a video goes at super fast speed with no sound. I am new the Linux world but learning fast. Data CD's work correctly both in reading and burning new.
I need to change my LUKS partition to NTFS as I do not need the boot partition any longer, but I need to keep sdb3 (truecrypted ext3) intact. This is how the disk looks now:
Code:
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
I have red hat enterprise 5 on my system, when I changed my monitor I encounterd with init:id "x" respawing too fast:disabled for 5 minutes problem i tried some methods from internet, but i couldn't find a strightforward guide ( i am new on linux)