Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Monday, August 29, 2016

Install MongoDB 3.? on uBuntu 1604

Official Instructions
https://docs.mongodb.com/manual/tutorial/install-mongodb-on-ubuntu/

then create folder @ /data/db, i.e.
$ sudo mkdir /data
$ sudo mkdir /data/db


then fix file permissions:
$ sudo chown -R `id -u` /data/db

Saturday, August 13, 2011

Installing Django Under Ubuntu 11-04

From the $ prompt of the terminal:

$ sudo apt-get install python-django

Saturday, January 8, 2011

Ubuntu 10-10 on the Lenovo X100e ThinkPad

Installing Ubuntu Netbook Edition 10-10 Maverick Meerkat on the Lenovo X100e ThinkPad

I unsuccessfully attempted to use the PenDrive Universal Linux USB Installer, as recommended by the official 10-10 download page, as well as the USB Disk Creator from an older (9-10) live CD.

Specifically, I encountered the problem outlined here, namely

SYSLINUX 4.01 debian-20100714 EDD Copyright (C) 1994-2010 H. Peter Anvin et al
Unknown keyword in configuration file: gfxboot
boot:
vesamenu.c32: not a COM32R image


Various attempts at implementing suggested solutions failed, and so in the end I tried using UNetBootIn to create the USB bootable install, which has worked perfectly.

Importantly, the wireless LAN is seamlessly detected and operated by 10-10.

INSTALL/GENERAL
- justinsomnia
- petehowe
- semiantics

WLAN
- nulldevice
- how-to-linux

OPTIMISATION
- how-to-speed-up-ubuntu-910-on-x100e

10-10 Specific
- Customize 10-10


10-04
- karssen.com
- helmi-blebe
- decent post install guide

A Brief Review
Meerkat runs quite smoothly on my X100e with 2 MB or RAM. UI response is quite snappy, except for the Ubuntu button and following OS search functionality, which runs _very_ slowly for some unknown reason. Google Chromium runs v.fast. With the screen on bright, and the wireless lan card in use, you can literally watch the batter drain, and you'll get somewhere just under an hour. I can't get the proprietary video drivers to work under the std 32bit x86 binaries. I must try the AMD64bit binaries. All in all, quite happy. In terms of performance, I can listen to music in the background via rhythmbox, have a chrome instance open with a couple of tabs, and then develop python using Geany and the console, with no problems. The smart terminal has arrived.

UpDate 11-04
11-04 runs faster and smoother, with no more lag on using the Ubuntu button/OS search functionality.  Prooprietary graphics drivers installed and run ok.

Tuesday, September 22, 2009

Set GRUB Default Boot Option

config file = /boot/grub/menu.lst

edit line
## default num
...
default 0

change default number (generally to 4 for std ubuntu/win dual boot)

for karmic koala (9-10), the config file is /etc/default/grub
and change GRUB_DEFAULT=4

in either case, follow up with

update-grub

Source = HowToGeek

Saturday, August 15, 2009

Linux Python BlueTooth Dev

The official Linux BlueTooth protocol stack.
BlueZ
ubuntu pkg = bluez

A cross-platform Python Bluetooth API.
Light Blue
ubuntu pkg = python-lightblue

Python wrappers for bluetooth system resources.
Google PyBluez
ubuntu pkg = python-bluez

Open source implementation of the Object Exchange (OBEX) Protocol
Open OBEX
ubuntu pkg = openobex-apps

---

bug with my broadcom bluetooth usb dongle
https://bugs.launchpad.net/ubuntu/+source/gnome-bluetooth/+bug/133690

Saturday, June 20, 2009

Setting up a mySQL DataBase on uBuntu

http://www.debuntu.org/how-to-create-a-mysql-database-and-set-privileges-to-a-user

'import MySQLdb' failed

http://davidmichaelthompson.com/?p=12

duh, need to install package 'python-mysqldb', 'A Python interface to mySQL'.