install

warning: Creating default object from empty value in /data/web/1/000/027/003/273448/htdocs/panticz.de/modules/taxonomy/taxonomy.pages.inc on line 33.

Install Gimp from Ubuntu PPA

wget https://raw.githubusercontent.com/panticz/installit/master/install.gimp.sh -O - | bash -

#!/bin/bash

# add repository
RELEASE=$(lsb_release -rs | tr -d ".")
if [ ${RELEASE} -ge 1204 ]; then
  sudo add-apt-repository -y ppa:otto-kesselgulasch/gimp
fi

# update
sudo apt-get update -qq

# install gimp
sudo apt-get install -y gimp

# OPTIONAL: enable single window mode
Menu Window > check "Single window mode"

# Links
https://launchpad.net/~matthaeus123/+archive/mrw-gimp-svn - Matt Walker Gimp PPA repository
http://www.webupd8.org/2009/08/how-to-install-gimp-27-in-ubuntu-jaunty.html
ftp://ftp.gimp.org/pub/gimp/v2.7/

installSqlDeveloper.sh

Get Oracle SQL Developer package
1. go to Homepage: http://www.oracle.com/technology/software/products/sql/index.html
2. accept the licence
3. login
4. download "Oracle SQL Developer for other platforms"

http://download.oracle.com/otn/java/sqldeveloper/sqldeveloper-4.1.0.18.37-no-jre.zip

wget https://raw.githubusercontent.com/panticz/installit/master/install.sqldeveloper.sh -O - | bash -

#!/bin/bash

if [ -z "$1" ]; then
  echo "Please enter the url to download"
  exit
else
  URL=$1
fi

FILE=${URL##*/}
[ -n "$2" ] && USER=$2

# install Java JRE
wget -q https://raw.githubusercontent.com/panticz/installit/master/install.java-jdk.sh -O - | bash -

# get file
if [ ${URL:0:4} == "http" ]; then
  wget -q ${URL} -O /tmp/${FILE}
else
  cp ${URL} /tmp/${FILE}
fi

case ${FILE: -3} in
rpm)
  # convert rpm package to debian
  sudo apt-get install -y alien
  sudo alien /tmp/${FILE}
  sudo dpkg -i /tmp/${FILE/.rpm/.deb}
  ;;
deb)
  # install debian package
  sudo dpkg -i /tmp/${FILE}
  ;;
zip)
  # extract
  [ -d /opt ] || sudo mkdir /opt
  sudo unzip -q /tmp/${FILE} -d /opt/
  sudo chmod +x /opt/sqldeveloper/sqldeveloper.sh
  ;;
*)
  echo "Unknown file format"
  exit
  ;;
esac

# fix "Error: SQL Developer can't recognize the JDK version" error
sudo sed -i '1a unset GNOME_DESKTOP_SESSION_ID' /opt/sqldeveloper/sqldeveloper.sh

# create startet
cat << EOF | sudo tee -a "/usr/share/applications/oracle-sql-developer.desktop"
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=Oracle SQL Developer
Type=Application
Terminal=false
Exec=/opt/sqldeveloper/sqldeveloper.sh
Icon=/opt/sqldeveloper/icon.png
Categories=Application;Development;
EOF

# create user config to the latest installed JDK version
[ -d /home/${USER}/.sqldeveloper ] || mkdir /home/${USER}/.sqldeveloper
[ -f /home/${USER}/.sqldeveloper/jdk ] || echo "/usr/lib/jvm/$(ls /usr/lib/jvm | grep oracle | tail -1)/" > /home/${USER}/.sqldeveloper/jdk

# set owner
chown -R ${USER}:${USER} /home/${USER}/.sqldeveloper/

# reduced memory usage
sed -i 's|-Xmx640M|-Xmx384M|g' /opt/sqldeveloper/ide/bin/ide.conf

# ToDo
# http://download.oracle.com/otn/java/sqldeveloper/sqldeveloper-4.0.2.15.21-1.noarch.rpm?AuthParam=XXX_XXX
# use a repository
# configure global

