Linux

66K

Solutions

33K

Contributors

Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.

Share tech news, updates, or what's on your mind.

Sign up to Post

Start.Me Bookmarks Manager
This article is about an excellent bookmarks manager I've been using that I thought deserved some promotion to make more folks aware of its existence. Free to use and very useful indeed. Enjoy...
5
LVL 14

Expert Comment

by:Brandon Lyon
This is a helpful article. One thing to remember is that keeping one (or more) Start.Me tabs open is going to consume significantly more memory than browser bookmarks.

I used to love XMarks but years ago I ditched it when I was getting synchronization and corruption issues on a daily basis. These days I just use the default browser sync in Chrome (though I'll be migrating to Firefox soon).
1
LVL 29

Author Comment

by:Andrew Leniart
Hi Brandon,

Thank you for your very kind comment and also for endorsing the article with a Thumbs Up. Both very much appreciated!

Regards, Andrew
0
Ensure you’re charging the right price for your IT
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

This document shows you what the difference is between the docker registry and docker repository.
0
Code in Python
In this article, we will see what are Tuple and how we use them in Python programming.
0
Logical Operators in Python -
In this article we will see what is logical operator and how we use them in Python programming.
0
Boolean in Python -
In this article we will see how to use Boolean in Python where it can be used to take any decisions if it is true or false , yes or no, 1 or 0.
0
Assume that as a role of System Administrator in SMB (or a startup group), you are requested to (re)design the IT infrastructure of the company. In this article, I will describe the steps of design, configure and operate the IT devices in a small business environment. (<50 users).
0
Write My Paper
Virtualization software lets you run different versions of Windows, Ubuntu Linux and other versions of Linux all at the same time, rather than running each one directly from your computer's hard drive.
0
Can you run Linux on a Windows system? Yep. Here's how.
1
MT Make It Better Grid
This installment of Make It Better gives Media Temple customers the latest news, plugins, and tutorials to make their Grid shared hosting experience that much smoother.
1
LVL 29

Expert Comment

by:Andrew Leniart
Some great instructional articles available from those links..  Good post.
0
MT DV Rsync
This article explains how to use the rsync command to create backups and sync data across hosts. Rsync is a very useful command that is often used to copy data, make backups, migrate hosts, and bridge the gap between site staging and production environments.
0
Why Diversity in Tech Matters
LVL 19
Why Diversity in Tech Matters

Kesha Williams, certified professional and software developer, explores the imbalance of diversity in the world of technology -- especially when it comes to hiring women. She showcases ways she's making a difference through the Colors of STEM program.

MT DV Cron2
Welcome back to our beginners guide of the popular Unix tool, cron. If you missed part one where we introduced this tool, the link is below. We left off learning how to build a simple script to schedule automatic back ups. Now, we’ll learn how to set up our favorite type of notification.
0
MT DV Cron
Cron is one of the most popular and basic utilities found on Unix systems. Combined with other tools, cron makes it exceptionally easy to automate a broad range of tasks on your server.
0
Often times it's very very easy to extend a volume on a Linux instance in AWS, but impossible to shrink it. I wanted to contribute to the experts-exchange community a way of providing a procedure that works on an AWS instance. It can also be used on any Linux virtual machine.
1
This article will show you step-by-step instructions to build your own NTP CentOS server. The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
0
Easy2Boot customized
I have written articles previously comparing SARDU and YUMI. I also included a couple of lines about Easy2boot (easy2boot.com). I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves an article all it's own.
1
LVL 33

Author Comment

by:Thomas Zucker-Scharff
@Edi,

Do you have a link to that tool?  I might be missing something, but I finally went to your website (it needs a www in front of it to work) and could NOT find a pricing or purchase page.

@nobus,

I share a dropbox folder of my USB (https://www.dropbox.com/sh/4qh39iiwtgiq4qe/AAC7yzZsopQYDgqMuBYib8zMa?dl=0).  An iso would be too large (about 100-110gb).  Although this would be great - you do need your own serial numbers for the windows installs, and similar products.  Also most of my ISO images are for VLA only.  And the last problem would be going through my list to get rid of proprietary images (there are a few).  But feel free to use the above link to download my setup of easy2boot.
0

Expert Comment

by:Edi Sucipto
@Thomas

Thank you for visiting my site :)
really, should use www to be able to open the site.
Unlike the Rescue Project version, in the Premium Project version, we do not generally distribute it by including the purchase page for some reason, but for those who really want to have it they can contact us by email :)
0
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
2
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
2
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give you a link to get 115 GB for free for two years.
1

Expert Comment

by:Michele Capobianco
Great Tutorial!

One little question. Is it possible to upload into a certain google drive folder?
I checked the Docs, but i didn't find anything..

Thanks Capo
0
LVL 26

Author Comment

by:Ron Malmstead
I believe you would need to use the option -p

-p, --parent <parent>     Parent id, used to upload file to a specific directory, can be specified multiple times to give many parents


