User contributions for Andreas
From Andreida
16 February 2016
- 11:5111:51, 16 February 2016 diff hist +44 N Automatically login Windows 7 but have a password set Created page with "* start netplwiz * uncheck "needs password""
- 11:5111:51, 16 February 2016 diff hist +106 N Windows 7 Created page with "* Automatically login Windows 7 but have a password set * Windows 7 - create an extended partition" current
- 11:5111:51, 16 February 2016 diff hist +351 N Windows XP remember samba password Created page with "If you WinXp always forgets your samba user/password, try the following. * Start via run: Control Userpasswords2 * Tab "Advanced" * "Manage Passwords" * Select your samba f..." current
- 11:5111:51, 16 February 2016 diff hist +329 N Use uuid with your usb stick Created page with "mount the device somehwere mount /dev/sdc /mnt/test find the uuid: ls -lF /dev/disk/by-uuid check the mount data vi /etc/mtab create an entry in fstab, here you will nee..." current
- 11:5011:50, 16 February 2016 diff hist +108 N Ssh, create a new key Created page with "The default is RSA with 2048 bits . DSA is not better and defaults to 1024 bits. ssh-keygen -C Your-Context" current
- 11:5011:50, 16 February 2016 diff hist +256 N Ssh, su+screen: Cannot open your terminal /dev/pts/0 please check Created page with "su+screen: “Cannot open your terminal ‘/dev/pts/0′ – please check.” from [http://debianaddict.com/2013/03/08/gnu-screen-cannot-open-terminal-when-you-su-to-a-user/]..." current
- 11:5011:50, 16 February 2016 diff hist +672 N Ssh, error: openpty: No such file or directory Created page with "if you get the error PTY allocation request failed on channel 0 stdin: is not a tty and in your auth.log is written: error: openpty: No such file or directory error: sess..." current
- 11:4911:49, 16 February 2016 diff hist +56 N Autocomplete host names Created page with " apt-get install bash-completion . /etc/bash_completion" current
- 11:4911:49, 16 February 2016 diff hist +797 N Sshfs Created page with "== mount as user with sshfs == In many cases you will want to mount as user, not as root. Everything with "my" in the beginning has to be changed by you. The uid and gid are ..." current
- 11:4911:49, 16 February 2016 diff hist +281 N Ssh port forwarding with no shell Created page with "If you want an account where the user can connect to be able to port forward but don't want to give him a shell change the first line of authorized_keys to something like: c..." current
- 11:4911:49, 16 February 2016 diff hist +3,467 N Ssh config file Created page with "=== Simple entry === Some often needed options (you need to install connect-proxy before you can use it) Host SimpleName HostName www.bla-bla.xxx.com User <..." current
- 11:4811:48, 16 February 2016 diff hist +746 N Ssh login banner Created page with "sshd uses /etc/motd as banner when someone logs in. The file looks something like this: Linux myhostname 2.6.18-6-amd64 #1 SMP Sun Feb 21 00:50:59 UTC 2010 x86_64 The progr..." current
- 11:4811:48, 16 February 2016 diff hist +951 N Mount usb stick, so you can use your ssh key on it Created page with "If you normally mount your usb stick, ssh will not allow you to use a ssh key which is directly on the stick. If the key is inside a truecrypt container, you will have less/n..." current
- 11:4811:48, 16 February 2016 diff hist +336 N Ssh Created page with "* mount usb stick, so you can use your ssh key on it * ssh login banner * ssh config file * ssh port forwarding with no shell * sshfs * [[autocomplete host..."
- 11:4811:48, 16 February 2016 diff hist +13 N Show needed libraries for a linux binary Created page with " ldd <binary>" current
- 11:4711:47, 16 February 2016 diff hist +1,359 N Shell with multitab: mrxvt Created page with "If you want to work via ssh on a linux machine, you often want tabbed shells. When you have a X-Server (Xming) running, try the following: Try apt-get install mrxvt mrxvt..." current
- 11:4711:47, 16 February 2016 diff hist +2,625 N Samba Created page with "== samba via nfs == if you get the drive via nfs, use the following at the exporting server: addgroup --gid 200 sambashare and change the group id of sambashare at the samba..." current
- 11:4711:47, 16 February 2016 diff hist +74 N S.M.A.R.T. smart debian Created page with "apt-get install smartmontools gsmartcontrol smart-notifier python-gtk2-doc" current
- 11:4711:47, 16 February 2016 diff hist +47 N Popularity Contest - disable Created page with "/etc/popularity-contest.conf PARTICIPATE="no"" current
- 11:4611:46, 16 February 2016 diff hist +2,615 N OpenTimetool Created page with "=Download and preparation= So you can create your own html2pdf apt-get install htmldoc Create the file vi /usr/local/bin/html2pdf With the content #!/bin/bash htmldo..." current
- 11:4611:46, 16 February 2016 diff hist +1,493 N Nfs Created page with "== Server == install the server (which gets the dependencies nfs-common and portmap: apt-get install nfs-kernel-server Export the directory you want to share in /etc/export..." current
- 11:4611:46, 16 February 2016 diff hist +89 N Mail: command not found Created page with " apt-get install sendmail oder apt-get install exim4 dpkg-reconfigure exim4-config" current
- 11:4611:46, 16 February 2016 diff hist +30 N Look at cron jobs of users Created page with "cat /var/spool/cron/crontabs/*" current
- 11:4511:45, 16 February 2016 diff hist +116 N Locale: Cannot set LC CTYPE to default locale Created page with "if you get the following message locale: Cannot set LC_CTYPE to default locale do this dpkg-reconfigure locales" current
- 11:4511:45, 16 February 2016 diff hist +944 N Install BackupPC Created page with "Get the package and some others to help: apt-get install backuppc libfile-rsyncp-perl par2 bzip2 libarchive-tar-perl libcompress-zlib-perl \ libcompress-bzip2-perl libapac..." current
- 11:4511:45, 16 February 2016 diff hist +128 N Ftp, automatic login Created page with ".netrc machine NAME login USER password PASSWORD machine NAME-2 login USER password PASSWORD" current
- 11:4511:45, 16 February 2016 diff hist +220 N Debian, copy/paste buffer history, parcellite Created page with "If you want an automatic history of your copy/paste contents, use parcellite. It will remember everything you had in your buffer and will allow you to set the buffer back to ..." current
- 11:4411:44, 16 February 2016 diff hist +204 N Custom ports for firehole Created page with "You can "create" your own services: server_myService_ports="tcp/5022" client_myServoce_ports="default" And so you use it: server myService accept Now the service mySer..." current
- 11:4411:44, 16 February 2016 diff hist +1,854 N Crontab Created page with "=== basics === The commands you put into your crontab will be executed unless you start a line with "#". If the command has any output '''and''' you have set the variable MAIL..."
- 11:4411:44, 16 February 2016 diff hist +1,635 N Bash shell scripting Created page with "= Links = * [http://www.tldp.org/LDP/Bash-Beginners-Guide/html/index.html Bash Guide for Beginners] * [http://misc.flogisoft.com/bash/tip_colors_and_formatting Colors for echo..."
- 11:4311:43, 16 February 2016 diff hist +358 N Add new usb disk as ext4 Created page with "search for the disk: fdisk -l create a partition on it: fdisk /dev/sdx <--- change x to a,b,c or whatever p - print the partition table d - delete the current partitions..."
- 11:4311:43, 16 February 2016 diff hist +5,969 N Virtual machines with kvm Created page with "https://wiki.debian.org/KVM == Install and config == * Install it apt-get install qemu-kvm libvirt-bin virtinst virt-manager === network host === /etc/network/interfaces..."
- 11:4311:43, 16 February 2016 diff hist +22,199 N Vi Created page with "== Vim + Windows == === change menu and messages to us english === c:\Installed\Text\Vim\_vimrc set langmenu=en_US.UTF-8 " sets the language of the menu (gvim) language ..."
- 11:4311:43, 16 February 2016 diff hist +2,013 N Using sed recursive on a file system Created page with "== Best solution for me so far == use the following phase, do not put it into a script, just replace the 4 variables. When I put it into a script I sometimes get weird behavi..." current
- 11:4211:42, 16 February 2016 diff hist +657 N Browse svn history with browser - ViewVC Created page with "== new == USE websvn instead! apt-get install websvn link /etc/websvn/apache.conf to /etc/apache2/sites-available and then to enabled == old == install: apt-get install vi..." current
- 11:4211:42, 16 February 2016 diff hist +1,372 N Svn via https Created page with "Install apache, https-svn package and subversion itself: apt-get install apache2 libapache2-svn subversion Enable the ssl mod: a2enmod ssl Check the listen ports: (443 is ..."
- 11:4211:42, 16 February 2016 diff hist +3,785 N Nagios, server monitor Created page with "== install nagios on server == install the client on the watching system apt-get install nagios3 nagios3-doc (nagios-statd-client ?) Remember the password you are to give dur..." current
- 11:4211:42, 16 February 2016 diff hist +1,770 N Munin, server monitor Created page with "==Server== * install apt-get install php5 munin cd /etc/apache2/mods-enabled ln -s ../mods-available/expires.load cd /etc/apache2/sites-enabled ln -s /etc/munin/apache.co..." current
- 11:4111:41, 16 February 2016 diff hist +548 N Move svn repository Created page with "Create the backup svnadmin dump /path/repository > backup.dump Now copy the backup to the destination and there create a new repository svnadmin create /path/repository Re..." current
- 11:4111:41, 16 February 2016 diff hist +180 N Misc networking status commands Created page with "To show a list of all current connections to the outside: netstat -tup To show the list again and again netstat -tupc Add the ones which currently only listen netstat ..."
- 11:4111:41, 16 February 2016 diff hist +192 N Grep Created page with "It depends on your linux/grep, how you have to build your regular expressions. Search for letter/digit combinations of a certain length: <pre> grep -oe 'alnum:\{17\}' m..."
- 11:4011:40, 16 February 2016 diff hist +130 N Cvs, tree command has bad output Created page with "The following in your .bashrc will don't show the CVS directories when useing tree. 'C' is for color. alias tree='tree -I CVS -C'"
- 11:4011:40, 16 February 2016 diff hist +154 N Cvs, revert to old file version Created page with " cvs update -r 1.33 file.php mv file.php file.php.1.33 cvs update -A file.php mv file.php.1.33 file.php cvs commit -m 'reverting to old version 1.33'" current
- 11:4011:40, 16 February 2016 diff hist +627 N Cvs update output is bad, use it with grep Created page with "This works of course only for the english language, so perhaps you'll have to change it. (-n -> don't do anyting) <pre> cat cvsupdate #!/bin/bash cvs -n up 2>&1| grep -v 'cvs..."
- 11:4011:40, 16 February 2016 diff hist +125 N Cvs Created page with "* cvs update output is bad, use it with grep * cvs, revert to old file version * cvs, tree command has bad output"
- 11:4011:40, 16 February 2016 diff hist +155 N Auth.log Unable to open env file: /etc/default/locale: No such file or directory Created page with "if in your /var/log/auth.log you get lots of Unable to open env file: /etc/default/locale: No such file or directory try this dpkg-reconfigure locales" current
- 11:3911:39, 16 February 2016 diff hist +155 N What is that process doing commands Created page with "If you'd like to know what is happening in different processes apt-get install strace htop Then in htop press "s" on a process and see what it is doing." current
- 11:3911:39, 16 February 2016 diff hist +2,676 N VmWare Created page with "== Install VmWare Server == apt-get install psmisc build-essential linux-headers-`uname -r` == VmWare Server Console Commands == '''If using the command line: the position..." current
- 11:3911:39, 16 February 2016 diff hist +2,487 Administration links No edit summary
- 11:3811:38, 16 February 2016 diff hist +335 N Debian, create swapfile Created page with " [https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04 source] * create the file and set it read only fallocate -l 4G /swapfile chmod 600 /swapf..." current