Ubuntu

Aus Programmers Guide

(Unterschied zwischen Versionen)
Wechseln zu: Navigation, Suche
Zeile 73: Zeile 73:
</source>  
</source>  
 +
<br>
-
 
+
== Rip VCD or SVCD to MPG-File ==
-
== Rip VCD or SVCD to MPG-File ==
+
<source lang="bash">
<source lang="bash">
vcdxrip
vcdxrip
-
</source>
+
#copy the VCD into the current folder and name it "avseq01.mpg"
 +
</source>
 +
 
 +
<br>
 +
 
 +
== Merge 2 or more MPG-Files  ==
 +
 
 +
<source lang="bash">
 +
cat video1.mpg video2.mpg > compiled.mpg
 +
#OR
 +
sudo apt-get install mpgtx
 +
mpgtx -j file01.mpg file02.mpg -o final.mpg
 +
</source>  
[[Category:Ubuntu]]
[[Category:Ubuntu]]

Version vom 08:26, 1. Nov. 2010

Inhaltsverzeichnis

Installierte Pakete anzeigen

dpkg --get-selections


SCP

Datei kopieren

#Kopiert die test.txt zum 2.Rechner
scp -r /home/<user>/test.txt username@192.168.0.1:/home/<user>/


VMWare-Tools

#Header und den gcc Compiler installieren
sudo apt-get install linux-headers-`uname -r` build-essential psmisc
#evtl bei nem VMX:
sudo mount /dev/cdrom /media/cdrom0/
#kopieren und entpacken der Dateien
cp /media/cdrom0/VMwareTools-4.0.0-193498.tar.gz /tmp/
cd /tmp/
tar xvf VMwareTools-4.0.0-193498.tar.gz
cd vmware-tools-distrib/
sudo ./vmware-install.pl
#What is the location of the directory of C header files that match your running kernel?
/lib/modules/2.6.28-18-server/build/include/


SSH

Siehe dazu: SSH

DNS

"server" is the real domain xxx.dyndns.org
roy@machine:~$ ssh user@server
ssh: Could not resolve hostname
 
roy@machine:~$ ping server
PING server (xx.xx.xx.xx) 56(84) bytes of data.
64 bytes from port-xxx-xxx-xxx-xxx.dynamic.qsc.de (xx.xx.xx.xx): icmp_seq=1 ttl=56 time=93.6 ms
64 bytes from port-xxx-xxx-xxx-xxx.dynamic.qsc.de (xx.xx.xx.xx): icmp_seq=1 ttl=56 time=91.9 ms
64 bytes from port-xxx-xxx-xxx-xxx.dynamic.qsc.de (xx.xx.xx.xx): icmp_seq=1 ttl=56 time=90.0 ms
64 bytes from port-xxx-xxx-xxx-xxx.dynamic.qsc.de (xx.xx.xx.xx): icmp_seq=1 ttl=56 time=89.3 ms
^C
--- server ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 89.391/91.242/93.623/1.697 ms
#seems okay
 
sudo vim /etc/nsswitch.conf
#remove the NOTFOUND clause
 
roy@machine:~$ ssh user@server
Warning: Permanently added the RSA host key for IP address 'xx.xx.xx.xx' to the list of known hosts.
user@servers password: xxx
 
Linux server2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:26:08 UTC 2010 i686 GNU/Linux
Ubuntu 10.04.1 LTS
...
 
#allright :-)


Rip VCD or SVCD to MPG-File

vcdxrip
#copy the VCD into the current folder and name it "avseq01.mpg"


Merge 2 or more MPG-Files

cat video1.mpg video2.mpg > compiled.mpg
#OR
sudo apt-get install mpgtx
mpgtx -j file01.mpg file02.mpg -o final.mpg
Persönliche Werkzeuge