To get the folder id you can use 'drive list'
1
Fine Tune your automatic Updates for Ubuntu / Debian
0
Starting with Angular 5
LVL 19
Starting with Angular 5

Learn the essential features and functions of the popular JavaScript framework for building mobile, desktop and web applications.

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
4
LVL 12

Expert Comment

by:William Nettmann
The Quagga is on it's way back - maybe the password will survive as well!
0
LVL 7

Author Comment

by:Teksquisite
Thank you all for your comments = passwords must die!
0
The purpose of this article is to demonstrate how we can use conditional statements using Python.
0

I. Introduction


There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension. This reminded me of questions that come up here at EE along the lines of, "How can I tell the type of file from its contents?", as well as, "What kind of file has the XXX extension?" Writing an article to address this has been on my to-do list for a long time — the group discussion has inspired me to do it.


II. Determine the type of file from its XXX extension


Here are five links that can help in determining what an XXX file is:


http://extension.nirsoft.net/XXX

https://www.file-extensions.org/XXX-file-extension

http://www.fileinfo.com/extension/XXX

http://filext.com/file-extension/XXX

http://www.solvusoft.com/en/file-extensions/file-extension-XXX


Simply replace XXX with the file extension of interest. For example,


http://extension.nirsoft.net/TIFF

https://www.file-extensions.org/docx-file-extension

http://www.fileinfo.com/extension/AHK

http://filext.com/file-extension/xhtml

http://www.solvusoft.com/en/file-extensions/file-extension-opd


III. Determine the type of file from its contents


Now to the trickier question! An excellent file identifier application called TrID analyzes the contents of a file in an attempt to figure out what type of file it is. It comes in both a command line interface (CLI) version (for Windows and Linux) and a Graphical User Interface (GUI) version (Windows only) called TrIDNet. The downloads are at the links in the preceding sentence.


Both the CLI and GUI versions require a database/library of file definitions. This is a key feature of TrID and TrIDNet — the always increasing list of files that it recognizes. As of this article's submission date, the database contains 6,019 definitions (dated 13-August-2015). Note that there are separate downloads for the CLI definitions and the GUI definitions.


IV. More about TrID — the CLI version


After downloading the CLI version and its definitions, simply unpack the ZIP file with the program (trid.exe) and copy the definitions file (triddefs.trd) into the same folder as the program file. As mentioned above, using a database of definitions for file types is a really nice feature of TrID. Since file types are frequently added, the program author makes the definitions database available as a separate download, so you may go back to the website occasionally to get the latest definitions file.


Here's the syntax of the CLI version (v2.20):

 

Usage: TrID <[path]filespec(s)...> [-ae|-ce] [-d:file] [-ns] [-n:nn]
                                                                           [-@] [-v] [-w] [-?]
                                        
                                        Where: <filespec> Files to identify/analyze
                                               -ae        Add guessed extension to filename
                                               -ce        Change filename extension
                                               -d:file    Use the specified defs package
                                               -ns        Disable unique strings check
                                               -n:nn      Number of matches to show (default: 5)
                                               -@         Read file list from stdin
                                               -v         Verbose mode - display def name, author, etc.
                                               -w         Wait for a key before exiting
                                               -?         This help!


The program is free for personal use. Here's exactly what the license says (I took the liberty of correcting typos in it):


The program can be freely distributed and is freeware for non-commercial, personal, research and educational use. Contact the author for commercial use or commercialization of TrID or TrID's definitions and contained information.

I don't want to put the author's email address in this article, but you may find it in the Readme file that is part of the download.


V. More about TrIDNet — the GUI version


As stated earlier, the definitions for the GUI version are in a different format from the definitions for the command line version. The GUI definitions are in a large number of XML files, one for each file type — currently, 6,019 of them!


As with the CLI version, there's no installation needed — just unpack the ZIP file with the program (TrIDNet.exe) and copy the definitions (all of the XML files) into the same folder as the program file.


When running TrIDNet, here's the opening screen:


TrIDNet-opening-screen.jpg

V. Conclusion


To come full circle to the group discussion that prompted this article, I fed to both TrID and TrIDNet a file that has 40 characters in the file name but no file extension. Here's the TrID command line with its result (via copy/paste from the command prompt window):


trid "d:\0tempd\40 character file name without extension"


TrID/32 - File Identifier v2.20 - (C) 2003-15 By M.Pontello

Definitions found:  6019

Analyzing...


Collecting data from file: d:\0tempd\40 character file name without extension

100.0% (.PDF) Adobe Portable Document Format (5000/1)


Here's the TrID GUI result:



TrIDNet-sample-analyze.jpg

Both TrID and TrIDNet easily determined that it is a PDF file — and with 100% certainty. Of course, 100% certainty is not always the case, as shown in this real-life example of a file uploaded in a recent EE question. The file bumped into the 40-character file name limit and wound up with a .x file extension. Here are the TrID results on it:


TrID/32 - File Identifier v2.20 - (C) 2003-15 By M.Pontello

Definitions found:  6019

Analyzing...


