Go back to fronty page View most popular entries View latest additions Submit tutorials to UnixTutorials.info
UnixTutorials logo

Search results for How to restore deleted file on ext2

Unix+clones

The 'no-configuration, only-active-when-needed' SSH VPN

Post date: April 13, 2005, 03:04 Category: Network Views: 3192 Comments
Tutorial quote: So, we started thinking about how we might set up a VPN between the application server and our internal software mirror. The only requirement is that the VPN be initiated from the "inside-out" and that the connection is only active for as long as we need to use. In other words, it would only be active during an administration session. Ideally, it wouldn't be a lot of work to setup and tear down either.

SSH to the rescue...

Fortunately, SSH client and server come with support for this out of the box, requiring no additional software to be installed, and no configuration changes. On the server side, sshd, the setting "AllowTcpForwarding" defaults to "yes" unless your sshd_config file explicitly disables it. On the client side, all you have to do is request the forwarding.
Gentoo

Enterprise Volume Management System Mini How-To

Post date: April 13, 2005, 20:04 Category: System Views: 4238 Comments
Tutorial quote: Here is a rough write-up on how I installed Gentoo 1.4_rc1 on EVMS, with the exception of the root partition. If you choose so, see the EVMS Howto for instructions on how to mount your root file system on an EVMS volume. I felt the hassle of dealing with a EVMS (or LVM, for that matter) root outweighs its advantages.

This is a very basic setup I used for my laptop. I only needed it so I don't have to worry about getting the partition sizes right from the beginning and to be able to adjust them with ease in the future. I've been using LVM with success but I couldn't find a way to resize the volume group itself. This, the fact that afaik there is no support for LVM in kernel 2.5.x and a new laptop needing a fresh installation made me try EVMS.
Linux

Splitting Apache Logs With vlogger

Post date: June 17, 2007, 22:06 Category: Software Views: 3879 Comments
Tutorial quote: Vlogger is a little tool with which you can write Apache logs broken down by virtual hosts and days. With vlogger, we need to put just one CustomLog directive into our global Apache configuration, and it will write access logs for each virtual host and day. Therefore, you do not have to split Apache's overall access log into access logs for each virtual host each day, and you do not have to configure Apache to write one access log per virtual host (which could make you run out of file descriptors very fast).
Debian

Version Control For Your /etc Directory With etckeeper/Bazaar On Debian Squeeze

Post date: July 17, 2011, 18:07 Category: Miscellaneous Views: 3115 Comments
Tutorial quote: This tutorial explains how you can store the contents of your /etc directory in a version control system (VCS) with the help of etckeeper on Debian Squeeze. etckeeper hooks into Debian's package manager apt so that whenever you install/remove a package with apt, etckeeper will commit all changes to the /etc directory to your VCS; it also tracks file metadata such as permissions which is important for files such as /etc/shadow. Using etckeeper, you can go back to a previous version of /etc if an update has overwritten valuable configuration files. Not only will etckeeper track apt's changes to /etc, it will also do a daily auto-commit so that your manual changes go to VCS as well; in addition to that, you can do commits at any time manually.
Unix+clones

How To Look Like A UNIX Guru

Post date: October 30, 2006, 02:10 Category: Miscellaneous Views: 6212 Comments
Tutorial quote: UNIX is an extremely popular platform for deploying server software partly because of its security and stability, but also because it has a rich set of command line and scripting tools. Programmers use these tools for manipulating the file system, processing log files, and generally automating as much as possible.

If you want to be a serious server developer, you will need to have a certain facility with a number of UNIX tools; about 15. You will start to see similarities among them, particularly regular expressions, and soon you will feel very comfortable. Combining the simple commands, you can build very powerful tools very quickly--much faster than you could build the equivalent functionality in C or Java, for example.

This lecture takes you through the basic commands and then shows you how to combine them in simple patterns or idioms to provide sophisticated functionality like histogramming. This lecture assumes you know what a shell is and that you have some basic familiarity with UNIX.
Debian

