Skip to main content

Posts

Showing posts with the label Debian

Installing Google Chrome in Ubuntu 12.10 from the command line

Of course you can install Chromium, but hey I wanna use Google Chrome. To install from the command line, do: $: cd ~/Downloads $: wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb $: sudo dpkg -i ~/Downloads/google-chrome-stable_current_i386.deb $: sudo apt-get -f install The last line is needed to install the required dependencies and complete Chrome installation. To install 64bit version of Chrome, you have to change download path to https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb , like: $: wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb Note(s): * This applies to Debian 7 Wheezy Reference(s): http://askubuntu.com/questions/79280/how-to-install-chrome-browser-properly-via-command-line

Additional packages for my base Debian 7 Wheezy

Below are the packages that I normally install after having configured by minimal base Debian 7 system. Leafpad text editor (leafpad) LightDM Display Manager (lightdm) LXDE Core window manager (lxde-core) LXDE GTK+ theme switcher (lxappearance) Midnight Commander (mc) Midori light weight GUI browser (midori) Synaptic package manager (synaptic) Terminus xfonts (xfonts-terminus)

Debian Squeeze minimal text based install - screenshot tour

Debian provides you with a lot of options in terms of how you setup/install your system. You can do it via GUI, through live CDs and of course the proven text based install. With Debian Squeeze out, it is time for me to install the latest that the Debian community has to offer. I find that the installation is very straightforward so I will just post screen captures where the user would need to interact with the installation for bare bones configuration. So here we go.... Figure 1. Installer Boot Menu Figure 2. Language selection Figure 3. Set your location, this is for time zone Figure 4. Keyboard map to use Figure 5. Set machine hostname Figure 6. Set domain name. For internal/home use, pick whatever you like Figure 7. Set root (administrator) password Figure 8. Verify root password Figure 9. Create user, this would be what you will be using most of the time Figure 10. Username for the new account Figure 11. Password for the new account Figure 12. Verify password for ne

Getting rid of SYSFS xserver-xorg-input-wacom error log during Debian Squeeze boot up

I have a system upgraded from Lenny to Squeeze and every time, during boot up sequence, I am seeing the log below: SYSFS{}= will be removed in a future udev version, please use ATTR{}= to match the event device, or ATTRS{}= to match a parent device, in /etc/udev/rules.d/z60_xserver-xorg-input-wacom.rules:11 I don't have a wacom device really, so I just decided to get rid of this error message. To do so, do: #: aptitude remove xserver-xorg-input-wacom Then, delete file z60_xserver-xorg-input-wacom.rules from /etc/udev/rules.d Is this the right way to do it? I don't know :) @timus@

Rubberband selection and text selection not working in Debian Squeeze

I was playing around with Debian Squeeze and observed that rubberband selection and text selection is not working. The Debian Squeeze machine is a VirtualBox guest upgraded from Debian Lenny. I suspected that this maybe caused by Gnome/gtk configuration that was messed during upgrade to Squeeze. Tried to install LXDE and still no dice, same issue observed. I was guessing then that this might be an xorg driver issue (vboxvideo) or mouse (vboxmouse). I started making adjustments to my xorg.conf and waalaah.... issue fixed. This is a snippet of the original configuration: Section "InputDevice" Identifier "Configured Mouse" Driver "vboxmouse" Option "CorePointer" Option "Device" "/dev/input/mice" Option "Protocol" "ImPS/2" Option "Emulate3Buttons" "true" EndSection Changed it

Minimal Debian Lenny wiht Fluxbox on VirtualBox

Work in progress!!!!! #: aptitude install x-window-system-core #: aptitude install fluxbox fluxconf #: exit (to user) $: startx From the fluxbox session, open a terminal. Do the following to install VirtualBox integration: $: su #: aptitude install build-essential #: aptitude install linux-headers-`uname -r #: mount /media/cdrom #: cd /media/cdrom #: sh VBoxLinuxAdditions-x86.run #: reboot We should have a nicely integrated. Note that this configuration will start in console mode (init 3). You should run startx to go to the X session. Now try to change to one of the default styles, this case "flux". menu | Styles | flux Setting up fonts in Debian - link

Minimal Debian Lenny install on VirtualBox

Pre-requisite: - internet connection - Virtual Box installed on host machine. This exercise will be using Vista as host. As of this writing, Debian Lenny is still at testing stage. For this exercise we will use RC1, visit http://www.debian.org/releases/testing/ for the netinstall iso. Once download is done, create a new virtual machine using Virtual Box, use the following configuration: 512 MB Memory, 120 GB HD, use Intel PRO/1000T server for the network card. For the VirtualBox networking I am using host network configuration. Once VirtualBox guest configuration is set, start the guest machine and then mount the CD-ROM image. In installer boot menu, select Graphical Install. For "Chose the Language" screen, select English or your language of choice. For the country, select whichever you are currently in. In my case, I will be using Philippines. In "Keymap to use" select "American English" or whichever is much appropriate for your system. After this s

Minimal Debian Etch install with X on VirtualBox host

This to document minimal installation of Debian 4.0 (Etch) on VirtualBox host. Download latest Debian Etch, I am using debian-40r3-i386-netinst.iso. During the package installation, deselect all. This should give you a minimal Debian installation. During installation, you say "No" during selecting the mirror. We will update /etc/app/sources.list after the installation anyway. Reboot virtual machine after installation. Add the following lines to your /etc/apt/sources.list, I am using nano to edit sources.list file. Since I am near Hongkong, I selected the mirror sites as shown below, change this as you see fit: hostname:/# nano -w /etc/apt/sources.list Additional entries into /etc/apt/sources.list #more entries from here of course from /etc/apt/sources.list deb http://ftp.hk.debian.org/debian etch main contrib non-free deb-src http://ftp.hk.debian.org/debian etch main contrib non-free Then do: hostname:/# aptitude update hostname:/# aptitude upgrade The above command

