<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Linux * Screw &#187; fedora</title>
	<atom:link href="http://www.linuxscrew.com/category/fedora/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxscrew.com</link>
	<description></description>
	<lastBuildDate>Fri, 04 Nov 2011 14:19:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2020</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Install nfdump and nfsen netflow tools in Linux</title>
		<link>http://www.linuxscrew.com/2011/02/23/install-nfdump-and-nfsen-netflow-tools-in-linux/</link>
		<comments>http://www.linuxscrew.com/2011/02/23/install-nfdump-and-nfsen-netflow-tools-in-linux/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 20:00:01 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[applications]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[howtos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1182</guid>
		<description><![CDATA[Using nfsen it is possible to view IP traffic statistics on Linux interfaces including the graphs showing data sent and received (see the screenshot to the right) as well as historical information about all data transfers. So after you&#8217;ve configured nfsen and nfdump to monitor traffic on certain Linux server or router you&#8217;ll be able [...]]]></description>
			<content:encoded><![CDATA[<p><a target="_blank" href="http://www.linuxscrew.com/wp-content/uploads/2011/02/Selection_033.png"><img src="http://www.linuxscrew.com/wp-content/uploads/2011/02/Selection_033-small.png" alt="" title="nfsen screenshot" width="300" height="162" class="alignright size-full wp-image-1190" /></a>Using <strong><a href="http://nfsen.sourceforge.net/">nfsen</a></strong> it is possible to view IP traffic statistics on <strong><a href="http://www.linuxscrew.com/category/linux/">Linux</a></strong> interfaces including the graphs showing data sent and received (see the screenshot to the right) as well as historical information about all data transfers. So after you&#8217;ve configured <strong>nfsen</strong> and <strong>nfdump</strong> to monitor traffic on certain <strong>Linux</strong> server or router you&#8217;ll be able to answer the following example questions: What IP was downloading data through 48161 last Wednesday? or How many bytes were sent to IP 8.8.8.8 via 53 port from Linux server? These are the only examples so <strong>nfdump</strong> and <strong>nfdump</strong> <a href="http://en.wikipedia.org/wiki/Netflow">netflow</a> tools gives you wide range of capabilities to monitor and analyze traffic on your <strong>Linux</strong> host.</p>
<p><strong>Netflow</strong> is the protocol developed by <a href="http://www.cisco.com">Cisco</a> to manage data about IP traffic. In a few words using Netflow you can collect data about all IP data send/received on multiple Cisco/Linux/BSD/Juniper hosts and send it to central Netflow collector that will show you the nice graphs and also will allow to have a complete picture of what data was sent/received on those hosts (including destination and source IP, port, bytes transfered, int/out interfaces etc). <strong>Nfdump</strong> is netflow collector. <strong>Nfsen</strong> is graphical tools for generating graphs and querying <strong>Nfdump</strong> for historical traffic reports. In this article you will see how to deploy all this staff in <strong>Linux</strong>.</p>
<p>Netflow probe is required to collect IP traffic data on <strong>Linux</strong> host. In general this piece of sofware will sit in background, store every network activity on certain network interface and then send collected data to Netflow collector nfdump. As Netflow probe I prefer <strong><a href="http://fprobe.sourceforge.net/">fprobe</a></strong> that is totally simple application that just does its job. If you feel that fprobe is not what you need or there are some problems with installing it you can try <a href="http://www.mindrot.org/projects/softflowd/">softflowd</a> that can do the same job.</p>
<p><em>Install fprobe from sources:</em></p>
<pre>cd /usr/src/
sudo -s
wget http://sourceforge.net/projects/fprobe/files/fprobe/1.1/fprobe-1.1.tar.bz2/download
tar -xvjf fprobe-1.1.tar.bz2
cd fprobe-1.1
./configure --prefix=/
make
make install
</pre>
<p><em>Point fprobe to one of network interfaces of <strong>Linux</strong> host and make it to send data to Netflow collector:</em></p>
<pre>fprobe -i eth0 11.22.33.44:23456</pre>
<p>In above example fprobe stores all data trasnfers on eth0 network interface and sends collected data to 11.22.33.44 host via 23456 UDP port (you may want to change firewall rules to make Netflow working over 23456 UDP port).</p>
<p><em>Install nfdump Netflow collector from sources:</em></p>
<pre>cd /usr/src/
sudo -s
wget http://sourceforge.net/projects/nfdump/files/stable/nfdump-1.6.2/nfdump-1.6.2.tar.gz/download
tar -xvzf nfdump-1.6.2.tar.gz
cd nfdump-1.6.2
./configure --prefix=/ --enable-nfprofile
make make
install</pre>
<p>When finished Netflow collector becomes ready so you can start capturing traffic from Netflow probe. If you don&#8217;t need any graphical tools like <strong>nfsen</strong> described below you can just start collector and save Netflow data in /var/neflow/ directory (THIS STEP IS OPTIONAL):</p>
<pre>/bin/nfcapd -w -D -p 23456 -B 200000 -S 1 -z -I Linux-Host-1-eth0 -l /var/netflow/</pre>
<p>In order to install <strong>nfsen</strong> from sources you have to get all its prerequisites, run one of below lines depending on what <strong>Linux</strong> distro you&#8217;re using (1st line is for <a href="http://www.linuxscrew.com/category/fedora/">Fedora</a>, <a href="http://www.linuxscrew.com/category/centos/">Centos</a>, Redhat while 2nd line is for <a href="http://www.linuxscrew.com/category/ubuntu/">Ubuntu</a>, <a href="http://www.linuxscrew.com/category/debian/">Debian</a>, Mint and similar):</p>
<pre>yum install rrdtool rrdtool-devel rrdutils perl-rrdtool -y</pre>
<p>or</p>
<pre>aptitude install rrdtool librrd2-dev librrd-dev librrd4 librrds-perl librrdp-perl</pre>
<p><em>Compile nfsen from sources:</em></p>
<pre>cd /usr/src/
sudo -s
wget http://sourceforge.net/projects/nfsen/files/stable/nfsen-1.3.5/nfsen-1.3.5.tar.gz/download
tar -xvzf nfsen-1.3.5.tar.gz
cd nfsen-1.3.5
cp etc/nfsen-dist.conf etc/nfsen.conf</pre>
<p>In order to continue the installation you should edit file <i>etc/nfsen.conf</i> to specify where to install <strong>nfsen</strong>, web server’s username (yes, you have to install apache, lighttpd, nginx or any other web server first), its document root directory etc. The major section of that config file is ‘Netflow sources’ that must list all hosts you&#8217;ve started Netflow probes at. Here is an example section for monitoring above <strong>Linux</strong> host:</p>
<pre>%sources = (
    'Linux-Host-eth0'    => { 'port' => '23456', 'col' => '#ff0000', 'type' => 'netflow' },
);</pre>
<p>When finished it&#8217;s time to actually install <strong>nfsen</strong> using installation script:</p>
<pre>./install.pl etc/nfsen.conf</pre>
<p>In case of successful installation you will be notified with corresponding congratulations message so it would be proper time to start <strong>nfsen</strong> daemon:</p>
<pre>/path/to/nfsen/bin/nfsen start</pre>
<p>Now you can open http://localhost/nfsen/nfsen.php at Linux host where <strong>nfsen</strong> was installed to start using this Netflow tool and see some graphs. Notice that it takes about 5-10 minutes to see first bars at the graphs, if the graphs are still empty you will have to check at least the following:</p>
<p>1. If fprobe is able to communicate to Netwflow collector and can send Netflow data to it (use <em>&#8216;ps ax | grep fprobe&#8217;</em> and Linux host being monitored and tcpdump tool at Netflow collector).<br />
2. If Netflow collector is started and can receive data from Netflow probe. Use <em>&#8216;ps ax | grep nfcapd&#8217;</em> and tcpdump at Netflow collector Linux host.</p>
<p>If you can add anything &#8212; feel free to drop a comment below.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2011/02/23/install-nfdump-and-nfsen-netflow-tools-in-linux/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to assign range of IP addresses in Linux?</title>
		<link>http://www.linuxscrew.com/2010/11/26/how-to-assign-range-of-ip-addresses-to-one-network-interface/</link>
		<comments>http://www.linuxscrew.com/2010/11/26/how-to-assign-range-of-ip-addresses-to-one-network-interface/#comments</comments>
		<pubDate>Fri, 26 Nov 2010 17:04:32 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[distros]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1136</guid>
		<description><![CDATA[As we know Linux allows to assign almost unlimited number of IP addresses to its interfaces. Such additional IPs applied to the same NIC are known as secondary IP addresses or just secondaries. Some time ago i faced a problem on how to apply about 500 IP addresses to one Linux box and then ensure [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.linuxscrew.com/wp-content/uploads/2010/11/fig1_ip_address.png"><img src="http://www.linuxscrew.com/wp-content/uploads/2010/11/fig1_ip_address.png" alt="ip address example" title="ip address example" width="300" height="90" class="alignright size-full wp-image-1150" /></a>As we know Linux allows to assign almost unlimited number of IP addresses to its interfaces. Such additional IPs applied to the same NIC are known as secondary IP addresses or just secondaries. Some time ago i faced a problem on how to apply about 500 IP addresses to one Linux box and then ensure that all of them get online after Linux reboots. There are several ways to accomplish this taks so i would like to share them all.</p>
<h4>Shell script with ifconfig commands</h4>
<p>This is one of the most inefficient ways to get many IP addresses applied to one network interface. Anyways it allows to create as many aliases for the interface as you like so you should create shell script and execute it every time Linux boots.</p>
<pre>touch /path/to/script.sh
chmod +x /path/to/script.sh
vi /path/to/script.sh
</pre>
<p>Now you should add there shell lines which will apply IP addresses, e.g. the following one applies 60 IP addresses to <em>eth0</em> interface:</p>
<pre>for n in {3..63};  do ifconfig eth0:${n} 10.10.10.${n} netmask 255.255.255.0 up; done</pre>
<p>If you type &#8216;ifconfig&#8217; now you will very long output like this one:</p>
<pre>
eth0:3  Link encap:Ethernet  HWaddr 00:50:8D:D1:24:DB
          inet addr:10.10.10.3  Bcast:10.10.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:10 Base address:0x2000 

eth0:4  Link encap:Ethernet  HWaddr 00:50:8D:D1:24:DB
          inet addr:10.10.10.4  Bcast:10.10.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:10 Base address:0x2000

...

eth0:63  Link encap:Ethernet  HWaddr 00:50:8D:D1:24:DB
          inet addr:10.10.10.63  Bcast:10.10.10.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:10 Base address:0x2000
</pre>
<p>If you decide to delete those IPs you can run the following line as a remedy:</p>
<pre>for n in {3..63};  do ifconfig eth0:${n} 0.0.0.0 &#038;> /dev/null; done</pre>
<p>Once you finished editing <em>/path/to/script.sh</em> script you should add it to startup, so put the line <em>/path/to/script.sh</em> into <em>/etc/rc.local</em> file that Linux executes every time it boots. Please notice that in various distributions this file may be missing so consult with distro&#8217;s docs to get where it is stored.</p>
<h4>Redhat/Centos/Fedora network scripts</h4>
<p>Users of these Linux distributions can apply ranges of IP addresses using <em>ifcfg-eth0-range0</em> files which are read during initialization of network interfaces during boot up process. The following example will make Linux to apply 200 IP addresses to <em>eth1</em> during booting:</p>
<pre>[root ~]#cat /etc/sysconfig/network-scripts/ifcfg-eth1-range0

IPADDR_START=192.168.1.1
IPADDR_END=192.168.1.200
CLONENUM_START=10</pre>
<p><em>CLONENUM_START</em> value specifies starting identifier of alias that will be applied to eth1 interface, in above example the first <em>192.168.1.1</em> will be assigned to <em>eth1:10</em> alias. The last IP of the range <em>192.168.1.200</em> will be applied to <em>eth:210</em> sub-interface. This is totally easy approach.</p>
<pre>Loopback interface</pre>
<p>Did you know that by one line presented below you assign 1022 virtual IP addresses to your Linux system? Here it is:</p>
<pre>ifconfig lo:0 10.0.0.1/22</pre>
<p>Now you can make sure of this by pinging IPs from that range (10.0.0.1 &#8211; 10.0.3.254).</p>
<pre>[root ~]#ping 10.0.0.1 -c 1
PING 10.0.0.1 (10.0.0.1) 56(84) bytes of data.
64 bytes from 10.0.0.1: icmp_seq=1 ttl=64 time=0.063 ms

--- 10.0.0.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.063/0.063/0.063/0.000 ms

...

[root ~]#[root@whitehorse /]# ping 10.0.3.254 -c 1
PING 10.0.0.1 (10.0.3.254) 56(84) bytes of data.
64 bytes from 10.0.3.254: icmp_seq=1 ttl=64 time=0.063 ms

--- 10.0.3.254 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.063/0.063/0.063/0.000 ms</pre>
<p>If you still feel that the first suggested way meets your requirements better than the third one please read more about <a href="http://en.wikipedia.org/wiki/Loopback">loopback interface at wikipedia</a> &#8212; loopbacks are much more useful than aliases in most cases.</p>
<p>Hope it helps!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2010/11/26/how-to-assign-range-of-ip-addresses-to-one-network-interface/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to monitor traffic at Cisco router using Linux (Netflow)</title>
		<link>http://www.linuxscrew.com/2010/11/25/how-to-monitor-traffic-at-cisco-router-using-linux-netflow/</link>
		<comments>http://www.linuxscrew.com/2010/11/25/how-to-monitor-traffic-at-cisco-router-using-linux-netflow/#comments</comments>
		<pubDate>Thu, 25 Nov 2010 21:16:38 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[applications]]></category>
		<category><![CDATA[cisco]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[distros]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[howtos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1109</guid>
		<description><![CDATA[By default Cisco IOS doesn&#8217;t provide any traffic monitoring tools like iftop or iptraff available in Linux. While there are lots of proprietary solutions for this purpose including Cisco Netflow Collection, you are free to choose nfdump and nfsen open source software to monitor traffic of one or many Cisco routers and get detailed monitoring [...]]]></description>
			<content:encoded><![CDATA[<p>By default <strong>Cisco IOS</strong> doesn&#8217;t provide any <strong>traffic monitoring</strong> tools like <a href="http://www.ex-parrot.com/pdw/iftop/">iftop</a> or <a href="http://iptraf.seul.org/shots/iptraf-iptm1.gif">iptraff</a> available in <strong>Linux</strong>. While there are lots of proprietary solutions for this purpose including <a href="http://www.cisco.com/en/US/products/sw/netmgtsw/ps1964/index.html">Cisco Netflow Collection</a>, you are free to choose <a href="http://nfdump.sourceforge.net/"><strong>nfdump</strong></a> and <strong><a href="http://nfdump.sourceforge.net/">nfsen</a></strong> open source software to monitor traffic of one or many Cisco routers and get detailed monitoring data through your Linux command line or as graphs at absolutely no cost.</p>
<p>Below is beginner&#8217;s guide that helps to quickly deploy netflow collector and visualizer under Linux and impress everybody by cute and descriptive graphs like these:</p>
<p><center><img src="http://www.linuxscrew.com/wp-content/uploads/2010/11/nfsen1.png" alt="nfsen screen" title="nfsen screen" width="500" height="307" class="aligncenter size-full wp-image-1115" /></center></p>
<p>It is highly recommended to look through Netflow basics to get brief understanding of how it works before configuring anything. For example, <a href="http://www.cisco.com/en/US/prod/collateral/iosswrel/ps6537/ps6555/ps6601/prod_white_paper0900aecd80406232.html">here is Cisco&#8217;s document</a> that gives complete information about <a href="http://en.wikipedia.org/wiki/Netflow">Netflow</a>. In a few words to get started you should enable netflow exporting on Cisco router and point it to netflow collector running under Linux. Exported data will contain complete information about all packets the router has received/sent so nfdump and nfsen working under Linux will collect it and visualize to present you the graph like above example.</p>
<p><strong>Cisco Router Setup</strong></p>
<p>1. Enable flow export on ALL Cisco router&#8217;s interfaces that send and receive some traffic, here is an example:</p>
<pre>Router1# configure terminal
Router1(config)#interface FastEthernet 0/0
Router1(config-if)#ip route-cache flow input
Router1(config-if)#interface FastEthernet 0/1
Router1(config-if)#ip route-cache flow input
...</pre>
<p>2. Setup netflow export:</p>
<pre>Router1# configure terminal
Router1(config)#ip flow-export source FastEthernet0/0
Router1(config)#ip flow-export source FastEthernet0/1
Router1(config)#ip flow-export version 5
Router1(config)#ip flow-export destination 1.1.1.1 23456</pre>
<p>Where <em>1.1.1.1</em> is IP address of Linux host where you plan to collect and analyze netflow data. <em>23456</em> is port number of netflow collector running on Linux.</p>
<p><b>Linux Setup</b></p>
<p>1. Download and install nfdump.</p>
<pre>cd /usr/src/
wget http://sourceforge.net/projects/nfdump/files/stable/nfdump-1.6.2/nfdump-1.6.2.tar.gz/download
tar -xvzf nfdump-1.6.2.tar.gz
cd nfdump-1.6.2
./configure --prefix=/ --enable-nfprofile
make
make install
</pre>
<p>2. Download and install nfsen.</p>
<p>It requires web server with php module and <a href="http://www.mrtg.org/rrdtool/">RRD</a> so make sure you have the corresponding packages installed. I hope you&#8217;re running httpd with php already so below are rrd/perl related packages installation hints only.</p>
<p>Fedora/Centos/Redhat users should type this:</p>
<pre>yum install rrdtool rrdtool-devel rrdutils perl-rrdtool</pre>
<p>Ubuntu/Debian:</p>
<pre>aptitude install rrdtool librrd2-dev librrd-dev librrd4 librrds-perl librrdp-perl</pre>
<p>If you run some exotic Linux distribution just install everything that is related to rrd + perl.</p>
<p>At last, nfsen installation:</p>
<pre>cd /usr/src/
wget http://sourceforge.net/projects/nfsen/files/stable/nfsen-1.3.5/nfsen-1.3.5.tar.gz/download
tar -xvzf nfsen-1.3.5.tar.gz
cd nfsen-1.3.5
cp etc/nfsen-dist.conf etc/nfsen.conf
</pre>
<p>In order to continue you should edit file <em>etc/nfsen.conf</em> to specify where to install nfsen, web server&#8217;s username, its document root directory etc. That file is commented so there shouldn&#8217;t be serious problems with it.</p>
<p>One of the major sections of <em>nfsen.conf</em> is &#8216;Netflow sources&#8217;, it should contain exactly the same port number(s) you&#8217;ve configured Cisco with &#8212; recall &#8216;ip flow-export &#8230;&#8217; line where we&#8217;ve specified port 23456. E.g.</p>
<pre>%sources = (
    'Router1'    => { 'port' => '23456', 'col' => '#0000ff', 'type' => 'netflow' },
);</pre>
<p>Now it&#8217;s time to finish the installation:</p>
<pre>./install.pl etc/nfsen.conf</pre>
<p>In case of success you&#8217;ll see corresponding notification after which you will have to start nfsen daemon to get the ball rolling:</p>
<pre>/path/to/nfsen/bin/nfsen start</pre>
<p>From this point nfdump started collecting netflow data exported by Cisco router and nfsen is hardly working to visualize it &#8212; just open web browser and go to <em>http://linux_web_server/nfsen/nfsen.php</em> to make sure. If you see empty graphs just wait for a while to let nfsen to collect enough data to visualize it.</p>
<p>That&#8217;s it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2010/11/25/how-to-monitor-traffic-at-cisco-router-using-linux-netflow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The easiest way to split and merge pdf files in Ubuntu</title>
		<link>http://www.linuxscrew.com/2010/06/18/the-easiest-way-to-split-and-merge-pdf-files-in-ubuntu/</link>
		<comments>http://www.linuxscrew.com/2010/06/18/the-easiest-way-to-split-and-merge-pdf-files-in-ubuntu/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 06:09:17 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1087</guid>
		<description><![CDATA[The easiest way to split, merge or edit pdf files in Ubuntu is to use pdftk utility. This rather old (latest version was released in 2006) but still simple and powerful program can be installed in Ubuntu (Debian or any deb-family Linux distribution) by the following command in terminal:
sudo aptitude install pdftk
(if you run Fedora, [...]]]></description>
			<content:encoded><![CDATA[<p>The easiest way to split, merge or edit pdf files in Ubuntu is to use <a href="http://www.accesspdf.com/pdftk/">pdftk utility</a>. This rather old (latest version was released in 2006) but still simple and powerful program can be installed in Ubuntu (Debian or any deb-family Linux distribution) by the following command in terminal:</p>
<p><code>sudo aptitude install pdftk</code><br />
(if you run Fedora, RedHat or CentOS use this one: <code>sudo yum install pdftk</code>)</p>
<p><strong>Split large pdf into many one-page files:</strong></p>
<p><code>pdftk largepdfile.pdf burst</code></p>
<p>(as the result you will get many small files like pg_0001.pdf, pg_0002.pdf and so on).</p>
<p><strong>Merge files into one PDF file:</strong></p>
<p><code>pdftk *.pdf cat output onelargepdfile.pdf</code></p>
<p>pdftk is extremely powerful and makes it possible to do almost anything with input pdf files. Thus above two commands are just examples showing how to split and merge pdf files in Ubuntu easily.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2010/06/18/the-easiest-way-to-split-and-merge-pdf-files-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>16 GB encrypted candy file</title>
		<link>http://www.linuxscrew.com/2010/05/05/16-gb-encrypted-candy/</link>
		<comments>http://www.linuxscrew.com/2010/05/05/16-gb-encrypted-candy/#comments</comments>
		<pubDate>Wed, 05 May 2010 15:01:50 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[backup]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[distros]]></category>
		<category><![CDATA[docs]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=994</guid>
		<description><![CDATA[Update: as far as cryptoloop is vulnerable and is not maintained I don&#8217;t recommend using below approach for creating encrypted for for those of you who require strong security. Use truecrypt to create encrypted filesystem within a file instead.
Today it came to my mind that it is time to make sensitive information stored on my [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;"><strong>Update</strong></span>: as far as <a href="http://www.spiritus-temporis.com/cryptoloop/">cryptoloop</a> is vulnerable and is not maintained I don&#8217;t recommend using below approach for creating encrypted for for those of you who require strong security. Use <a href="http://www.linuxscrew.com/2010/05/08/create-encrypted-filesystem-within-a-file-truecrypt-way/">truecrypt to create encrypted filesystem within a file</a> instead.</p>
<p><img class="alignright" src="/files/passwords.txt.png" alt="passwords.txt" />Today it came to my mind that it is time to make sensitive information stored on my usb flash drive encrypted but still transportable and easy to use. But I don&#8217;t want to have whole my 32 GB usb drive fully encrypted using <em><a href="http://www.truecrypt.org/">truecrypt</a></em> or something similar. It is just toooo slow. I also don&#8217;t want to use <a href="http://en.wikipedia.org/wiki/GNU_Privacy_Guard">GPG</a> for uncompressing files and directories every time I would like to read them and then create new GPG compressed file every time I save changes. This eats too much of my time and system resources. At the same time it is necessary to be able to use  that usb drive under windows, mac, linux whatever (read/write files) but still have my directory structure with <strong>sensitive files encrypted</strong>. Here is the solution: create encrypted <strong>filesystem within a file</strong> named, say, 16GB.candy.bin that could be stored on regular windows formatted usb flash drive and then mounted under Linux <strong>using the password</strong>.</p>
<p>When it becomes necessary I can mount that 16GB.candy.bin as the regular ext3 filesystem with all those stuff like permissions, ownership etc. that is available on ext3 but not in <a href="http://en.wikipedia.org/wiki/File_Allocation_Table">FAT</a> or <a href="http://en.wikipedia.org/wiki/Ntfs">NTFS</a>. On my windows formatted flash drive candy takes only 16 GB so I can use the rest of space to store not so sensitive information like mp3, movies or photos. Moreover I <strong> </strong> on windows or linux to read it.</p>
<p>Let&#8217;s create that 16GB.candy.bin file with encrypted <strong><a href="http://en.wikipedia.org/wiki/Ext3">ext3</a></strong> filesystem (read below explanations below carefully before just to copy/paste commands into CLI):</p>
<p><code>[root@artemn root]# cd /path/to/candy/</p>
<p>[root@artemn root]# modprobe cryptoloop</p>
<p>[root@artemn root]# modprobe aes</p>
<p>[root@artemn root]# dd if=/dev/urandom of=16GB.candy.bin bs=1048576 count=16000</p>
<p>[root@artemn root]# losetup -e aes /dev/loop0 16GB.candy.bin</p>
<p>[root@artemn root]# mkfs.ext3 /dev/loop0</p>
<p>[root@artemn root]# tune2fs -i 0 -c 0 /dev/loop0</code></p>
<p>Here are some points: using above commands we create encrypted file of 16 GB so if you need to have more or less just change &#8220;count=16000&#8243; in <em>dd</em> line. &#8220;count=16000&#8243; means 16GB so &#8220;count=20&#8243; means 20MB. Path &#8216;/path/to/candy/&#8217; is for example only so you should change it to real directory that is able to host encrypted file (16 GB in above example). Command <em>losetup</em> is present in most Linux distributions (btw I recommend <strong><a href="http://www.ubuntu.com">Ubuntu</a> </strong>especially newly released <a href="http://en.wikipedia.org/wiki/Lucid_Lynx#Ubuntu_10.04_LTS_.28Lucid_Lynx.29">Lucid Lynx</a>) but if it is not use your disro&#8217;s packet manager to install it or compile from sources (for super geeks only, <a href="http://en.wikipedia.org/wiki/Stallman">Mr. Stallman</a> if you read this article &#8212; Hello). Reader, you can replace &#8220;/dev/urandom&#8221; in <em>dd</em> line with &#8220;/dev/zero&#8221; that will make that command to finish faster but will lower security level of resulting file (read about <a href="http://en.wikipedia.org/wiki/Advanced_Encryption_Standard">AES</a> for better understanding). You will need to enter the password when running <em>losetup</em> command so make sure it safe and long enough like &#8216;6U2sAsR37Hn8122dGsaPrew1twt&#8217; but not &#8216;abc123&#8242; or &#8216;iloveyou&#8217;.</p>
<p>Once commands are done you will get 16GB.candy.bin containing encrypted ext3 filesystem. You can store this file where ever you want, say, on a flash drive. If you loose it nobody won&#8217;t be able to open it until he (or she!) <a href="http://aceontech.com/2008/03/29/to-crack-17-character-aes-password-100-years-and-1-billion-dollars/">cracked AES encryption</a> (use long passwords to prevent this). As the next step it is required to mount filesystem and store some files/directories in it:</p>
<p><code>[root@artemn root]# mkdir -p /mnt/candy</p>
<p>[root@artemn root]# cd /path/to/candy/</p>
<p>[root@artemn root]# mount -t ext3 -o loop,encryption=aes 16GB.candy.bin /mnt/candy</p>
<p>[root@artemn root]# cd /mnt/candy</p>
<p>[root@artemn root]# #save files, edit them, view or anything you want</p>
<p>[root@artemn root]# cd /</p>
<p>[root@artemn root]# umount /mnt/candy</code></p>
<p>When you unmount 16GB.candy.bin the changes are already saved there so it&#8217;s not required to compress and encrypt anything unlike with GPG.</p>
<p>P.S. This post is inspired by <a href="http://nst.sourceforge.net/nst/docs/user/ch04s04.html">Loopback tricks</a> article. Thanks to the author. Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2010/05/05/16-gb-encrypted-candy/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Top 3 Linux HTML editors</title>
		<link>http://www.linuxscrew.com/2009/07/28/visual-linux-html-editor/</link>
		<comments>http://www.linuxscrew.com/2009/07/28/visual-linux-html-editor/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 14:48:23 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xfce]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=842</guid>
		<description><![CDATA[This post is dedicated to quality html editors for Linux and Ubuntu operating system in particular. You may think that nowadays nobody uses offline editors as there are so many content management systems (CMS) like Drupal (my favourite one), Wordpress, Joomla etc. which contain embedded visual html editors. But today I made sure myself that [...]]]></description>
			<content:encoded><![CDATA[<p>This post is dedicated to quality <strong>html editors for Linux</strong> and <strong>Ubuntu</strong> operating system in particular. You may think that nowadays nobody uses offline editors as there are so many content management systems (CMS) like <a href="http://www.drupal.org">Drupal</a> (my favourite one), <a href="http://www.wordpress.org">Wordpress</a>, <a href="http://www.joomla.org/">Joomla</a> etc. which contain embedded <strong>visual html editors</strong>. But today I made sure myself that sometimes it&#8217;s real pain to draw a 10&#215;20 table using Wordpress&#8217;s editor&#8230;</p>
<p>Text editors like <em>gedit</em>, <em>emacs</em>, <em>nano</em> or <em>vi</em> will certainly live forever but thankfully there are numerous <strong>visual html editors</strong> for my Ubuntu <img src='http://www.linuxscrew.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  They are sometimes called <strong>WYSIWYG editors</strong>, it mean &#8220;What You See Is What You Get&#8221;.</p>
<p>1. <strong><a href="http://quanta.kdewebdev.org/" class="broken_link" >Quanta Plus</a></strong></p>
<p>This is <strong>KDE/Qt visual html editor</strong> available as binary package for numerous Linux distributions<br />
including Debian and Ubuntu. From developers&#8217; site:</p>
<blockquote><p><img class="alignright" title="Quanta Plus Logo" src="http://www.linuxscrew.com/files/Quanta_logo.png" alt="" width="48" height="48" />Quanta Plus is a highly stable and feature rich web development environment.<br />
The vision with Quanta has always been to start with the best architectural<br />
foundations, design for efficient and natural use and enable maximal user<br />
extensibility.</p></blockquote>
<p>In order to install it in Debian/Ubuntu run the following CLI command:</p>
<p><code>sudo apt-get install quanta</code></p>
<p>Fedora, Centos, Redhat users type this:</p>
<p><code>sudo yum install kdewebdev</code></p>
<p>I found Quanta html editor extremely useful, this is just an outstanding application of this<br />
field.</p>
<p>2. <strong><a href="http://bluefish.openoffice.nl/">Bluefish</a></strong></p>
<blockquote><p><img class="alignright" title="Bluefish HTML editor logo" src="http://www.linuxscrew.com/files/bluefish_logo.png" alt="Bluefish HTML editor logo" />Bluefish is a powerful editor targeted towards programmers and webdesigners,<br />
with many options to write websites, scripts and programming code. Bluefish<br />
supports many programming and markup languages, and it focuses on editing<br />
dynamic and interactive websites.</p></blockquote>
<p>I found this really <strong>versatile html editor</strong>. Besides <strong>HTML/CSS</strong> it handles <strong>C</strong>,<br />
<strong>Java, Perl, Python, XML</strong> and others.</p>
<p>Ubuntu and Debian users type:</p>
<p><code>sudo apt-get install bluefish</code></p>
<p>Fedora/Redhat/Centos:</p>
<p><code>sudo yum install bluefish</code></p>
<p>Gentoo:</p>
<p><code>emerge bluefish</code></p>
<p>3. <strong><a href="http://www.screem.org/">Screem</a></strong></p>
<blockquote><p><img class="alignright" title="Screem HTML editor logo" src="http://www.linuxscrew.com/files/screem-logo.png" alt="" width="253" height="64" />SCREEM is a web development environment. It&#8217;s purpose is to increase<br />
productivity when constructing a site, by providing quick access to commonly<br />
used features. While it is written for use with the GNOME desktop environment<br />
in mind it does not specifically require you to be running it, just have the<br />
libraries installed.</p></blockquote>
<p>This is one of the most user-friendly <strong>Gnome HTML editor</strong>. Its simple interface<br />
brings extremely powerfull HTML editor so if like minimalistic design Screem<br />
is your choice.</p>
<p>Update: below is the bottom line from <a href="http://www.linux.com">Linux.com</a>&#8217;s review of <a href="http://linux.com/archive/feature/130601" class="broken_link" >three Linux HTML editors</a> (Quanta Plus, Blowfish,<br />
Screem). I found that review after I wrote this post.</p>
<blockquote>
<ul>
<li>If you use <a href="http://www.gnome.org">GNOME</a>, use Screem. It&#8217;s a fast, simple, and powerful tool for web editing. However, it does not have the large feature sets that Bluefish and Quanta Plus have, especially for languages other than those directly related to Web page editing.</li>
<li>If you use GNOME and need the more powerful features of Quanta Plus, load the required libraries and run it.</li>
<li>If you use <a href="http://www.kde.org">KDE</a> and want a code editor, choose Quanta Plus. Ignore the WYSIWYG capabilities and take advantage of the tremendous editing capabilities, especially for CSS style sheets.</li>
<li>If you use <a href="http://www.xfce.org">Xfce</a>, Quanta Plus should run fine. Screem would still require loading additional libraries.</li>
<li>Finally, if you use GNOME, find that Screem does not meet all your needs, and you don&#8217;t want to bother with loading the KDE-native Quanta Plus, then load Bluefish. It is nearly as capable as Quanta Plus, but will run well without a lot of fussing with libraries.</li>
</ul>
</blockquote>
<p><!-- INFOLINKS_OFF -->
<p style="padding-top: 25px; padding-bottom: 25px;"><font size="-2"><strong>Information improvisation: </strong>Pass your <a href="http://www.actualtests.com/exam-70-293.htm">70-293</a> exams in first try by using our guaranteed <a href="http://www.certkiller.com/exam-CISSP.htm">cissp exam questions</a> &#038; <a href="http://www.examsheets.com/exam/HP0-Y31.htm">HP0-Y31</a> tutorials and best quality <a href="http://www.testkingsite.com/microsoft/70-686.html">70-686</a> dumps along with <a href="http://www.testkingprep.com/HP0-S23.html" class="broken_link" >HP0-S23</a>.<br />
</font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2009/07/28/visual-linux-html-editor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mount remote filesystem via ssh protocol using sshfs and fuse [Fedora/RedHat/Debian/Ubuntu way]</title>
		<link>http://www.linuxscrew.com/2009/03/10/mount-remote-filesystem-via-ssh-protocol-using-sshfs-and-fuse-fedoraredhatdebianubuntu-way/</link>
		<comments>http://www.linuxscrew.com/2009/03/10/mount-remote-filesystem-via-ssh-protocol-using-sshfs-and-fuse-fedoraredhatdebianubuntu-way/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 17:56:18 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[docs]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[howtos]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=674</guid>
		<description><![CDATA[




Imagine the following situation: you have to compile some Linux/Unix application or kernel module that requires kernel source present at your hard drive, say, in /usr/src/kernels/kernel-2.6.21-i386/ or elsewhere. But there is not enough disk space to copy these sources or install kernel-devel or linux-source packages (in Fedora/RedHat or Ubuntu/Debian distros respectively)&#8230; Sounds familiar? Believe me, [...]]]></description>
			<content:encoded><![CDATA[<div class="mceTemp">
<dl id="attachment_673" class="wp-caption alignright" style="width: 138px;">
<dt class="wp-caption-dt"><img class="size-full wp-image-673" title="sshfs" src="http://www.linuxscrew.com/wp-content/uploads/2009/03/sshfs.png" alt="sshfs" width="128" height="128" /></dt>
</dl>
</div>
<p>Imagine the following situation: you have to compile some Linux/Unix application or kernel module that requires kernel source present at your hard drive, say, in /usr/src/kernels/kernel-2.6.21-i386/ or elsewhere. But there is not enough disk space to copy these sources or install kernel-devel or linux-source packages (in Fedora/RedHat or Ubuntu/Debian distros respectively)&#8230; Sounds familiar? Believe me, sometimes it happens <img src='http://www.linuxscrew.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>As a solution you can <strong>mount</strong> the directory of some remote PC that contains needed kernel source. It can be done via several protocols like smb, ftp etc. In this article we will mount remote directory using <strong>ssh protocol</strong> that is one the most popular for remote and secure access to <strong>Linux</strong> boxes over the network.</p>
<p>Below are the steps which should be taken to get the ball rolling. We need two packages: <strong>sshfs</strong> and <strong>fuse-utils</strong>.</p>
<p><img class="size-full wp-image-683 alignright" title="ssh" src="http://www.linuxscrew.com/wp-content/uploads/2009/03/ssh.jpg" alt="ssh" width="264" height="415" /><strong>1.</strong> Install necessary packages:</p>
<p>a. Ubuntu/Debian:</p>
<p><code>sudo aptitude install fuse-utils sshfs</code></p>
<p>b. Fedora/Centos/RedHat:</p>
<p><code>yum install fuse-sshfs fuse fuse-libs</code></p>
<p>c. Other Linux: download and compile sshfs/fuse from <a href="http://fuse.sourceforge.net/sshfs.html">sources</a></p>
<p><strong>2.</strong> Check that kernel module <code>fuse</code> is loaded:</p>
<p><code>lsmod | grep fuse</code></p>
<p>There should be the line containing &#8220;fuse&#8221; in the output (of not try <code>modprobe fuse</code>).</p>
<p><strong>3.</strong> Mount remote filesystem using something like this (two commands):</p>
<p><code>mkdir -p /mnt/sshfs/</code><br />
<code>sshfs remote-user@remote-machine:/some/directory /mnt/sshfs</code></p>
<p>where <em>remote-user</em> is the username allowed to login <em>remote-machine</em> via ssh protocol. It will ask you to type the password so just type it and press return <img src='http://www.linuxscrew.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>4.</strong> That&#8217;s it. Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2009/03/10/mount-remote-filesystem-via-ssh-protocol-using-sshfs-and-fuse-fedoraredhatdebianubuntu-way/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>Christmas… Linux… Wallpapers…</title>
		<link>http://www.linuxscrew.com/2008/12/23/christmas%e2%80%a6-linux%e2%80%a6-wallpapers%e2%80%a6/</link>
		<comments>http://www.linuxscrew.com/2008/12/23/christmas%e2%80%a6-linux%e2%80%a6-wallpapers%e2%80%a6/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 15:40:35 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[humour]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[suse]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=638</guid>
		<description><![CDATA[As it comes from the title below is a small set of Christmas holidays wallpapers which should fit any Ubuntu, Fedora, Debian, Suse, Mandriva, Slackware, RedHat, Centos desktop&#8230;































]]></description>
			<content:encoded><![CDATA[<p>As it comes from the title <a href="http://www.linuxscrew.com/2008/12/23/christmas%e2%80%a6-linux%e2%80%a6-wallpapers%e2%80%a6/#more-638">below</a> is a small set of <strong>Christmas</strong> holidays wallpapers which should fit any <strong>Ubuntu</strong>, Fedora, <strong>Debian</strong>, Suse, Mandriva, Slackware, RedHat, Centos desktop&#8230;</p>
<p style="text-align: center;"><a href="http://www.linuxscrew.com/2008/12/23/christmas%e2%80%a6-linux%e2%80%a6-wallpapers%e2%80%a6/#more-638"><img src="http://linuxscrew.com/files/wallpapers/2009/HappyHolidays.gif" alt="happy linux holidays!" /></a></p>
<p><span id="more-638"></span></p>
<p style="text-align: center;">
<table border="0">
<tbody>
<tr>
<td><a href="http://www.linuxscrew.com/files/wallpapers/2009/01463_asmallgiftforxmas_1280x800.jpg" target="_blank"><img title="linux christmas wallpaper" src="http://www.linuxscrew.com/files/wallpapers/2009/01463_asmallgiftforxmas_1280x800.jpg" alt="linux christmas wallpaper" width="200" height="150" /></a></td>
<td><a href="http://www.linuxscrew.com/files/wallpapers/2009/linux christmas.jpg" target="_blank"><img title="linux christmas wallpaper" src="http://www.linuxscrew.com/files/wallpapers/2009/linux christmas.jpg" alt="linux christmas wallpaper" width="200" height="150" /></a></td>
</tr>
<tr>
<td><a href="http://www.linuxscrew.com/files/wallpapers/2009/01453_xmasvolcano_1280x800.jpg" target="_blank"><img title="linux christmas wallpaper" src="http://www.linuxscrew.com/files/wallpapers/2009/01453_xmasvolcano_1280x800.jpg" alt="linux christmas wallpaper" width="200" height="150" /></a></td>
<td><a href="http://www.linuxscrew.com/files/wallpapers/2009/01746_merrychristmas_1280x1024.jpg" target="_blank"><img title="linux christmas wallpaper" src="http://www.linuxscrew.com/files/wallpapers/2009/01746_merrychristmas_1280x1024.jpg" alt="linux christmas wallpaper" width="200" height="150" /></a></td>
</tr>
<tr>
<td><a href="http://www.linuxscrew.com/files/wallpapers/2009/butuauraum7.jpg" target="_blank"><img title="ubuntu linux christmas wallpaper" src="http://www.linuxscrew.com/files/wallpapers/2009/butuauraum7.jpg" alt="ubuntu linux christmas wallpaper" width="200" height="150" /></a></td>
<td><a href="http://www.linuxscrew.com/files/wallpapers/2009/orangaurorajx2.jpg" target="_blank"><img title="ubuntu linux christmas wallpaper" src="http://www.linuxscrew.com/files/wallpapers/2009/orangaurorajx2.jpg" alt="ubuntu linux christmas wallpaper" width="200" height="150" /></a></td>
</tr>
<tr>
<td><a href="http://www.linuxscrew.com/files/wallpapers/2009/linux-christmas.jpg" target="_blank"><img title="tux linux christmas wallpaper" src="http://www.linuxscrew.com/files/wallpapers/2009/linux-christmas.jpg" alt="tux linux christmas wallpaper" width="200" height="150" /></a></td>
<td><a href="http://www.linuxscrew.com/files/wallpapers/2009/ubuntu-christmas-1024x768.png" target="_blank"><img title="ubuntu linux christmas wallpaper" src="http://www.linuxscrew.com/files/wallpapers/2009/ubuntu-christmas-1024x768.png" alt="ubuntu linux christmas wallpaper" width="200" height="150" /></a></td>
</tr>
<tr>
<td><a href="http://linuxscrew.com/files/wallpapers/2009/christmas%20hq%20wallpapers%20(5).jpg" target="_blank"><img title="linux christmas wallpaper" src="http://linuxscrew.com/files/wallpapers/2009/christmas%20hq%20wallpapers%20(5).jpg" alt="linux christmas wallpaper" width="200" height="150" /></a></td>
<td><a href="http://www.linuxscrew.com/files/wallpapers/2009/christmas-tree.jpg" target="_blank"><img title="linux christmas wallpaper" src="http://www.linuxscrew.com/files/wallpapers/2009/christmas-tree.jpg" alt="linux christmas wallpaper" width="200" height="150" /></a></td>
</tr>
<tr>
<td align="center"><a href="http://www.linuxscrew.com/files/wallpapers/2009/adni18_Linux_Christmas.jpg" target="_blank"><img title="linux christmas wallpaper" src="http://www.linuxscrew.com/files/wallpapers/2009/adni18_Linux_Christmas.jpg" alt="linux christmas wallpaper" width="200" height="150" /></a></td>
<td align="center"><a href="http://linuxscrew.com/files/wallpapers/2009/Fx_MerryChristmas_Sonickydon_KenSaunders1024x768.png" target="_blank"><img title="linux firefox christmas wallpaper" src="http://linuxscrew.com/files/wallpapers/2009/Fx_MerryChristmas_Sonickydon_KenSaunders1024x768.png" alt="linux firefox christmas wallpaper" width="200" height="150" /></a></td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2008/12/23/christmas%e2%80%a6-linux%e2%80%a6-wallpapers%e2%80%a6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open .docx documents in Linux (OpenOffice)</title>
		<link>http://www.linuxscrew.com/2008/12/15/open-docx-documents-in-linux-openoffice/</link>
		<comments>http://www.linuxscrew.com/2008/12/15/open-docx-documents-in-linux-openoffice/#comments</comments>
		<pubDate>Mon, 15 Dec 2008 20:13:23 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[applications]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[distros]]></category>
		<category><![CDATA[docs]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[howtos]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[suse]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=623</guid>
		<description><![CDATA[Well, as for now it is not a problem anymore to open Microsoft Office 2007 .docx documents in any Linux distribution coming with OpenOffice suit. It may be Ubuntu (Feisty, Gutsy, Interpid whatever), almost any version of Fedora/RedHat/Centos, *SUSE, Mandriva and of course Debian (as per my personal opinion it&#8217;s the best one).
What is .docx [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Well, as for now it is not a problem anymore to open <a href="http://office.microsoft.com/">Microsoft Office 2007</a> .docx documents in any Linux distribution coming with <a href="http://openoffice.org">OpenOffice</a> suit. It may be Ubuntu (Feisty, Gutsy, Interpid whatever), almost any version of Fedora/RedHat/Centos, *SUSE, Mandriva and of course Debian (as per my personal opinion it&#8217;s the best one).</p>
<p style="text-align: left;">What is .docx actually? It&#8217;s Microsoft&#8217;s file format representing word processor documents and named <a href="http://en.wikipedia.org/wiki/Office_Open_XML">OpenXML</a> (as an attempt to create open and free international standard). Today .docx is default format for Microsoft&#8217;s word processor <a href="http://www.microsoft.com/word/">Word</a>.</p>
<p style="text-align: left;">There are myriads of online converters between OpenXML and OpenOffice formats including .docx, .xlsx, .odt and many etc but sometimes it&#8217;s much more better to just open received .docx file in Linux offline (if there is temporarily no Internet connection or for security/private reasons etc).</p>
<p style="text-align: left;">So, just download the following package to certain directory like /usr/src, here are the commands to do it:</p>
<p style="text-align: left;"><code>1. cd /usr/src<br />
2. sudo wget http://blog.mypapit.net/imej/odf_filter.tar.bz2</code></p>
<p style="text-align: left;">The next step is to unpack the contents of the archive (<a href="http://howto.wikia.com/wiki/Howto_untar_a_tar_file_or_gzip-bz2_tar_file">.tar.bz2</a> is definitely well compressed file) and copy 3 files to OpenOffice&#8217;s system directories:</p>
<p style="text-align: left;"><code>3. sudo tar -xvjf odf_filter.tar.bz2<br />
4. sudo cp OdfConverter /usr/lib/openoffice/program/</code><br />
<code>5. sudo cp MOOXTypeDetection.xcu /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Types/<br />
6. sudo cp MOOXFilter_cpp.xcu /usr/lib/openoffice/share/registry/modules/org/openoffice/TypeDetection/Filter/</code></p>
<p style="text-align: left;">As you can see from picture below now it&#8217;s possible to natively open .docx files in openoffice under Linux. Of course such &#8220;native&#8221; support may imply some artefacts in opened files due to file formats incompatibility so it&#8217;s also a good option to ask your friends to convert .docs into .pdf before sending you <img src='http://www.linuxscrew.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><center><img title="openoffice_openxml" src="http://www.linuxscrew.com/wp-content/uploads/2008/12/openoffice_openxml-300x244.png" alt="openoffice openxml .docx" width="300" height="244" /></center></p>
<p style="text-align: left;">P.S. Thanks to guys from <a href="http://blog.mypapit.net/2007/09/how-to-open-microsoft-openxml-docx-documents-in-openoffice.html">mypapit</a>.</p>
<p style="text-align: left;">P.S. Here are several online converters .doc(x) &lt;-&gt; .odf &lt;-&gt; .pdf:</p>
<p style="text-align: left;">1. <a href="http://www.zamzar.com/">ZAMZAR</a> (possibly the best converter), 2. <a href="http://docx-converter.com/">http://docx-converter.com/</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2008/12/15/open-docx-documents-in-linux-openoffice/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Convert WMA to MP3 in Ubuntu</title>
		<link>http://www.linuxscrew.com/2008/12/01/convert-wma-to-mp3-in-ubuntu/</link>
		<comments>http://www.linuxscrew.com/2008/12/01/convert-wma-to-mp3-in-ubuntu/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 18:50:13 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[howtos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=872</guid>
		<description><![CDATA[In order to convert WMA file into MP3 format in Ubuntu (or Debian) you should install the following requirements first:
1. mplayer (sudo aptitude install mplayer)
2. lame (sudo aptitude install lame)
3. win32 codecs (sudo aptitude install ubuntu-restricted-extras)
and then convert file.wma into file.mp3 using the following console command:
mplayer -vo null -vc dummy -af resample=44100 -ao pcm:waveheader file.wma;lame [...]]]></description>
			<content:encoded><![CDATA[<p><img title="mplayer logo" src="http://www.linuxscrew.com/wp-content/uploads/2007/09/tn_1161779659712955458879234715.png" alt="mplayer logo" align="right" />In order to <strong>convert</strong> <a href="http://en.wikipedia.org/wiki/Windows_Media_Audio"><strong>WMA</strong></a> file <strong>into</strong> <a href="http://en.wikipedia.org/wiki/MP3"><strong>MP3</strong></a> format in <a href="http://www.ubuntu.com"><strong>Ubuntu</strong></a> (or <a href="http://www.debian.org">Debian</a>) you should install the following requirements first:</p>
<p>1. <a href="http://www.mplayerhq.hu">mplayer</a> (<code>sudo aptitude install mplayer</code>)<br />
2. <a href="http://en.wikipedia.org/wiki/LAME">lame</a> (<code>sudo aptitude install lame</code>)<br />
3. <a href="https://help.ubuntu.com/community/RestrictedFormats#head-6c942d1939d97331f96e42b63774003fde7daed5">win32 codecs</a> (<code>sudo aptitude install ubuntu-restricted-extras</code>)</p>
<p>and then convert <strong>file.wma</strong> into <strong>file.mp3</strong> using the following console command:</p>
<p><code>mplayer -vo null -vc dummy -af resample=44100 -ao pcm:waveheader <strong>file.wma</strong>;lame -m s -V 3 audiodump.wav;mv audiodump.wav.mp3 <strong>file.mp3</strong>;rm audiodump.wav</code></p>
<p>This also works for <a href="http://www.fedoraproject.org">Fedora</a> / <a href="http://www.centos.org">Centos</a> / <a href="http://www.redhat.com">Redhat</a> family Linux distributions (requirements <a href="http://www.redips.net/linux/yum-install-mplayer/">should be installed</a> by yum package manager via third-party software repositories).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2008/12/01/convert-wma-to-mp3-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

