Saturday, January 26, 2013

Linux On Windows



KSMOVIES

Running Windows with Linux: Virtualization or Dual Boot?

POSTED BY JUN AUZA ON 5/25/2012Whether you're a seasoned Linux user or a fledgling penguin, we all have to admit that there are some things you can't do without Windows. Redmond's monopoly and software consumerism have made Windows one of the most indispensable relics in the world of technology. Be it games, office tools, animation software, or drawing suites, Microsoft's dominating platform offer it all. This dominance has, in turn, restricted the growth of Linux and even Mac OS, thus forcing people from using Windows for one job or the other.If you too are a Linux user in need of Windows to get some small jobs done, there's absolutely no need for you to switch over to the dark side. You can, instead, install Windows side-by-side and switch to it whenever needed. Or, if that doesn't suit your needs, you can virtualize Windows right from your Linux desktop and get your job done without making any drastic changes to your system. Now, the question for many users is, which path should he or she choose? Virtualization or Dual boot? To solve that dilemma, we've compiled a list of pros and cons you'll encounter while switching to either of those options.Dual boot or Virtualize -- A simple test to choose the bestFirst of all, before you pick up that rusting copy of Windows, it's better to know the purpose for using Windows. What do you need it for? -For games, work, or simply to get some small jobs done? A simple way to determine whether to dual boot or to virtualize is to ask yourself this question -- is what I do on Windows really resource-intensive? That is, does it put too much load on the system? If the answer is yes, then by all means go for dual boot. If the answer is no, you're better off running Windows on a virtual machine.Dual Booting -- Some tips To dual boot is to run both Windows and Linux side by side. It is not exactly rocket science and you don't need any special skills to boot both the operating systems side by side. More user-friendly operating systems like Ubuntu automatically detect the other operating systems that are installed and ask you whether you want to install both of them side by side.To ensure that things go as smoothly as possible here are some basic tips you need to remember before dual booting:1. Always ensure that there's enough hard disk space2. If you're dual booting Windows and Linux, always install Windows first then go for Linux. This installs the Linux bootloader (GRUB2) on top of Windows thus letting you switch easily between either of the systems.Dual booting -- Pros and ConsPros:1. Both the operating systems coexist in peace. That is, data or resources from one operating system never interfere with the other.2. Switching between either of the operating systems is as easy as rebooting your computer, a process which almost all Windows users is quite familiar with already. ;-)3. Dual booting can be done on any computer, even if it has a really low-end processor and limited RAM. All you need is a good amount of hard disk space.Cons:1. When you install Windows, it takes much more space than Linux. Also dividing space between the two operating systems limits the disk space a lot.2. Although you can access Windows data from Linux without trouble, you can't access Linux files from Windows easily.3. Sometimes, if we make some changes to Linux that affects the bootloader, Windows might refuse to boot. Errors like 'NTLDR missing' are quite frequent in these cases.Virtualization -- Some tipsVirtualization is, in simple terms, one operating system running on top of another. We've already talked at great length about the process. In our earlier article, we've covered the best virtualization software for Linux. Also, for Ubuntu users, we've compiled a list of the best virtualization tools compatible with Ubuntu.Virtualization -- Pros and ConsPros:1. While virtualizing, unlike dual booting, you don't end up wasting valuable disk space.2. If you're on the more adventurous side of life, feel free to tinker with the virtual OS as any changes you make won't screw things up as bad as you do while dual booting.Cons:1. While you can dual boot safely on a Pentium-II machine, virtualization does require you to have a computer with a fast processor along with an ample amount of RAM.2. As easy as virtualization is, some new users might not be that comfortable with the idea of running one OS on top of another. There are many users who find virtualization a tad uncomfortable.3. You cannot do everything on a virtualized machine. A virtual machine is good enough for MS Office and other less resource-intensive tasks; however, if you want to play video games or edit movies, there's no substitute for dual booting.There it is, we've given you a tour of both sides of the game. It's up to you to choose the path that suits you best. ;-)Written by: Abhishek, a regular TechSource contributor and a long-time FOSS advocate.

Related Posts:

How to Secure a MySQL Installation8 of the Best Android Jelly Bean Tips and TricksHow to Control Dash Search Results in UbuntuHow To Get Access to Hulu, Pandora and other US-only sites on LinuxHow To Use Ubuntu 12.10's New Features To Ramp Up Your Productivity9 Exciting Features Fedora 18 Has To OfferHow To Quickly Secure A CentOS Web ServerBest Finance Software for UbuntuBest Movie Collection Managers For LinuxHow Windows 8 has opened up a Window for Linux World DominationHow Windows 8 has opened up a Window for Linux World DominationApple

w to Secure a MySQL Installation

