General :: Use To Set The Timezone Of The Entire System Using C?
Aug 4, 2010
Is there any function I can use to set the timezone of the entire system in linux using C? (Other than creating a symbolic link between /etc/localtime and /usr/share/zoneinfo/). Could I specify the timezone offset in seconds by any chance?
I would like to copy the entire file system hierarchy from one drive to another..i.e contents of each directory as well as regular files in Linux platform. Would be gratefull to know the best way to do that with possibly Linuxes in-built functions. The file system is a ext family.
I have a 16GB Ubuntu Webserver running on a Transcend SMART CF chip (Yes I know all the reasons not to). I want to move that entire system (OS, Files and structure) to an external bootable HD that will probably be closer to 100GB. What's the easiest way to do this and have it be plug and play. By which I mean I can then plug the drive into a new system and boot it up just as it was running on the old system.
Does the dump command back up entire file-systems or is it capable of backing up subsets of a file-system? And is tar capable of taking device names (for file systems) as input to be archived?
In the panel at the top of the screen it shows the time of day - perhaps at the international date line. Is there a setting somewhere that allows me to inform the system of my time zone? Tried "info timezone" - drew a blank. Don't know where to look.
I don't really like Los Angeles (they steal all our water) and neither Tijuana nor Vancouver make sense to me, so I am trying to make my own, custom timezone of Felton, California. How do I do this? I changed my /etc/timezone to "America/Felton" but upon reboot my calendar still says "Los Angeles". Which files do I need to change?
Code: # TIMEZONE OFFSET # This option is used to override the default timezone that this # instance of Nagios runs in. If not specified, Nagios will use # the system configured timezone.
I supposed to install a server (mail,dns,dhcp etc) but we need to record all the steps that we're doing, thats why i decided to setup a virtual machine and record everything with Xvidcap (which works great by the way).
The problem:
Now we need to test this server at school which means i have to take my computer to school and setup up a network overthere, whats the big deal about this? my computer case is a huge xclio a380 which weights about 35lbs (not kidding) so taking this thing to school riding a bus 3 hours to get there every weekend is not a good idea.
Is it possible to make a copy of the entire system and put it on a laptop?
Custdistro means it will backup your all/thing without/home and customback means it will backup all thing in /. It can create an ISO if your backup is less then 4 GB. Well, i've made a lot of changes to ubuntu 10.04 and now i love it! It does everything i'll want from any computer. This took me a lot of time, follow several tutorials and destroy the entire system a couple of times. The last one is a BIG problem because restoring my system to the state before i ****** all up takes some time again.Do any of you guys know how to backup all my system settings, programs and files? So that if i corrupt my system again i can restore it to be exactly as my current state?
I'm trying to set the time in an embedded system ... There isn't a link/file /etc/localtime and /usr/ has only two subdirectories /usr/bin and /usr/sbin.Is there something I can try or do I just give up and make UTC be my timezone?
I checked the timezone with the 'setup' command, and found the timezone is still Asia/Shanghai. Did I change the timezone to Asia/Hong_Kong successfully? Why the 'setup' program still shows the former timezone? Is there any other way to change timezone in a non-interactive way other than relinking the /etc/localtime?
I currently have Fedora running on it's own hard drive and I have two other drives in the same workstation I want to setup as Raid 0. Is this possible and what tool can I use to accomplish this? I have a feeling I might have to reinstall the entire system to accomplish this ...
I've got an odd problem and was wondering if anyone had any insight. I'm on Ubuntu 9.10 on a Gateway E-100M and everything works great except for firefox. My machine will hard freeze about once a day when using firefox. The whole OS -- no mouse movement, no keyboard response, etc.I've switched to Chrome for weeks and I get no issues at all. I switched back to firefox and it hard froze within the first hour or so. I know it's unusual that an individual program would freeze the whole OS rather than just crash, but it seems to be a fairly consistent pattern.
i have crashed my system, i have a lot of simualtion software already configured and working on it, i'm thinking to do a new installation of ubuntu in a different partition and copy there all directory tree, basically replace the new / directory system, whit the old one that i have back up. Can i do this and everything will works ok?
I've been a loyal Ubuntu owner for 3 years now, and I've been wondering if there is a place where I can get the entire break down of how the OS works. I don't know programing but I would like to learn about what ever language Ubuntu uses to work.
Main reason I am using openSUSE currently is because my Windows system's went bad. I haven't been able to easily restore and will probably have to do clean windows install. I want to make sure my entire openSuse system (application/OS setting/etc) backup so I can easily restore of it fast. Since this type of back takes awhile, I would preferably like do this while I am still logged into SUSE. I am where to disk cloning thing like clonezilla, but looks like I would need turn of my system entirely to get this done.
Currently my SUSE root and home are in a partition with another NTFS partition on my hard drive. I really don't want to use 'dd' to clone the entire hard disk. I would much rather store of required partitions in other locations. Hopefully, there is easy to get this done without too much of effort and time.
I have read that i can backup the entire system with the home folder with commands, or with programs, such as clonezilla, but it doesnt work, so im trying to back it up with commands now but i cant find a good tutorial to explain what commands to use.
I'm running Ubuntu 9.10. I'd really like to make an image of my entire system in the event of a mishap. I've found from experience that anything can happen with Linux and then you're into another reinstall. Anyone know of a good program or process?
I'm trying to set up my webcam on my Dell Inspiron 700m in which I have 10.04 installed. However, whenever I open any application that uses the webcam (C250 Logitech) it crashes my entire system (Some text flashes but it is too quick to read and then my screen becomes black). I tried Skype, Cheese, Camorama, and testing from GStreamer-properties, and all of them had the same result. However, using:
I have this new flatmate who uses all my Internet data up before the end of my monthly clockover. Instead of having to buy heaps of data top-ups at the end of the month, is there a way I can limit the speed of his computer through the network? I have tried looking through my router settings (which is a Thomson router) but there doesn't seem to be any options in regards to limiting activity of a system on the network.
I recently installed Fedora 11 64bit and I am curious about encrypting my entire file system for security purposes. I've been on Google for a while now and I keep finding info on how to encrypt a specific folder or home directories but nothing on the entire file system (or I'm missing something big here). It's hard for me to imagine that it isn't. If so, do I need to encrypt the partition my file system is on before installing it? What software should I use? There seems to be so many, it's difficult to keep them all straight.
i was thinking is it possible to port an entire linux installation onto another operating system using vmware for example? what i mean is that is it possible to create an image of a hard drive and let it work through vmware as client from another OS?
I have Ubuntu 9.10 on my system and i have a lot of apps on it.is there a way that in case of a full re-installation or hard disk replacement i could have all my softwares and settings installed on the new Ubuntu installation.
I have a Centos 5.5 server and I had a problem with its time because it was 1 one hour ahead of my local time. I installed and activated NTP and I created a link for /etc/localtime:
I reboot the server and waited for 1 hour but the time wasnt correct. The server's BIOS clock has UTC time so I edited /etc/sysconfig/clock file replacing:
Code:
UTC=false for UTC=true
I reboot the server and waited for 1 hour but the time wasnt correct. After breaking my head for about 1 hour, I realized that there is a directory /usr/share/zoneinfo/Mexico and changed my link for /etc/localtime
And It worked. What is the difference between America/Mexico_City and Mexico/General files in /usr/share/timezones, they should be identical but of course they are not?
I have a native 64 bit 11.3 system with vmware 7.0x as an application. I have installed a win 7 guest which works fine 99% of the time. But if I try to plug usb headphones into my system after I boot win 7, it will crash entire system, but if I plug headphones into system before loading vmware, this does not happen. Is this a kernel issue?
I'm running Debian Wheezy on a laptop with an i3 380M and 4GB of DDR3 1066 RAM. Whenever I open a relatively large (~80MB) pdf in evince, my system will continue running perfectly fine for a few minutes and then at some point it will just completely freeze up. The mouse cursor doesn't even respond, and I have to do a hard reboot to get the system running again.