background preloader

Linux_stuff

Facebook Twitter

Everything Linux - A Tutorial on Using Rsync. Perl problem. How to create and extract zip, tar, tar.gz and tar.bz2 files in Linux. Data compression has been extremely useful to us over the years. Whether its a zip file containing images to be sent in a mail or a compressed data backup stored on a server, we use data compression to save valuable hard drive space or to make the downloading of files easier. There are compression formats out there which allow us to sometimes compress our data by 60% or more.

I’ll run you through using some of these formats to compress and decompress files and directories on a Linux machine. We’ll cover the basic usage of zip, tar, tar.gz and the tar.bz2 formats. Before we delve into the usage of the formats I’d like to share some of my experience using the various formats of archiving. Zip is probably the most commonly used archiving format out there today. To compress a directory with zip do the following: # zip -r archive_name.zip directory_to_compress Here’s how you extract a zip archive: # unzip archive_name.zip Tar is a very commonly used archiving format on Linux systems.

Texmaker (free cross-platform latex editor) How to install and Configure LAMP on Ubuntu ( Linux ) Manually ? As I mentioned in Installation of Xampp for windows , XAMPP package is also available for Ubuntu and other Linux distributions .So you can download that from . To learn how to install LAMP using XAMPP package , Click Here . What I am going to explain here is , installation all the components of PHP,MySQL,Apache2 manually without installing it as a package . I am using Ubuntu 12.10 Linux distribution . You can try the same steps in other distributions also and I hope it works , if any problem , kindly comment here . We will help you .  Here is the step by step Manual : Step 1 : Install Apache Web Server > goto your terminal > type the following command and hit enter sudo apt-get install apache2 It may prompt for password , just provide it .

It will take few moments to download and install apache server in you machine . Once it installed successfully , Just restart the apache server . Type the following code in the terminal window and hit enter . Step 2 : 11.10 - How to install XAMPP. 50 Most Frequently Used UNIX / Linux Commands | Soluzioni Facili. This article provides practical examples for 50 most frequently used commands in Linux / UNIX. This is not a comprehensive list by any means, but this should give you a jumpstart on some of the common Linux commands. Bookmark this article for your future reference. 1. tar command examples Create a new tar archive.

Extract from an existing tar archive. View an existing tar archive. More tar examples: The Ultimate Tar Command Tutorial with 10 Practical Examples 2. grep command examples Search for a given string in a file (case in-sensitive search). Print the matched line, along with the 3 lines after it. Search for a given string in all files recursively More grep examples: Get a Grip on the Grep! 3. find command examples Find files using file-name ( case in-sensitve find) Execute commands on files found by the find command Find all empty files in home directory More find examples: Mommy, I found it! 4. ssh command examples Login to remote host Debug ssh client Display ssh client version 13. pwd command. Mint Backup Tool: Εγκαταστήστε το και στο Ubuntu! Συνεχίζοντας τη παρουσίαση απλών εργαλείων, για να μπορούμε να κάνουμε back up των αρχείων μας, θα δούμε σήμερα άλλο ένα εύκολο εργαλείο backup και είναι αυτό που έχει το Linux Mint.

Nα τονίσω όμως εδώ, πως το osarena θεωρεί μακράν πως το καλύτερο backup tool είναι το Lucky Backup. Όμως και το Mint Backup είναι εύκολο εργαλείο, οπότε ας το δούμε: Το Linux Mint είναι μια διανομή που βασίζεται αποκλειστικά στο Ubuntu και η ατάκα/χαρακτηρισμός που το ακολουθεί είναι: Ένα Ubuntu, μετά από τρεις ημέρες customization Όπωςκαι να έχει το Mint απλά έφτιαχνε κάπως αλλιώς το Μενού, εμφάνιζε κάποιες ευκολίες που είχε “κρυφές” το Ubuntu. Απλά επιλέγετε σε ποιους φακέλους/ αρχεία θέλετε να κάνετε backup, επιλέγετε το που θα τ’ αποθηκεύσετε (π.χ: εξωτερικό σκληρό, usb στικ, cd, κλπ) Φυσικά και μπορείτε να επιλέξετε ολικό backup του συστήματος σας.

