eEcho blog

is een halte van de gedachte

Archive for the ‘Linux’ Category

scp Linux

Om bestanden te kopiëren van de remotehost.
scp -r www sdergats@24multimedia.eecho.info:Desktop/
gevolgd door de wachtwoord van de gebruiker die schrijf machtigingen heeft.
scp -r script_test.py root@computername.labo:/etc/eGids/

Mysql Linux restart

* To start mysql server:
# /etc/init.d/mysql start
* To stop mysql server:
# /etc/init.d/mysql stop

* To restart mysql server
# /etc/init.d/mysql restart

Debian afbeeldingen van fotocamera

Om automatisch import in te stellen.
installeer gthumb

sudo apt-get install gthumb
Dan configureer Systeem / Voorkeuren / Verwisselbare stations en media /
op tab camera’s checkbox ” bij verbinding importeren” aanzetten.

Zip Linux

http://kb.iu.edu/data/aeqx.html
To create a zip file, at the Unix prompt, enter:

zip filename inputfile1 inputfile2
Replace filename with the name you want to give the zip file. The .zip extension is automatically appended to the end of the filename. Replace inputfile1 and inputfile2 with the names of the files you wish to include in the zip […]

Debian package management

Debian Reference
Chapter 6 - Debian package management
http://www.debian.org/doc/manuals/reference/ch-package.en.html
aptitude is now the preferred text front end for APT, the Advanced Package Tool. It remembers which packages you deliberately installed and which packages were pulled in through dependencies; the latter packages are automatically de-installed by aptitude when they are no longer needed by any deliberately installed packages. It […]

chmod

Om filesysteem toegankelijk te maken voor alle groepen en gebruikers.

chmod -R 777 /home/sdergats/eecho
Het zou kunnen handig zijn om fout te vermijden in modpython (OSError: [Errno 13] Permission denied:)

Mysql Restore backup in SH Ubuntu

Met sh database automatisch terug zetten.
Maak een sh bestand aan
vim resetDB-shell

Inhoud ervan is hier
#!/bin/sh
sudo mysql -hlocalhost -pwachtwoord -uroot –force -e “DROP DATABASE eEchoDB”
sudo mysql -hlocalhost -pwachtwoord -uroot –force < eEchoDB_20080429_1242.sql
Maak het uitvoerbaar

chmod -R 775 resetDB-shell
run

./resetDB-shell

Use grep linux

Om in tekst bestanden te kunnen zoeken in filesysteem kan de “grep” commando gebruikt worden.

grep monitorstatus *
zullen alle bestanden getond worden die het woord “monitorstatus” bevatten.

Android - An Open Handset Alliance Project

http://code.google.com/android/
http://code.google.com/android/documentation.html
The Open Handset Alliance, a group of more than 30 technology and mobile companies, is developing Android: the first complete, open, and free mobile platform. To help developers get started developing new applications, we’re offering an early look at the Android Software Development Kit.

ifup - ifdown - ifstatus

The format for this command is ifstatus interface-name -o options . To check the only Ethernet connection on my desktop box, without specifying any options, I would enter:
ifstatus eth0
At first I tried ifup eth0, but all it would do is tell me the interface was already up. So I shut down the interface with […]

cronjob linux crontab

Example(s)
If you wished to have a script named /root/backup.sh run every day at 3am, my crontab entry would look like as follows:
(a) Install your cronjob:# crontab -e(b)Append following entry:
0 3 * * * /root/backup.sh
Run five minutes after midnight, every day:
5 0 * * * /path/to/commandRun
at 2:15pm on the first of every month:

15 14 1 […]

debian iso cd Download

http://www.debian.org/CD/
Als u Debian/GNU Linux op CD’s wilt hebben, kunt u hieronder zien welke opties er beschikbaar zijn. Indien u problemen heeft, kijk dan eens in de FAQ (lijst van veelgestelde vragen) over de Debian CD’s.

installing debian

http://www.debian.org/releases/stable/i386/install.txt.en
Debian GNU/Linux Installation Guide
Copyright © 2004, 2005, 2006, 2007 the Debian Installer team
This manual is free software; you may redistribute it and/or modify it under
the terms of the GNU General Public License. Please refer to the license in
Appendix F, GNU General Public License.
Abstract
This document contains installation instructions for the Debian GNU/Linux 4.0
system (codename “etch”), for […]

debian sources list

http://www.debian.org/doc/manuals/apt-howto/ch-basico.en.html
vim /etc/apt/sources.list

debian rpm

#apt-get install alien
This will install all the required packages.Now you can start converting your .rpm files to .deb packages.
Available Options for alien
Convert the package.rpm into a package.deb
#alien -d package-name.rpm
Convert the package.rpm into a package.deb, and install the generated package.
#alien -i package-name.rpm
If you want to keeps alien from changing the version number use the following command

#alien […]

debian packages

http://www.debian.org/distrib/packages
Alle pakketten die zijn opgenomen in de officiële Debian distributie zijn vrij volgens de Debian Richtlijnen voor Vrije Software (DFSG). Hierdoor kunt u er zeker van zijn dat al deze pakketten en hun broncode vrijelijk mogen gebruikt en gedistribueerd. De officiële Debian distributie is datgene wat zich in de “main”-sectie van het Debian archief bevindt.
Als […]

debian server linux

http://www.debian.org/distrib/
Debian GNU/Linux wordt op een vrije manier verspreid via het internet. U kunt het geheel downloaden van een van onze mirrors.
Als u simpelweg Debian wilt installeren beschikt u over de volgende opties:
* Download een klein image bestand, leg het vast op een CD/DVD/USB schijf/diskette en installeer met gebruikmaking van het Internet.
http://www.debian.org/distrib/netinst
[…]

apt get debian

http://www.debian.org/doc/manuals/apt-howto/ch-basico.en.html
Meest gebruikte opdrachten.

# apt-get install
# apt-get remove
# apt-get -u upgrade
# apt-get -u dist-upgrade
# apt-get -u install lilo
# apt-get autoclean
# apt-cdrom add

Mysql installeren Debian

Om server te installeren
$ sudo apt-get install mysql-server
client om tabellen, users, backup, options van de mysql server in GUI te configureren (DD)

$ sudo apt-get install mysql-admin
client om gegevens te aanpassen (inport export ezv. ook SQL ref ingebouwd DM)
$ sudo apt-get install mysql-query-browser

RealPlayer media player linux

http://www.real.com/linux
$ su
# chmod a+x RealPlayer10GOLD.bin
# ./RealPlayer10GOLD.bin

 

Home | info@eecho.info | Voorwaarden | Blog