Minimal Debian Etch install with X and open-vm-tools

World wide mirror sites ( link ) After installing the base system, do the following. For main Debian repository hostname:/# nano -w /etc/apt/sources.list #more entries from here of course from /etc/apt/sources.list deb http://ftp.debian.org/debian etch main contrib non-free deb-src http://ftp.debian.org/debian etch main contrib non-free deb http://www.backports.org/debian etch-backports main contrib non-free Hongkong is best for my case too: #more entries from here of course from /etc/apt/sources.list deb http://ftp.hk.debian.org/debian etch main contrib non-free deb-src http://ftp.hk.debian.org/debian etch main contrib non-free deb http://www.backports.org/debian etch-backports main contrib non-free Notice that we added backports URL in sources.list. That's where open-vm-tools are currently hosted. Continue with installing the rest of the software: :/# wget -O - http://backports.org/debian/archive.key | apt-key add - :/# apt-get update :/# apt-get install less  Depen

Fixing VBox guest lossing networking connection

When playing around with Virtual Box guests running Linux, the network connection my get lost on Debian Etch when the virtual interface's MAC changes. This is due to the fact that this version of linux is using udev and fortunately udev detects changes to MAC address. So basically, each new network interface with new MAC address gets its new ethx network interface device name. In my case, I got 3 ethx's already so I need to get rid of the unnecessary interfaces. As a root do this: $: su #: cd /etc/udev/rules.d #: mkdir ~/bak #: cp zxx_persistent-net-generator.rules ~/bak #: rm zxx_persistent-net-generator.rules #: /etc/init.d/udev stop #: /etc/init.d/udev start Note that we make a backup of the file just in case we need to go back. Also, for zxx_persistent-net-generator.rules, xx is any two digit number. So just go check the directory for a file that resembels *_persistent-net-generator.rules. Now to prevent udev to generate new interface for every new MAC address for Virtu

Copy and Paste in rdesktop

I have installed Remotedesktop Client 0.23 (Gnome frontend for rdesktop) to connect to my Windows machine. Unfortunately, I am unable to perform copy and paste between my rdesktop sessions and/or rdesktop to a text editor running in Linux. The good thing is that there is a work-around for this. Connect to the Windows machine using RDP 5. Thus say: #: rdesktop -5 hostname -g 1024x768 -u user.name ~ts

Minimal Debian Install with X in Vmware

World wide mirror sites ( link ) After installing the base system, do the following. For main Debian repository hostname:/# nano -w /etc/apt/sources.list #more entries from here of course from /etc/apt/sources.list deb http://ftp.debian.org/debian etch main contrib non-free deb-src http://ftp.debian.org/debian etch main contrib non-free Hongkong is best for my case too: #more entries from here of course from /etc/apt/sources.list deb http://ftp.hk.debian.org/debian etch main contrib non-free deb-src http://ftp.hk.debian.org/debian etch main contrib non-free Continue with installing the rest of the software: hostname:/# apt-get update hostname:/# apt-get install less Depending on your Debian version, do install xorg related packages. Debian Sarge 3.1 Debian Etch apt-get install x-window-system-core apt-get install xorg Note: Based from this url , the above package is for compatibility only from Debian 3.x. Etch should instead use xorg package. hostname:/# apt-

Getting sound working on ECS A097 under Debian Etch

I had my machine installed with Debian Etch minimal install. Looks like by default alsa-base et al are not installed by default. Anyway, to get sound working on this machine and distribution, just do: ~: su #: apt-get install alsa-base alsa-utils and off you go. Also visit the following links for more information http://forums.debian.net/viewtopic.php?t=21180 http://newbiedoc.berlios.de/wiki/Sound_in_Debian_GNU/Linux ~ts

Changing the default system font used by Iceweasel/Firefox on Debian Etch

What I mean with system font here is the font that is being used in the menu bar.. etc. That would include anything that is shown in the About window, task bar, tab bar. For this exercise we will use terminus. This may not be the best font for menus as this is a fixed width font i think. Anyway, we need to first install the font first. ~: su #: apt-get install terminus #: exit ~: cd ~/.mozilla/firefox Here you need to determine what is the first part of *.defualt. Once you have the name then do change into that directory, example: ~: cd xpwzepdt.default Now make a copy of userChrome-example.css ~: cp userChrome-example.css userChrome.css Do edit the file, then make the following changes # ~: nano -w userChrome.css # this one will set the default system Iceweasel font to terminus * { font-family: terminus !important; font-size: 8pt !important; } Enjoy! ~ts

Configure gateway on an interface brought up with dhcp

My home network is quite non-standard. I have an AirLink 101 wireless router which act as a DHCP server as well. I haven't found a way to configure this device so that the data returned by the DHCP server to the clients will include my real gateway machine's address. I think this is possible with this device but since the manual is so sparce and I haven't encountered information online that shows me how to do this so I change the gateway address instead on the clients. For machines with Debian Etch installed, this can be configured in /etc/network/interfaces. See below for my configuration: #: nano -w /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface allow-hotplug eth0 iface eth0 inet dhcp gateway 192.168.1.10 up route del default up route add default gw 192.1