Difference between revisions of "Howto Ubuntu"

From DiLab
Jump to: navigation, search
(Other nice external links and howto-s)
Line 1: Line 1:
==Notes about installing and setup of various apps and features in Ubuntu==
==Notes about installing and setup of various apps and features in Ubuntu==

* Apache
** [[Apache:configuration]]
** [[Apache:htaccess | Secure directories under Apache (htaccess style)]]


* [[Mediawiki setup | Mediawiki]]
* [[Mediawiki setup | Mediawiki]]
Line 21: Line 25:
** XMMS setup for Ubuntu Hardy - [https://launchpad.net/ubuntu/hardy/i386/xmms from deb].
** XMMS setup for Ubuntu Hardy - [https://launchpad.net/ubuntu/hardy/i386/xmms from deb].


* Ubuntu setup
==Misc tasks==
** [[Ubuntu:permissions | Users and permissions]] in Linux / Ubuntu
* [[Apache:htaccess | Secure directories under Apache (htaccess style)]]
* [[Ubuntu:permissions | Users and permissions]] in Linux / Ubuntu


==Other nice external links and howto-s==
==Other nice external links and howto-s==

Revision as of 11:24, 23 March 2010

Notes about installing and setup of various apps and features in Ubuntu


Other nice external links and howto-s

Mass search and replace in files (with sed)

for i in $(find . -type f); do sed 's/oldstring/newstring/g' $i > $i-tmp; mv $i $i-backup; mv $i-tmp $i; done


DV/Firewire for Ubuntu

https://help.ubuntu.com/community/Firewire


Tunneling to socks proxy

ssh-tunnel-socks-proxy

In short:
$ssh -D 9999 username@ip-address-of-ssh-server
Then set in Firefox to use a SOCKS proxy: “localhost", port 9999


Acroread on Ubuntu

The link: [1]


Check the ports and apps listening on them

netstat -lnptu


Listing members of a group

I.e., the opposite to the command 'groups myuser'

sudo apt-get install members     [if needed]
members groupname


Custom autocomplete in Ubuntu

It is nice to use TAB key to autocomlete path for example, for a ls command in bash. It turns out, you can also autocomplete certain command arguments, e.g. apt-get inst<TAB> expands to apt-get install. Even better, you can define your own completion rules for other commands and applications.

Read more on "howto" here: part 1 and part 2