Όπως και να έχει είναι και αυτό στη διάθεση σας, μ’ ελάχιστους πόρους και αναμφίβολα το κατατασουμε στα πολύ καλά εργαλεία του είδους. Ubuntu Studio 11.10 - Page 5. 9 Google Earth In chapter 6, we have installed the package googleearth-package which is a utility to automatically build a .deb package of Google Earth. This means, Google Earth is not yet installed; we have to first build a .deb package of it with the help of googleearth-package, and then install the .deb package. Open a terminal (System > Terminal) and become root: sudo su Now you can build the Google Earth .deb package as follows: make-googleearth-package --force If you don't see any errors, then you should find the Google Earth .deb package in the current directory: ls -l Now you can install Google Earth as follows: gdebi googleearth_6.0.3.2197+0.6.0-1_amd64.deb 10 Inventory (II) Now let's check again what we have so far by browsing the menus again: (JavaScript must be enabled in your browser to view the large image as an image overlay.)

Our inventory should now look like this: Graphics: [x] The GIMP [x] Shotwell Photo Manager [ ] Picasa Programming: [x] KompoZer [x] Bluefish [x] Eclipse 15 Links. Wubi 7.04.01. Top 5 Things to Do After Installing Ubuntu. Ubuntu 12.04 LTS - Amazing Features. Run Windows Applications on Ubuntu using Wine. Linux: UBUNTU: WUBI (starts to download again) installation Problem. How to Easily Install Ubuntu Linux on Any PC. HOW TO INSTALL UBUNTU WITHOUT ERASING YOUR HARD DRIVE OR UNINSTALLING YOUR OPERATING SYSTEM. Manual disk partitioning guide for Ubuntu 11.04.

Advanced or manual disk partitioning is available for those that want to create a custom set of partitions for installing Ubuntu 11.04. For whatever reason or reasons you choose to use the advanced disk partitioning tool, this article gives a step by step guide, with detailed explanations, on how to do it. This tutorial assumes that you are going to create partitions for a standalone installation of Ubuntu 11.04.

If you are going to create partitions for dual-booting with Windows or another Linux distribution, a future article, to be published soon, will provide instructions on how to create partitions manually, when dual-booting. On a default installation of Ubuntu 11.04, the installer creates just two partitions; the first for /, the root directory, and the second for Swap. When creating partitions for installing any desktop Linux distribution, my recommendation is to create the following four partitions: /boot, the boot partition.

Select the free space and click the Add button. Ubuntu Studio 11.10. Version 1.0 Author: Falko Timme <ft [at] falkotimme [dot] com>, Christian Schmalfeld <c [dot] schmalfeld [at] projektfarm [dot] de> Follow me on Twitter Last edited 10/19/2011 This tutorial shows how you can set up an Ubuntu Studio 11.10 desktop that is a full-fledged replacement for a Windows desktop, i.e. that has all the software that people need to do the things they do on their Windows desktops. The advantages are clear: you get a secure system without DRM restrictions that works even on old hardware, and the best thing is: all software comes free of charge. Please note that Ubuntu Studio 11.10 uses Xfce as the default desktop environment (instead of GNOME). I want to say first that this is not the only way of setting up such a system. 1 Preliminary Note To fully replace a Windows desktop, I want the Ubuntu Studio desktop to have the following software installed: Graphics: Internet: Office: Multimedia: Programming: Other: I will use the username howtoforge in this tutorial.

Super Grub Disk. How to re-install Ubuntu without losing files? (Edit - Files lost - urgent help needed) Installation - How can I install Ubuntu without removing Windows. Add medibuntu sources to install more useful softwares in Ubuntu. This tutorial shows how to add medibuntu sources to ubuntu repository.So there will be more free softwares available. By now,medibuntu includes following binary packages: # aacgain # aacplusenc # acroread-fonts # alsa-firmware # amrnb # amrwb # app-install-data-medibuntu # apport-hooks-medibuntu # gizmo5 # googleearth-data # googleearth # hot-babe # ices # libamrnb3 # libamrnb-dev # libamrwb3 # libamrwb-dev # libavcodec-extra-52 # libavcodec-unstripped-52 # libavdevice-extra-52 # libavdevice-unstripped-52 # libavfilter-extra-0 # libavfilter-unstripped-0 # libavformat-extra-52 # libavformat-unstripped-52 # libavutil-extra-49 # libavutil-unstripped-49 # libdvdcss2 # libdvdcss-dev # libpostproc-extra-51 # libpostproc-unstripped-51 # libswscale-extra-0 # libswscale-unstripped-0 # medibuntu-keyring # non-free-codecs # realplayer # rmconverter # w32codecs # w64codecs Step1:Edit /etc/apt/sources.list file by this command (open terminal from Applications->Accessories->Terminal to type command):

