Home Blog Page 2092

20 MySQL (Mysqladmin) Commands for Database Administration in Linux

In this article we’ve compiled some very useful ‘mysqladmin‘ commands that are used by system/database administrators in their day-to-day work. You must have MySQL server installed on your system to perform these tasks.

20 mysqladmin commands examples

If you don’t have MySQL server installed or you are using older version of MySQL server, then we recommend you all to install or update your version by following our below article.

  1. Installation of MySQL 5.5.28 Server on RHEL/CentOS/Fedora

1. How to set MySQL Root password?

If you have fresh installation of MySQL server, then it doesn’t required any password to connect it as root user. To set MySQL password for root user, use the following command.

# mysqladmin -u root password YOURNEWPASSWORD

2. How to Change MySQL Root password?

Read more at Tecmint

 

LCE: Don’t play dice with random numbers

LWN.net LogoH. Peter Anvin has been involved with Linux for more than 20 years, and is currently one of the x86 architecture maintainers. During his work on Linux, one of his areas of interest has been the generation and use of random numbers, and his talk at LinuxCon Europe 2012 was designed to address a lot of misunderstandings that he has encountered regarding random numbers. The topic is complex, and so, for the benefit of experts in the area, he noted that “I will be making some simplifications”. (In addition, your editor has attempted to fill out some details that Peter mentioned only briefly, and so may have added some “simplifications” of his own.)

Random numbers

Possibly the first use of random numbers in computer programs was for games. Later, random numbers were used in Monte Carlo simulations, where randomness can be used to mimic physical processes. More recently, random numbers have become an essential component in security protocols.

Randomness is a subtle property. To illustrate this, Peter displayed a photograph of three icosahedral dice that he’d thrown at home, saying “here, if you need a random number, you can use 846”. Why doesn’t this work, he asked. First of all, a random number is only random once. In addition, it is only random until we know what it is. These facts are not the same thing. Peter noted that it is possible to misuse a random number by reusing it; this can lead to breaches in security protocols.

There are no tests for randomness. Indeed, there is a yet-to-be-proved mathematical conjecture that there are no tractable tests of randomness. On the other hand, there are tests…Read more at LWN

 

Hands On With the $20 Indian Android Tablet

Hands On With the $20 Indian Android TabletThe cheapest Android tablet I’ve ever seen costs $20, with a $2 per month unlimited data plan, and I’m holding it right now. It might not just change the tablet market. It might change the world.

The Ubislate 7ci, also known as the Aakash2, is the latest gadget from Datawind, a Canadian company that’s spent seven years trying to find the ideal market for some really neat data-optimization technology. On devices like the PocketSurfer and PocketSurfer 2, Datawind showed that it can display desktop Web pages quickly with low-cost devices on super-low-bandwidth networks like 2G GPRS. But it never gained major market traction in the Western world, especially as 3G and 4G networks…Read more at PCMag

LLVM/Clang vs. GCC On The ARM Cortex-A15 Preview

The latest ARM Cortex-A15 benchmarks on Phoronix is an extension of the earlier compiler testing from this modern ARM CPU found on the Samsung Exynos 5 Dual within the Samsung Chromebook. In this round of performance testing, the LLVM/Clang compiler performance is compared to recent releases of the GNU Compiler Collection on this latest-generation ARM hardware.

From the Samsung Chromebook Exynos 5 Dual notebook running Ubuntu 12.04 LTS but with Ubuntu 12.10 packages on top, the GCC 4.6.3, GCC 4.7.2, and GCC 4.8.0 SVN (20121008) compilers were compared to LLVM/Clang 3.0. These were the packages as found in the 12.10 Quantal archive. Unfortunately, there wasn’t the stable Clang 3.1 release available and when attempting to build LLVM/Clang from source on the Cortex-A15 system it was resulting in broken binaries… Read more at Phoronix

A scientist calls for open access to research publications

As a child I remember being fascinated by science, and developed an overwhelming urge to learn how everything worked. I loved science fiction, seeing authors explore the very edges of possible futures, extrapolating out the possibly feasible to its very limits. As I grew older and began a degree in Physics, I became even more certain I wanted to be a scientist and had a vision of what real science was all about. I remember the first few months of my PhD work being quite disappointing, learning that papers often lacked the necessary details to reproduce key reactions, or that I didn’t have access to certain papers due to their age or the journal they had been published in.

I worked hard on my research, wanting to have an impact and learn more about something I found interesting and that I hoped would one day result in new discoveries. Once I had enough results to publish, I began working on my very first paper, one that my supervisors encouraged me to publish in an appropriate journal for our research. I had never really considered the low level details of publication, but was shocked at how one-sided everything seemed to be. I worked for months on end in the lab, learning everything I could about my field, with my time and materials funded by one of the UK’s research councils using public funds. Once the article was ready to submit I jumped through many hoops, including signing away all of our rights to the submitted work, corrected any issues the reviewers pointed out, and finally got it published. The company we published with then sold it back to us, with many of my friends and family unable to access it despite no compensation being given to me or my university….

Droid Razr HD, Maxx HD get Android 4.1 next week

Motorola Droid Razr HD and Droid Razr Maxx HD will soon see an Android 4.1 update.

Both Motorola smartphones will see Jelly Bean take control as the new operating system version as soon as next week, according to Verizon’s blog. As a refresher, Jelly Bean offers enhanced notifications, Google Now, and a more intuitive keyboard.

 [Read more at CNET News]

Linux Mint 14.1 Released, Fixes Major Bugs

Linux Mint developers have announced an updated ISO images for the Linux mint 14.1 “Nadia”. They released this update for fixing major bugs found in the Linux mint 14.0.

Read more at Muktware

 

 

Using AddressSanitizer & ThreadSanitizer In GCC 4.8

While born originally at Google as projects for LLVM, AddressSanitizer and ThreadSanitizer have been ported to GCC and will be part of the forthcoming GCC 4.8 compiler release. Back at Google, they’re onto developing MemorySanitizer for LLVM. AddressSanitizer (ASAN) was developed at Google to be a fast memory error detector.  ASAN is capable of finding use-after-free and heap, stack, and global buffer overflow bugs within C and C++ programs. AddressSanitizer was merged into LLVM 3.1 earlier this year…

 

Read more at Phoronix

IndieCity Coming To Linux, Before Its Mac Version

If you are an Indie game fan or a developer, you must have heard of IndieCity. IndieCity is an online Indie game store that allows developers to publish their own games and earn revenue/donations in return. Much like Steam, it had a client that users can use to download and play the games. But unlike Steam, people at IndieCity have announced that they will bring their own client to Linux, and its before their Mac version.

Read more at Muktware

Lost+Found: Anonymous Surfing, Dubious DRM and a Stuck Stock Exchange

In this edition: the latest edition of Nmap arrives, a router to route everything over Tor, an Autorun pest, a PDF autopsy, Stockholm’s stuck stock exchange, and a rather breakable unbreakable DRM.

 

  • Nmap has developed from a port scanner to a swiss army knife for pentesters and version 6.25 continues this development path with Windows 8 support and 85 new scripts to collect extra information.
  • With P.O.R.T.A.L. a wireless TP-LINK router can be configured to send all its internet traffic through the Tor anonymising network…

 

Read more at The H