Well most linux should also follow the format.
The syntax is
$ sudo date MMDDhhmmYYYY
LETTER CODES
MM - Two digit month number
DD - Two digit date
hh - Two digit 24 hour system hour
mm - Two digit minute
YYYY - Four digit year code
if you are already root, you can ignore the sudo
Here is a valid example command, where I am login as root already
$ date 071509442011
You should see the confirmation date after you executed that command, and will be similar to this
Fri Jul 15 09:44:00 PHT 2011
to confirm just enter date command
$ date
ADDITIONAL INFORMATION
You might want your bios clock to adjust to your new OS clock, so that when you rebooted, your OS will use the newly adjusted date and time.
$ hwclock --systohc
Maybe I will try to post on how to set NTP. But for now this is just my personal notes. Hope someone find it useful.
From mountains to sea, from land to sky. Absolutely no boundaries, just about everything...
Friday, July 15, 2011
New Blog Approach
I keep on searching for something I already found before. That is finding information for something I am doing, something that I dont bother remembering "How To's".. well instead of putting them on my notes, I will also now try to put it on blogs. here.. I hope somebody could also found some useful information here. Well here it start.. :)
Saturday, July 9, 2011
Sync Tomboy Notes for Windows on UbuntuOne
I been back on my Windows environment lately and are missing many things that I been comfortably using on Ubuntu. One of them is my Notes. Somebody might suggest using other services like Google Notebook (I am still using this), Evernote and other tools and services available.
Basically I am using Tomboy notes for simplicity and just there for being my sticky pad.
When I install Tomboy notes on windows, first think I check is how to sync it with Ubuntu One. I Google it and found this link, scroll down the tutorial until you found the instruction for Ubuntu 9.10 (Karmic) and 10.04 LTS (Lucid) its the same with windows tutorial located after this, that tells how to use Tomboy Web.
Here is the link https://wiki.ubuntu.com/UbuntuOne/Tutorials/Notes
Basically I am using Tomboy notes for simplicity and just there for being my sticky pad.
When I install Tomboy notes on windows, first think I check is how to sync it with Ubuntu One. I Google it and found this link, scroll down the tutorial until you found the instruction for Ubuntu 9.10 (Karmic) and 10.04 LTS (Lucid) its the same with windows tutorial located after this, that tells how to use Tomboy Web.
Here is the link https://wiki.ubuntu.com/UbuntuOne/Tutorials/Notes
Friday, July 24, 2009
Asterisk MusicOnHold File Priority
Yay!.. I dont know if it is a bug, or there is other setting for this.
musiconhold.conf
[class001]
mode=files
directory=/var/lib/asterisk/moh_custom/
sort=alpha
The config above does work alright although sorted reverse. Say you have a file a.mp3, b.mp3, c.mp3, d.mp3... The first one to be play is d.mp3 and last is a.mp3... Ok that can be handled, and this work ok for me as of I can manage my file on which one would be first and last. UNTILL if you have more than 4 files on that directory, the playlist become random in order, yet still following a pattern. Because if you remove sort=alpha and place random=true, the playback is in random and should be, but with other flaw, The files will be random played after each files finished playback. It means that a.mp3 can be plays every turn and c.mpe could not be play during the playback duration... Hmmmm... Well this bug exist on Asterisk 1.4.22-4 RPM by vc-rpms@voipconsulting.nl on my test machine...
I hope this save time for somebody out there, and make my wasted time go into used and not bother trying to arrange your playlist if you have more than 4 files in a directory.
DO NOT PUT MORE THAN 4 FILES IN MOH that is if you want to preserve your playlist in order..
musiconhold.conf
[class001]
mode=files
directory=/var/lib/asterisk/moh_custom/
sort=alpha
The config above does work alright although sorted reverse. Say you have a file a.mp3, b.mp3, c.mp3, d.mp3... The first one to be play is d.mp3 and last is a.mp3... Ok that can be handled, and this work ok for me as of I can manage my file on which one would be first and last. UNTILL if you have more than 4 files on that directory, the playlist become random in order, yet still following a pattern. Because if you remove sort=alpha and place random=true, the playback is in random and should be, but with other flaw, The files will be random played after each files finished playback. It means that a.mp3 can be plays every turn and c.mpe could not be play during the playback duration... Hmmmm... Well this bug exist on Asterisk 1.4.22-4 RPM by vc-rpms@voipconsulting.nl on my test machine...
I hope this save time for somebody out there, and make my wasted time go into used and not bother trying to arrange your playlist if you have more than 4 files in a directory.
DO NOT PUT MORE THAN 4 FILES IN MOH that is if you want to preserve your playlist in order..
Tuesday, July 14, 2009
Songbird Rocks
I just installed again Songbird. I forgot the last version I used but it look like a black browser than a music player. Fond if it because of its lightness. I change my desktop PC to Notebook PC, and I just forgot all about Songbird just today I download it and install it. Got amazed by the new look, and note it support most of the Firefox plugin. including this plugin I used for blogging. ScribeFire, download it here http://www.scribefire.com/. I think I am back to my blogs again. I wish...
Got Hook on 7 Things
Very busy lately and just stop to note that I like the song 7 Things by Milley Cyrus. I mark it 5 stars on my songbird player.
Sunday, February 15, 2009
I learned Linux on the old fashion way.
I remember the first time I lay my hand on a keyboard with Linux on board about 6years ago. I can still remember the excitement looking at the monitor with different looks.
Like all the version of Windows I have tried 95,98,Me and XP, each level upgrade really excite me just only by looking how it install and reading the new features it says while installing. Its the same feeling just add nervous. I am at my first work and it is Fedora Core, not sure about the version. Though I did not work long enough to learn more because of project shift.
The next time I encounter Linux as a direct user and administrator was less than 3years ago. I am working on Asterisk on a console mode on one of the computer and a Windows XP on the other. I have no books about it, I have dial-up internet connection from home which I use for searching about everything about Linux and download those files and update with it.
With a limited resource, I learned to install almost everything from a console, reading documents such as README for installing instructions. I learn how to untar (unzip/extract) files. And the first one I learn is how to extract and compile PHP from source, though I find it hard back then enabling the right extension to include, it really pays the experience as some more application was required to install later which I find much more like they are using same steps as a generic step for installing software, and It is the standard which I have confirm.
This gives me a hard time finding the applications dependencies, I google on finding the source for each dependencies compiling them and even much harder was the conflict of versions. I walk on this path long enough, enough for me to learn from the base before I was introduce to YUM.
It was CentOS server. I desperately watch yum install the application I needed, doing everything automatically including finding all dependencies and updating everything as needed. That time, I said, its like working on a square wheel and to find out that there is already a circle wheel that is being used by everybody else, wow WTF. Its a good memory after all.
Someone will find Linux a very not intuitive OS, specially if they will be looking and working on a console and if the person is born and learn from MS Windows environment to mention a resource for learning and training is limited.
My path on learning Linux maybe rough, but now I know that I walked on the right path after all.
Like all the version of Windows I have tried 95,98,Me and XP, each level upgrade really excite me just only by looking how it install and reading the new features it says while installing. Its the same feeling just add nervous. I am at my first work and it is Fedora Core, not sure about the version. Though I did not work long enough to learn more because of project shift.
The next time I encounter Linux as a direct user and administrator was less than 3years ago. I am working on Asterisk on a console mode on one of the computer and a Windows XP on the other. I have no books about it, I have dial-up internet connection from home which I use for searching about everything about Linux and download those files and update with it.
With a limited resource, I learned to install almost everything from a console, reading documents such as README for installing instructions. I learn how to untar (unzip/extract) files. And the first one I learn is how to extract and compile PHP from source, though I find it hard back then enabling the right extension to include, it really pays the experience as some more application was required to install later which I find much more like they are using same steps as a generic step for installing software, and It is the standard which I have confirm.
This gives me a hard time finding the applications dependencies, I google on finding the source for each dependencies compiling them and even much harder was the conflict of versions. I walk on this path long enough, enough for me to learn from the base before I was introduce to YUM.
It was CentOS server. I desperately watch yum install the application I needed, doing everything automatically including finding all dependencies and updating everything as needed. That time, I said, its like working on a square wheel and to find out that there is already a circle wheel that is being used by everybody else, wow WTF. Its a good memory after all.
Someone will find Linux a very not intuitive OS, specially if they will be looking and working on a console and if the person is born and learn from MS Windows environment to mention a resource for learning and training is limited.
My path on learning Linux maybe rough, but now I know that I walked on the right path after all.
Subscribe to:
Posts (Atom)