Archive for the 'Linux' Category

Find Files and DElete it on Linux

Run first:
find . -name "*.bak" -type f

If you decided to delete run:
find . -name "*.bak" -type f -delete

No Comments »

admin on February 5th 2017 in IT, Linux

Detecting and Mounting CD-Rom in Debian

apt-get install cdrskin
cdrskin –devices
mkdir /mnt/cdrom
sudo mount /dev/sr0 /mnt/cdrom

No Comments »

admin on August 3rd 2016 in IT, Linux

Install OwnCloud on Debian

I already made once a tutorial how to install OwnCloud on Debian. But since then you can find it in the repository of aptitude and is therefore much easier to install.

  1. apt-get update
  2. apt-get install owncloud
  3. apt-get install mysql-server mysql-client
  4. Create DB and User
    mysql –u root –p
    CREATE DATABASE owncloud;
    CREATE USER owncloud@localhost IDENTIFIED BY ‘password’;
    GRANT ALL PRIVILEGES ON owncloud.* TO owncloud@localhost;
    flush privileges;
    quit
  5. Create Directories
    mkdir /var/owncloud
    chown www-data:www-data /var/owncloud
    chmod 750 /var/owncloud
  6. Run owncloud
    http://yourip/owncloud/
  7. Username: owncloud
    Password: Password you have picked for the DB.
    DB Name: owncloud
    Hostname: localhost
  8. Activate HTTPS
    a2enmod ssl
    a2ensite default-ssl
    service apache2 restart

After that you just need to install the OwnCloud clients on your devices and then you are ready to go.

No Comments »

admin on August 1st 2016 in Cloud, Internet, IT, Linux

automatically download subtitles and add it to vlc

Because English is not my mother tongue and I can’t always follow dialogues in movies, I wished a couple of times that there would be a easy way to add subtitles. You can add subtitles with VLC without extension but then you need to have the file already or you need to search in the internet for it.
Luckily you can extend vlc with a great subtitle plugin which automatically searches the internet and finds a suitable subtitle. This saves you some time and steps.

  1. Download the extension: https://github.com/exebetche/vlsub
  2. Copy the files into the following directory:
    Windows: C:/Program Files/VideoLAN/VLC/lua/extensions/
    Mac OS X: /Applications/VLC.app/Contents/MacOS/share/lua/extensions/
    Linux: ~/.local/share/vlc/lua/extensions/
  3. Restart VLC Player
  4. Now you should find a new entry for VLSub under extensions.

No Comments »

admin on December 19th 2015 in IT, Linux, MAC, Multimedia, Windows

SSH Socks Server doesn’t work

You created the right tunnel:
ssh user@sub.example.com –p 80 –D 6666

Note: I picked port 80 for my environment because it isn’t usually blocked by firewalls. So you can easily bypass them.

Finally you have pointed the proxy of your browser to the right tunnel but it still doesn’t work.
127.0.0.1:6666

It took me a while to figure it out, but the solution was quite simple. You need to leave all proxy settings blank, except the socket setting. Now it works like a charm;-)

image

No Comments »

admin on April 11th 2014 in Internet, IT, Linux, Windows

SYNchronise vSphere Time Manually

#sntp –r pool.ntp.org

No Comments »

admin on February 25th 2013 in IT, Linux, VMWare

AntiVirus on Server

It can be a good a idea to have a different AntiVirus on the servers than on the desktops. So you have a layered scan.

No Comments »

admin on February 12th 2013 in IT, Linux, Windows

Quick and Dirty Stock Market Ticker for bash shell

No Comments »

admin on August 8th 2012 in IT, Linux

How to install Nagios 3x updates quickly

As always make a backup beforehand. The paths and command options might need to be adjusted to your environment.

No Comments »

admin on August 6th 2012 in IT, Linux, Network

How to install NTP on Linux Debian

#apt-get install ntp

Edit the config file to adjust it:
#vi  /etc/ntp.conf

Restart the service to make it run:
#service ntp restart

Manual Sync:
#ntpd -q –g

To overwrite the HW Clock:
#hwclock –systohc

No Comments »

admin on June 29th 2012 in IT, Linux




Check out new movies online website. Download and buy movies now.