How to install Real Player in ubuntu. This tutorial will tell you how to install Real Player and enable firefox plugin,remove imposed audio icons optionally in ubuntu. First,download Real Player by execute following command in a terminal window: wget then, in terminal go to the directory where you download the file,make the .bin file executable by command: chmod a+x RealPlayer11GOLD.bin execute command: sudo . press any key when prompted,after installed you can open Real Player at Applications–>Sound&&Video–>Real Player11 For enable mozilla firefox plugin,type following command: cp /opt/real/RealPlayer/mozilla/nphelix.so ~/.mozilla/plugins/nphelix.so && cp /opt/real/RealPlayer/mozilla/nphelix.xpt ~/.mozilla/plugins/nphelix.xpt And remove imposed audio icons by: sudo /opt/real/RealPlayer/postinst/install_icon_resource.sh uninstall sudo apt-get install realplay.

Email - How to send mail from the command line. Postfix FAQ. Postfix Frequently Asked Questions The following Frequently Asked Questions come primarily from the Postfix mailing list. Information about the list is available from the official Postfix web site. This is a much expanded version of the FAQ in the Appendix of Postfix: The Definitive Guide, and it is continuing to grow. If you have any questions, comments, or suggestions for this page please send them to me at <kdent@seaglass.com>.

There is a Belorussian translation provided by Ucallweconn.net. And a German one at Questions are organized into the following categories: Postfix Mailing List Compiling Postfix General Questions Aliases Error and Warning Messages Mail Queue Logging DNS Issues Virtual Domains UBE Blocking Anti-Virus Postfix Mailing List 1. Send a request to <majordomo@postfix.org> with the words "unsubscribe postfix-users" in the body of the message. 2.

Do not send a general, "It's not working... " message. Compiling Postfix 3. Performance Tuning. Purpose of Postfix performance tuning The hints and tips in this document help you improve the performance of Postfix systems that already work. If your Postfix system is unable to receive or deliver mail, then you need to solve those problems first, using the DEBUG_README document as guidance. For tuning external content filter performance, first read the respective information in the FILTER_README and SMTPD_PROXY_README documents. Then make sure to avoid latency in the content filter code. As much as possible avoid performing queries against external data sources with a high or highly variable delay. Topics on mail receiving performance: Topics on mail delivery performance: Other Postfix performance tuning topics: The following tools can be used to measure mail system performance under artificial loads. General mail receiving performance tips Read and understand the maildrop queue, incoming queue, and active queue discussions in the QSHAPE_README document.

Postfix version 2.1 and later: Configuration Parameters. The Postfix main.cf configuration file specifies a very small subset of all the parameters that control the operation of the Postfix mail system. Parameters not explicitly specified are left at their default values. The remainder of this document is a description of all Postfix configuration parameters. Default values are shown after the parameter name in parentheses, and can be looked up with the "postconf -d" command. Note: this is not an invitation to make changes to Postfix configuration parameters. 2bounce_notice_recipient (default: postmaster) The recipient of undeliverable mail that cannot be returned to the sender. Access_map_defer_code (default: 450) The numerical Postfix SMTP server response code for an access(5) map "defer" action, including "defer_if_permit" or "defer_if_reject". Do not change this unless you have a complete understanding of RFC 5321.

This feature is available in Postfix 2.6 and later. access_map_reject_code (default: 554) This feature is available in Postfix 2.7. Easy Automated Snapshot-Style Backups with Rsync. Page last modified 2004.01.04 Updates: As of rsync-2.5.6, the --link-dest option is now standard! That can be used instead of the separate cp -al and rsync stages, and it eliminates the ownerships/permissions bug. I now recommend using it. Also, I'm proud to report this article is mentioned in Linux Server Hacks, a new (and very good, in my opinion) O'Reilly book by compiled by Rob Flickenger. Contents AbstractMotivationUsing rsync to make a backup Basics Using the --delete flag Be lazy: use cronIncremental backups with rsync Review of hard links Using cp -al Putting it all together I'm used to dump or tar!