Mplayer Configuration

Post date: April 4, 2006, 20:04 Category: Installing Views: 2804 Comments
Tutorial quote: MPlayer is a movie and animation player that supports a wide range of codecs and file formats, including MPEG 1/2/4, DivX 3/4/5, Windows Media 7/8/9, RealAudio/Video up to 9, Quicktime 5/6, and Vivo 1/2. It has many MMX/SSE(2)/3Dnow(Ex) optimized native audio and video codecs, but allows using XAnim's and RealPlayer's binary codec plugins, and Win32 codec DLLs. It has basic VCD/DVD playback functionality, including DVD subtitles, but supports many text-based subtitle formats too. For video output, nearly every existing interface is supported. It's also able to convert any supported files to raw/divx/mpeg4 AVI (pcm/mp3 audio), and even video grabbing from V4L devices.
Debian

Splitting lighttpd Logs With vlogger And Creating Statistics With Webalizer

Post date: January 31, 2008, 13:01 Category: Miscellaneous Views: 3779 Comments
Tutorial quote: Vlogger is a little tool with which you can write lighttpd logs broken down by virtual hosts and days. With vlogger, we need to put just one accesslog.filename directive into our global lighttpd configuration, and it will write access logs for each virtual host and day. Therefore, you do not have to split lighttpd's overall access log into access logs for each virtual host each day, and you do not have to configure lighttpd to write one access log per virtual host (which could make you run out of file descriptors very fast). At the end of this tutorial I will show you how to use webalizer to create statistics from the lighttpd access logs.
eBox

Using eBox As A Gateway: Firewall, Traffic Shaping, HTTP Proxy And More

Post date: June 11, 2010, 12:06 Category: Installing Views: 6558 Comments
Tutorial quote: eBox Platform is the Linux small business server that allows you to manage all your network services like firewall, DHCP, DNS, VPN, proxy, IDS, mail, file and printer sharing, VoIP, IM and much more. These functionalities are tightly integrated, automating most tasks, avoiding mistakes and saving time for system administrators. This article will show you step by step how to use eBox as a Gateway, featuring network configuration, load balancing between two Internet connections with WAN failover and multigateway rules for policy routing, traffic shaping, DHCP and DNS cache for the LAN network and HTTP proxy with different content filtering policies and antivirus.
Unix+clones

Streaming music with SlimServer

Post date: June 15, 2005, 16:06 Category: Network Views: 3924 Comments
Tutorial quote: Converting your CD collection into MP3 or another digital file format gives you the ability to enjoy the music on your computer and stream it all over the house and the Internet. To do the latter, however, you have to install and configure a streaming server on your computer. That might sound like a daunting task, but there is a streaming server application that makes the whole process pretty painless. SlimServer from Slim Devices is a cross-platform streaming server that runs on Windows, Linux, and Mac OS X and supports a wide range of formats, including AAC, AIFF, FLAC, Ogg Vorbis, MP3, WAV, and WMA. Although it was developed to stream music files to Slim Devices' Squeezebox2 hardware player, it works perfectly with any software MP3 player capable of working with network streams.
Ubuntu

Creating Snapshot-Backups with FlyBack On Ubuntu 7.10

Post date: February 3, 2008, 13:02 Category: Desktop Views: 3798 Comments
Tutorial quote: FlyBack is a tool similar to Apple's TimeMachine. It is intended to create snapshot-backups of selected directories or even your full hard drive. From the FlyBack project page: "FlyBack is a snapshot-based backup tool based on rsync. It creates successive backup directories mirroring the files you wish to backup, but hard-links unchanged files to the previous backup. This prevents wasting disk space while providing you with full access to all your files without any sort of recovery program. If your machine crashes, just move your external drive to your new machine and copy the latest backup using whatever file browser you normally use." This article shows how to install and use FlyBack on Ubuntu 7.10 (Gutsy Gibbon).
Web-based applications and online marketing solutions - LumoLink