POSTED BY JUN AUZA ON 1/09/2013MySQL is the world's most popular database management system and it is being used in many projects. Be it a simple media player or a huge server that logs thousands of users, this open-source database is known for its stability and performance. MySQL was named after co-founder Michael Widenius' daughter, My and as for the SQL part, the phrase stands for Structured Query Language. If you are using MySQL on a server, it is highly important that you secured the installation in order to avoid any loopholes. If left unsecured, an intruder might hack into the database causing havoc to the stored data.To get started, simply login to your MySQL installation using the following command:mysql -u root -p Enter the password (Press enter if the root password is blank).Step 1: Removing test databasesMySQL, when installed by default, comes with sample databases for testing purposes. Keeping them might pose a security risk, and hence we need to remove them. Enter the following commands to do that:mysql> drop database test;mysql> use mysql;mysql> delete from db;mysql> delete from user where not (host="localhost" and user="root");mysql> flush privileges; This will remove all other databases that are not root. Step 2: Set a strong root password (Root password is empty by default) Usually, MySQL password for root is empty by default. This is a huge security flaw. In order to set a root password, issue the following commands in the MySQL prompt:mysql> UPDATE mysql.user SET Password = PASSWORD('astrongpassword')                                ->        WHERE User = 'root'; mysql> FLUSH PRIVILEGES;This will set a password to the root account. Do make sure you remember it well.Step 3: Disable remote access to MySQLWe need to disable access to 3306 port, to which MySQL listens to. This is to avoid any remote attacks to the server. To do that, simply locate your my.cnf file. The configuration file is usually located in either of the following paths:/etc/my.cnf/etc/mysql/my.cnf~/.my.cnfOpen the file and add the following line to the section that says [mysqld]: skip-networkingYou can still remotely access the database using ssh, so don't worry about it. Additional security tips:  Set a strong root password: I cannot emphasize this enough. Setting a root password isn't everything. You need a password that is hard to decipher. Try generating a random password from the command line with the following code: $ date | md5sumDon't use MySQL as root: Create a separate user and then use it to test, modify and add databases. Avoid logging in as root as much as possible.Lockdown the data directory: Change the permission of the directory where database is stored so that only selected users can access it. You can do that using chown and chmod commands.Periodically backup MySQL data: Even though the server might be relatively immune to attacks, it's still a good idea to backup your databases. You can use the mysqldump command to do that.Here's a sample of the command in action: mysql --u [username] --password=[password] [database name] < [dump file]Written by: Abhishek, a regular TechSource contributor and a long-time FOSS advocate.

You're working tirelessly on your project for hours. You are, as they say, 'in the flow'. And, for a change, the computer too works flawlessly like never before. What more can you ask for?However, we all know that days like those don't come too often. A computer OS, no matter Windows, Mac, or Linux, is prone to hanging, freezing and crashing making our life difficult. What's more, the constant problems lead to even bigger problems if you don't exit your system safely during a freeze or hang. Our beloved Ubuntu too goes through these hiccups from time to time and exiting the desktop safely is the user's number one priority. So, if you're looking for ways to safely exit when Ubuntu hangs or freezes, here are some handy tips:What to do when an application is misbehaving? If you can move your mouse and access the launcher but only one application is hogging all your memory, you might be better off killing it. Let's say Firefox is running with about 50 tabs open, and you notice a tremendous slowdown of your desktop. Oh yeah, the same kind of slowdown wherein moving your mouse seems like a painful experience. We've all been there.So, to fix this problem you'd have to either kill Firefox or wait for it to start responding. Usually it's better to wait, especially if you have 50 tabs open. However, if that isn't working simply press Alt + F2 and type in 'xkill' without the quotes.Now, you'll see a crosshair instead of your pointer. Simply click on Firefox, and you'll see your desktop come back to normal.Ctrl + Alt + BackspaceIf your desktop is completely frozen or sluggish, then often times it's better to restart the X server. This is always a better option as compared to hitting the reset button on your laptop. To start using it, you'd have to enable the option first. Go to 'System Settings' -> 'Keyboard'. Then, go to 'All Settings' -> 'Keyboard Layout'. There, click on a small button that says 'Options'. Next, find the option that says 'Key sequence to kill the X server'. Enable the option and you're done. Now, anytime you get a frozen desktop, simply use the Ctrl+Alt+Backspace combo.Magic SysReq key in case of a complete freezeIf your system is completely frozen, then you might want to restart it safely using the Magic SysReq key combo. Simply press Alt + SysReq (Print Screen) key then while holding those two keys, press R key for 1 or 2 seconds, then, after a small interval press E , the I, then S, the U, and finally B. Each key from R to B must be held for about 1 or 2 seconds.So, to sum up, the combo is: Alt+SysReq+R+E+I+S+U+BThe best way to remember this key sequence is by using the mnemonic: Raising Elephants Is So Utterly Boring
http://fedoraproject.org/wiki/Bugs/Common

--
Sent from hacked phone



--
Sent from hacked phone

No comments:

Post a Comment