This seems backward! Abstract This document describes a method for generating automatic rotating "snapshot"-style backups on a Unix-based system, with specific examples drawn from the author's GNU/Linux experience. Motivation Note: what follows is the original sgvlug DEVSIG announcement. Ever accidentally delete or overwrite a file you were working on? Using rsync to make a backup Basics. Examples of using rsync. Some of the main features of rsync include can update whole directory trees and filesystemsoptionally preserves symbolic links, hard links, file ownership, permissions, devices and timesinternal pipelining reduces latency for multiple filescan use rsh, ssh or direct sockets as the transportchecksum based verification Preserving permissions, updating whole directory trees and secure transfers over ssh makes this the ideal backup tool. And it can be easily scheduled using cron. It’s also incredibly fast if you make us of the rsync daemon and not ssh.

This article will cover a few examples so that you’ll be able to quickly make use of the primary features of rsync. Things to note when you use rsync Copy the /home/temp folder to the remote-host $ rsync -v /home/temp/ username@remote-host:/home/temp/ Copy the folder & the files within /home/temp to the remote host $ rsync -v /home/temp/* username@remote-host:/home/temp/ Copy the folder & the files within /home/temp to the remote host. // CrashMAG. Using Rsync and SSH. Using Rsync and SSH Keys, Validating, and Automation This document covers using cron, ssh, and rsync to backup files over a local network or the Internet. Part of my goal is to ensure no user intervention is required when the computer is restarted (for passwords, keys, or key managers). I like to backup some logging, mail, and configuration information sometimes on hosts across the network and Internet, and here is a way I have found to do it.

You'll need these packages installed: rsyncopensshcron (or vixie-cron) Please note these instructions may be specific to Red Hat Linux versions 7.3, 9, and Fedora Core 3, but I hope they won't be too hard to adapt to almost any *NIX type OS. First, I'll define some variables. I want to make sure that 'rsync' over 'ssh' works at all before I begin to automate the process, so I test it first as thisuser: $ rsync -avz -e ssh remoteuser@remotehost:/remote/dir /this/dir/ and type in remoteuser@remotehost's password when prompted.

Configuring thishost #! Or: How to install WordPress manually. Linux/LiveCD - WIKI Τεχνικής Στήριξης. How To Install VMware Player On Ubuntu 11.04/Linux Mint 11. How to Open VMDK in VirtualBox. How to Check and Repair MySQL Tables Using Mysqlcheck. Maintaining MYSQL Databases Tutorial - Using mysqlcheck to Maintain MySQL Databases. Logcheck -- Logfile Scanner. Howto: Linux monitor logfiles. How to Setup a Firewall to Secure Your Linux Server. DenyHosts Frequently Asked Questions. DenyHosts. Fail2ban. Securing your ssh server. Tools for sysadmins. Top 20 OpenSSH Server Best Security Practices. Find Out My Linux Distribution Name and Version. SSHblock: An SSH Dictionary-Attack Blocker. 10.10 - How to update PlayOnLinux. Using rsync to mirror data between servers. Rsync(1. Wine - How to install MS Internet Explorer 7, 8 or 9. Rails - How to install IE9, IE8, or IE7 in ubuntu 12.04.LTS. WineHQ - Wine Application Database. Download IE App Compat VHD from Official Microsoft Download Center.

Main Page - IEs4Linux. Installing IE in ubuntu. How to Browse From the Linux Terminal With W3M. Noobs on Ubuntu and Windows, HD Wallpapers, Tutorials. Windows xp - How do I find the largest files and folders on a drive. Linux or Unix find and remove files with one find command on fly. Three Ways To Capture Screenshot In Ubuntu Linux.

Copy only newer files with rsync. #1068126: make rsync transfer only changed files. HowTo Use rsync For Transferring Files Under Linux or UNIX. Rsync parameters to copy new/modified files - Linux. SSH Public Key Based Authentication – Howto. Install latest Version of MySQL on Ubuntu. How to Fix MySQL Database (MyISAM / InnoDB)

Linux VS Windows: Υπάρχουν συγκρίσεις ανάμεσα τους; 21 of the Best Free Linux Text Editors. Installing Notepad++ in Linux | Debian Ubuntu Linux Solutions Blog. Komodo-Edit: Ένα σούπερ εναλλακτικό notepad++ για Linux! Πέντε σπουδαία συγγραφικά εργαλεία για Linux. Editor - What can I use as a Notepad++ alternative in Linux (Ubuntu) Δημιουργήστε αντίγραφα ασφαλείας των δεδομένων σας [Linux εφαρμογές για BackUp]

Mint