Quantcast
Channel: Tomato Blog » linux
Browsing latest articles
Browse All 10 View Live

unpack *.tar.lzma file

To open or extract *.tar.lzma file: 1. download and install lzma: (in debian only, this process will be minor different in other linux distribution) apt-get install lzma 2. unpack the file: tar --lzma...

View Article



Can’t access certain site with pptp

After setup pptp vpn tunnel with pptpd under linux, you can access most of sites with no issue. But if you find you can’t open some sites like: www.alexa.com, then this is more like a tcp mss size...

View Article

unzip 7z file on debian (linux)

To upzip .7z file on the debian (linux), you need to Install the package with: apt-get install p7zip If your file to unzip is: test.7z, then run: 7zr x test.7z Going further, for a list of parameter...

View Article

Avoid boot stopper: give root password for maintenance

When messed around, you will get a message: give root password for maintenance, and require you to press ctrl+D to continue during linux boot, then freeze the boot process. Most likely, it is because...

View Article

find out number of lines of programming code under current directory

Doubt how many lines of code you have written? If you don’t have an existing tool to do this, you can make use of linux command based tools to achieve this: wc -l `find ./ -type f` This command will...

View Article


install pdfroff in debian

pdfroff − create PDF documents using groff To get pdfroff, you can’t do: apt-get install pdfroff Instead, call this: apt-get install groff For detail, check this:...

View Article

Quick guide to config a samba server on debian to share files between windows...

It comes handy to setup samba server on a linux computer, for example: debian, and from there you will be able to share files to windows, the linux computer could be used as a windows computer provide...

View Article

auto mount a windows folder share on debian startup for development purpose

Auto mount a windows folder share on debian startup could be your honey if you run into this situation: 1. run linux as a website server development environment 2. most of your tools with good ui only...

View Article


how to drop unique constraint in mysql

Use something like this: ALTER TABLE table_name DROP INDEX index_name; And you can use mysqldump to find out the name of your unique constraint

View Article


axel – a command line based multithread downloader

axel – a command line based multithread downloader Very powerful and could improve your download speed magically, install with the aptitude tool in ubuntu

View Article
Browsing latest articles
Browse All 10 View Live




Latest Images