Install Dropbox under Ubuntu

wget https://raw.githubusercontent.com/panticz/installit/master/install.dropbox.sh -O - | bash -

#!/bin/bash

# add repository
sudo apt-add-repository -y "deb http://linux.dropbox.com/ubuntu $(lsb_release -cs) main"

# update repository
sudo apt-get update -qq
 
# install Dropbox
sudo apt-get install nautilus-dropbox -y --force-yes

# install libs
sudo apt-get install -y python-gpgme

# dowload client
#wget http://www.getdropbox.com/download?plat=lnx.x86 -P /tmp
#su $1 -c tar xzf /tmp/dropbox-lnx.x86-*.tar.gz -C ~/

# create delayed start
# run this as user
sed -i 's|dropbox start -i|/usr/sbin/dropbox_start_dely|g' ~/.config/autostart/dropbox.desktop

# run this as root
cat < /usr/sbin/dropbox_start_dely
#!/bin/sh
sleep 120
ionice -c 3 dropbox start -i
EOF

chmod a+x /usr/sbin/dropbox_start_dely

Create account and get free Dropbox account with extra 250mb space
https://www.dropbox.com/referrals/NTQxNzA2OTU5

Enable folder share
http://www.dropbox.com/enable_shmodel

Links
http://wiki.ubuntuusers.de/Dropbox
http://www.getdropbox.com/download?plat=lnx.x86
http://www.maximumpc.com/article/features/15_things_you_have_know_about_dropbox

Install Tipp10

wget https://raw.githubusercontent.com/panticz/installit/master/install.tipp10.sh -O - | bash -

#!/bin/bash

