Ubuntu

Ubuntu VirtualHost overlap on port 443, the first has precedence

log:

[warn] _default_ VirtualHost overlap on port 443,the first has precedence

solution:
add NameVirtualHost *:443 to /etc/apache2/ports.conf

source
By WladyX on 29 December, 2011 | Apache, Ubuntu | A comment?

Install Legato client on Ubuntu Server

  • Install alien to convert rpmpackages
    • apt-get install alien
  • Convert to debian packages and install
    • alien --to-deb -i lgtoman-7.6.2.6-1.x86_64.rpm
    • alien --to-deb -i --scripts lgtoclnt-7.6.2.6-1.x86_64.rpm (ignore scripts warning)
  • cd /etc/init.d
  • update-rc.d networker defaults
  • Update /nsr/res/servers adding legatosrv (/nsr directory isn’t created until after networker is started the first time, even then the servers file isn’t created)
  • ./networker start

source

By WladyX on 13 December, 2011 | Ubuntu | A comment?

Conky Weather Forecast Python Script

- i received a key from weather.com on 6th of nov, but no partner id. i just removed the relevant part from the conkyforecast.config and it seems to work fine.

.conkyForecast.config:
CACHE_FOLDERPATH = /tmp/
CONNECTION_TIMEOUT = 5
EXPIRY_MINUTES = 15
TIME_FORMAT = %H:%M
DATE_FORMAT = %d/%m/%Y
LOCALE =fin
XOAP_LICENCE_KEY = xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
MAXIMUM_DAYS_FORECAST = 5
BASE_XOAP_URL = http://xml.weather.com/weather/local/?cc=*&dayf=10&link=xoap&prod=xoap&key=&unit=m

source

By WladyX on 29 November, 2011 | Ubuntu, X11 | A comment?

Upgrading Ubuntu EOL

The upgrade
Please make sure you have the following sources.list (/etc/apt/sources.list remove all other entries you have there).

## EOL upgrade sources.list
# Required
deb http://old-releases.ubuntu.com/ubuntu/ intrepid main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ intrepid-updates main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ intrepid-security main restricted universe multiverse

Update the package list and upgrade all the installed packages

sudo apt-get update && sudo apt-get dist-upgrade

Perform the release upgrade.

sudo do-release-upgrade

source

By WladyX on 23 November, 2011 | Ubuntu | A comment?

Apt proxy

/etc/apt/apt.conf:
Acquire::http::Proxy "http://10.0.0.1:3128";

By WladyX on | Ubuntu | A comment?

SSHplus

sshplus rename to sshplus.py

If there is no icon, change:
ind = appindicator.Indicator("simplestarter", "network-transmit-receive",

source source2

By WladyX on 14 October, 2011 | Cool Apps, Ssh, Ubuntu | 1 comment

Change hostname in Debian/Ubuntu

Change the hostname in /etc/hostname and /etc/hosts.

source

By WladyX on 13 October, 2011 | Ubuntu | A comment?

Terminator

sudo add-apt-repository ppa:gnome-terminator
sudo apt-get update
sudo apt-get install terminator

source

By WladyX on 6 October, 2011 | PPA, Ubuntu | 1 comment

Selectively Disable Overlay Scrollbars

Any application can be started without overlay scrollbars by changing the LIBOVERLAY_SCROLLBAR environment variable to 0. When starting an application from the terminal, prepend the command with LIBOVERLAY_SCROLLBAR=0. This example will start gedit with classic scrollbars:
LIBOVERLAY_SCROLLBAR=0 gedit

You can disable the scrollbars for your user:

Add the line
export LIBOVERLAY_SCROLLBAR=0
to the file ~/.xprofile (create one, if it doesn’t exist).

source1 source2

By WladyX on 3 October, 2011 | Ubuntu | A comment?

Change fonts and other settings in Ubuntu Oneiric 11.10

sudo apt-get install gnome-tweak-tool

source

By WladyX on | Ubuntu | A comment?