Collecting data from file: d:\0tempD\Time-Interval-Frequency-calculationv51.x

 51.3% (.XLSM) Excel Microsoft Office Open XML Format document (with Macro) (57500/1/12)

 45.0% (.XLSX) Excel Microsoft Office Open XML Format document (50500/1/11)

  3.5% (.ZIP) ZIP compressed archive (4000/1)


It is, in fact, a .XLSM file, as predicted by TrID, although with only 51.3% certainty. After changing the file type from .x to .xlsm, it loaded perfectly into Excel.


If you find this article to be helpful, please click the thumbs-up icon below. This lets me know what is valuable for EE members and provides direction for future articles. Thanks very much! Regards, Joe

17
LVL 67

Author Comment

by:Joe Winograd
Hi Bill,
Thanks for the kind words and the upvote — much appreciated! I like your "Dealing With Unknown Files and File Extensions" title — it's better than the one I chose. Regards, Joe
0
LVL 36

Expert Comment

by:Duncan Roe
The Linux file command gets the file type right every time (file extensions are a Windows thing I guess)
0
The Rasberry PI is a low cost piece of hardware that you can have a lot of fun with through experimenting and building/working on projects like media players, running a low cost computer, build data loggers etc. - see: https://www.raspberrypi.org
8
LVL 71

Expert Comment

by:Merete
Thankyou Gerwin I've had my Rasp PI XBMC for about 5 years  and now understand  how to take it further than just a media device for mp4 on a SD card
XBMC is now Kodi.
0
LVL 39

Author Comment

by:Gerwin Jansen, EE MVE
Thanks and you're welcome :)
0

Why snapshot as backup-strategy?

When working with large to huge databases it is critical to take a backup of the database for disaster recovery and data failures that application either cannot recover or regenerate corrected data. For a database of such size it is vital that backup time is as short as possible to minimize application downtime/disruption due to backups. Regular backups can take several hours or more to complete for very large to huge databases.
The fastest way today to take a database backup is using the snapshot technology (sometimes called FlashCopy) either on a filesystem level or if the database has such technology implemented.


ZFS filesystem and snapshots

ZFS uses copy-on-write transactional object model allowing old data to be retained as new data is written and allowing snapshot versions of the filesystem to be maintained.
Here I will demonstrate how you can use the Solaris zfs filesystem (ZFS on FUSE) to backup MySQL/MariaDB database in as short time as possible.


Preparing the VM

For this demonstration I'm using Centos 6.5 64 bit with zfs-fuse in a VirtualBox VM with 1 Core (2.3 MHz AMD A10 ) and 1GB RAM, even though recommended minimum for zfs-fuse is 2 GB.
The VM disks (VDI format) are as follows
  • 20 GB disk with the Centos 6.5 system installed.
  • Three empty 5 GB disks that will be under the zfs filesystem.  
First thing is to make sure the SELINUX is disabled and reboot the VM after editing the config file as root :

Open in new window

0
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once you download and install Linux Mint 17.2, Python software is installed by default. But the latest releases from Python are Python 2.7.10 and Python 3.4.3. I am using a 32 bit operating system as my host is 32 bit but you can still go ahead with 64 bit version which is preferred.

Log into the Mint operating system, and open terminal. Type "python" and hit enter or you can type "python --version" to check the existing version.
swadhin.ray-000036.pngTo download the latest version of Python, open https://www.python.org/downloads/ and click on "Download Python-2.7.10" as shown in below image.
swadhin.ray-000037.pngOpen the folder where the file is downloaded. In my system it's defaulted to "Downloads" folder.
swadhin.ray-000038.png
swadhin.ray-000039.pngIf you open the tar file from the archive manager you can see the files that were downloaded.
swadhin.ray-000040.pngNow extract all the files under the same folder or you can choose a specific directory. Click on Extract button as shown below.
swadhin.ray-000041.pngswadhin.ray-000042.pngWait till the file get extracted.
swadhin.ray-000043.pngNow from the above image we can we can see that file is successfully extracted.
swadhin.ray-000044.pngNow open terminal and locate the extracted installation files.

Open in new window

1

Expert Comment

by:MeganDS
When I executed "./configure", you said it shouldn't have any errors, but mine did. When I did that, I got this output:

checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for --enable-universalsdk... no
checking for --with-universal-archs... 32-bit
checking MACHDEP... linux2
checking EXTRAPLATDIR... 
checking for --without-gcc... no
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/sara/Downloads/Python-2.7.10':
configure: error: C compiler cannot create executables
See `config.log' for more details

Open in new window


What can I do to fix this?
0
LVL 18

Author Comment

by:Swadhin Ray
what is your OS version seems you are installing 64/bit on 32 .
0

Linux

66K

Solutions

33K

Contributors

Linux is a UNIX-like open source operating system with hundreds of distinct distributions, including: Fedora, openSUSE, Ubuntu, Debian, Slackware, Gentoo, CentOS, and Arch Linux. Linux is generally associated with web and database servers, but has become popular in many niche industries and applications.