# parse download link
URL=$(wget -q http://www.tipp10.com/de/download/getfile/5/ -O - | grep getfile | tail -1 | cut -d"\"" -f 2)

# download
wget "http://www.tipp10.com${URL}" -O /tmp/tipp10.deb

# install
sudo dpkg -i /tmp/tipp10.deb

Install Skype from repository

wget https://raw.githubusercontent.com/panticz/installit/master/install.skype.sh -O - | bash -

#!/bin/bash

# add partner repository
sudo add-apt-repository -y "deb http://archive.canonical.com/ $(lsb_release -sc) partner"

# update
sudo apt-get update -qq

# install
sudo apt-get install -y skype

Fix upside down webcam
wget https://raw.githubusercontent.com/panticz/scripts/master/fix_skype_upsidedown_webcam.sh -O - | bash -

#!/bin/bash

# install video4linux libraries 
sudo apt-get install libv4l-0:i386

# fix lib path
if [ ! -f /usr/lib/libv4l/v4l1compat.so ]; then
  sudo mkdir /usr/lib/libv4l
    if [ "$(uname -m)" == "x86_64" ]; then
      # 64 bit
      sudo ln -s /usr/lib/x86_64-linux-gnu/libv4l/v4l1compat.so /usr/lib/libv4l/v4l1compat.so
    else
      # 32 bit
      sudo ln -s /usr/lib/i386-linux-gnu/libv4l/v4l1compat.so /usr/lib/libv4l/v4l1compat.so
  fi
fi

# modify Skype launcher
sudo sed -i 's|env PULSE_LATENCY_MSEC=60 skype %U|env PULSE_LATENCY_MSEC=60 LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so skype %U|g' /usr/share/applications/skype.desktop

Disable "contacts comes online" notification
# Notify
sed -i 's|1|0|g' /home/${USER}/.Skype/*/config.xml
sed -i 's|1|0|g' /home/${USER}/.Skype/*/config.xml

# Sound
sed -i 's|1|0|g' /home/${USER}/.Skype/*/config.xml
sed -i 's|1|0|g' /home/${USER}/.Skype/*/config.xml

Links
http://wiki.ubuntuusers.de/Canonical_Partner - Ubuntu partner repository
http://www.semanticpool.de/hidden-skype-emoticons/ - hidden skype emoticons
https://help.ubuntu.com/community/SkypeTroubleshooting
https://wiki.ubuntu.com/SkypeWebCams

Install Java JRE

wget https://raw.githubusercontent.com/panticz/installit/master/install.java-jre.sh -O - | bash -

#!/bin/bash

# no JRE package available, use JDK package
wget -q --no-check-certificate https://raw.githubusercontent.com/panticz/installit/master/install.java-jdk.sh -O - | bash -

Download Oracle Java JRE & JDK using a script
https://ivan-site.com/2012/05/download-oracle-java-jre-jdk-using-a-script/

Fix mozilla java plugin
JAVA_HOME=/usr/lib/jvm/jdk1.7.0
MOZILLA_HOME=~/.mozilla
mkdir $MOZILLA_HOME/plugins
ln -s $JAVA_HOME/jre/lib/i386/libnpjp2.so $MOZILLA_HOME/plugins
or
ln -s $JAVA_HOME/jre/lib/amd64/libnpjp2.so $MOZILLA_HOME/plugins
or
ln -s /usr/lib/jvm/java-7-oracle/jre/lib/amd64/libnpjp2.so ~/.mozilla/plugins/

Links
http://wiki.ubuntuusers.de/make-jpkg
https://github.com/flexiondotorg/oab-java6 - Create a local apt repository for Sun Java 6 and/or Oracle Java 7 packages.
http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html
http://www.webupd8.org/2011/03/install-java-in-ubuntu-1104-natty.html
http://www.sysadminslife.com/linux/howto-oracle-sun-java-7-installation-unter-debian-6-squeeze/

install phpMyAdmin

Check for current version
www.phpmyadmin.net

wget -q --no-check-certificate https://raw.githubusercontent.com/panticz/installit/master/install.phpMyAdmin.sh -O - | bash -

#!/bin/bash

if [[ $(dpkg-query -W -f='${Version}' mysql-server) =~ 5.5 ]]; then
  # current version compatible with PHP 5.3 and MySQL 5.5
  URL=https://files.phpmyadmin.net/phpMyAdmin/4.6.2/phpMyAdmin-4.6.2-all-languages.zip
else
  # older version compatible with PHP 5.2 and MySQL 5
  URL=http://switch.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/4.0.10/phpMyAdmin-4.0.10-english.tar.bz2
fi

# set variables
FILE=${URL##*/}

# set target
if [ ! -z $1 ]; then
  TARGET=$1
else
  TARGET=/var/www
fi

# set owner
if [ ! -z $2 ]; then
  WWW_USER=$2
else
  WWW_USER=www-data
fi

# download if not already exists
[ ! -f /tmp/${FILE} ] && wget -nv ${URL} -O /tmp/${FILE}

# backup old phpmyadmin installation
[ -d ${TARGET}/phpMyAdmin/ ] && mv ${TARGET}/phpMyAdmin/ ${TARGET}/phpMyAdmin.backup.$(date "+%F_%T")

# extract
tar -xjf /tmp/${FILE} -C ${TARGET}

# rename directory to simply "phpMyAdmin"
mv ${TARGET}/phpMyAdmin-*/ ${TARGET}/phpMyAdmin/

# change owner
chown ${WWW_USER}:${WWW_USER} -R ${TARGET}/phpMyAdmin/

# todo, import tables
mysql --host=localhost --user=${DB_USER} --password=${DB_PASS} ${DB_NAME} [geshifilter- /var/www/phpMyAdmin/sql/create_tables.sql

Install Brother MFC-7320 on Ubuntu

Printer
wget https://raw.githubusercontent.com/panticz/installit/master/hardware/install.brother-mfc-7320.printer.sh -O - | sudo bash -

#!/bin/bash

# enable multiverse repository
cat < /etc/apt/sources.list.d/extra-repository.list
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs) universe
deb http://archive.ubuntu.com/ubuntu $(lsb_release -cs) multiverse
EOF
apt-get update -qq

# install printer driver
apt-get install -y brother-cups-wrapper-laser

# remove multiverse repository
rm /etc/apt/sources.list.d/extra-repository.list
apt-get update -qq

# create printer
lpadmin -p Brother-MFC-7320 -E -v usb://Brother/MFC-7320 -P /usr/share/ppd/Brother/MFC7220.ppd -o PageSize=A4

# FIXME: set resolution to 1200
# -o Resolution=1200x600dp
1

Scanner
!!! First POWER OFF your Brother MFC-7320 !!!
wget http://panticz.de/sites/default/files/scripts/install.brother-mfc-7320.scanner.sh -O - | sudo bash -


  

    

    Page not found | panticz.de
    







    









    
          
  
  


  
Page not found
The requested page could not be found.
1

!!! Now you can POWER ON your Brother MFC-7320 again !!!
Go Applications > Graphics > Simple Scan

Fax
not tested yet, see: http://wiki.ubuntuusers.de/Brother/Fax

Links
http://wiki.ubuntuusers.de/Brother/Drucker
http://wiki.ubuntuusers.de/Brother/Scanner
http://wiki.ubuntuusers.de/Brother/Fax
http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_prn.html#MFC-7320
http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_scn.html

Install uShare (UPnP server)

wget https://raw.githubusercontent.com/panticz/installit/master/install.ushare.sh -O - | bash -

#!/bin/bash

# install
sudo apt-get install -y ushare
 
# change rc order
sudo update-rc.d -f ushare remove
sudo update-rc.d ushare defaults 99
 
# configure network
sudo echo "post-up route add -net 239.0.0.0 netmask 255.0.0.0 eth0" >> /etc/network/interfaces
 
# OPTIONAL: configure ushare
sudo sed -i '22s|USHARE_DIR=|USHARE_DIR=/media/mp3,/media/video,/media/images|g' /etc/ushare.conf
 
# restart services
sudo service ushare networking
sudo service ushare restart

Web interface
http://YOUR_SERVER_IP:49152/web/ushare.html

Links
http://ushare.geexbox.org/

Install Wine

wget https://raw.githubusercontent.com/panticz/installit/master/install.wine.sh -O - | bash -

#!/bin/bash

# add repository
sudo add-apt-repository -y ppa:ubuntu-wine/ppa
sudo dpkg --add-architecture i386
sudo apt-get update -qq

# pre-answer installation questions
sudo debconf-set-selections <<\EOF
msttcorefonts msttcorefonts/defoma note
ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula boolean true
ttf-mscorefonts-installer msttcorefonts/present-mscorefonts-eula note
EOF

# install wine
if [ "$1" == "-n" ]; then
  # development release
  sudo apt-get install -y wine1.8
else
  # stable release
  sudo apt-get install -y wine1.6
fi

Downgrade to lastest Wine 1.2 (64 bit)
sudo apt-get remove wine1.4
cd /tmp
wget http://ie.archive.ubuntu.com/ubuntu/pool/universe/w/wine1.2/wine1.2_1.2.3-0ubuntu1_amd64.deb
wget http://ie.archive.ubuntu.com/ubuntu/pool/universe/n/nss-mdns/lib32nss-mdns_0.10-3.1ubuntu1_amd64.deb
sudo dpkg -i wine1.2_1.2.3-0ubuntu1_amd64.deb lib32nss-mdns_0.10-3.1ubuntu1_amd64.deb
wine --version

OPTIONAL: fake ie6 installation
wget kegel.com/wine/winetricks -P /tmp; sh /tmp/winetricks fakeie6

Compile wine
sudo add-apt-repository ppa:ubuntu-wine/ppa
sudo apt-get build-dep wine1.3
sudo apt-get --build source wine1.3
./configure
make

LINKS
http://appdb.winehq.org/ - supported applicatinos
http://www.winehq.org/site/download-deb - Wine for Debian based distributions
http://wiki.winehq.org/AdobePhotoshop
http://wiki.winehq.org/AdobeAcrobatPro

Syndicate content