![]() |
||
The Crucial Blog - Archive August 11, 2009
How to install dig on Ubuntu or DebianTo install the dig command on Ubuntu or Debian run the following: apt-get install dnsutils Tags: debian, networking, server-administration, ubuntuNo Comments Filed under: Uncategorized by — aaron @ 8:24 pm March 15, 2009
Debian 5 (Lenny) VPS Plans Available at Crucial Paradigm!That’s right, we now have Debian 5 (Lenny) available on our current VPS plans! Just select Debian 5 while placing your order, or from the VPS control panel you can rebuild your VPS with Debian 5 (all data will be lost if you do this!). Tags: debian, linux, server-administrationNo Comments Filed under: Uncategorized by — aaron @ 11:59 pm September 27, 2008
How to List all packages available to install from Debian RepositoryThis is a command to list all packages available to install from the repositories you have configured in Debian: apt-cache pkgnames Tags: debian, linux, server-administrationNo Comments Filed under: Uncategorized by — aaron @ 12:38 am August 26, 2008
How to add and remove software on Debian 3 or 4Installing software on Debian:
Removing software on Debian: Tags: debian, linux, server-administration No Comments Filed under: Uncategorized by — aaron @ 8:45 pm May 8, 2008
Xen: Console Not working Ubuntu 7We came up with an issue with Xen with Ubuntu 7 would show output on the console, however froze part way through the # aptitude install xen-tools Add the following to /etc/sercuretty xvc0 Create the file /etc/event.d/xvc0 containing: # xvc0 – getty start on runlevel 2 stop on runlevel 0 respawn Reboot Tags: debian, linux, ubuntu, xenNo Comments Filed under: Uncategorized by — aaron @ 12:02 am March 6, 2008
HyperVM/Xen nash-hotplug using 100% of resources (Debian)Some of the default HyperVM templates have an issue with nash-hotplug taking a large amount of resources (usually 99%). If you are having this issue, a quick an easy way to fix this is add the following to /etc/rc.local on the guest VDS:
This is a temporary fix, until a more permanent one is provided by Lxlabs/HyperVM. This problem is supposedly already fixed in CentOS 4, however seems to still appear in Debian 3. For debian, do the following: Open up /etc/init.d/local and add:
Then run the following: Tags: debian, hypervm, vds, xen No Comments Filed under: Uncategorized by — aaron @ 5:10 pm February 25, 2008
Configuring Network Interfaces on CentOS, Redhat, Fedora Core, and DebianCentOS/Red Hat/Fedora Core: The network configuration files are in the folder: The files for the interfaces will be ifcfg-eth0, ifcfg-eth1, ifcfg-eth0:0 (if there are sub-interfaces) Static IP address configuration: Please specify ‘ONBOOT=yes’ which will activate the interface upon system boot Dynamic IP address configuration: Change BOOTPROTO value to dhcp To bind a range of IP address, create a file called ifcfg-eth0-range0 (for example eth0:0, eth0:1, etc) The entries should be: ——————————- IPADDR_START: This is the first IP from the address range you want to bind to your ethernet device. The gateway for the network can be specified in the file ‘/etc/sysconfig/network’ You may also use ‘/usr/sbin/system-config-network-tui’ to configure the network interfaces Debian: The entires are: auto eth0 After you configure the network interfaces restart the network service using ‘/etc/init.d/networking restart’ Tags: centos, debian, fedora core, networking, system administrationNo Comments Filed under: Uncategorized by — aaron @ 12:01 am February 17, 2008
Resetting lost root password in Debian serverIn Debian getting into just the single user mode may not allow you to reset the root password. It might prompt you with the following question ‘Give root password for maintenance (or Control-D to continue)’ . Don’t worry, reboot the server. (1) At grub boot screen, select the kernel and press ‘e’ to edit the entry. (2) Another list will show up. Scroll down and pick from the list something that looks like this (or something similar): kernel /vmlinuz-x.x.x-x.x ro root=/dev/abc/ (3) Type ‘e’ again to edit this line. Make sure that you press the space bar and add the following: init=/bin/bash (4) Then press enter. The line should look something like this then: kernel /vmlinuz-x.x.x-x.x ro root=/dev/abc/ init=/bin/bash (5) Press ‘b’ to boot. This will take you into a bash terminal. From there you’ll have to mount your hard drive and allow for read/write permissions. (6) mount -o remount,rw / You need to do this because / is currently mounted read-only and many disk partitions might have not been mounted yet. Or If you have to see the mount details. Type the command mount It should come up with something like, for /: /dev/abc (rw) It looks like it’s already set for read/write permissions, but it’s not (just try and reset the password with the passwd command and see what happens). To mount it again type the following command: mount -o remount,rw /dev/abc / (7) Now you should be able to change the root password by issuing the following command: passwd (8) After the password has been reset, type ‘reboot’ and reboot the server. The job is done Note: For LILO: (1) As the server reboots, you might have to hold in the “shift” key to see the lilo: prompt (depending on the setup) (2) At the lilo boot screen, as soon as ‘boot:’ appears enter: boot: Linux init=/bin/bash This causes the system to boot the kernel and run /bin/bash instead of its standard init. Follow the same procedure of remounting slash as with GRUB. Tags: debian, linux, system administration(1) Comment Filed under: Uncategorized by — aaron @ 2:39 pm |
Tag Cloud
windows 2008 server
windows
servers
xen
esxi
server-administration
virtualization
wordpress
debian
fantastico
yum
vds
storage
lxlabs
vps
ubuntu
gentoo
mail
apache
joomla
linux
ruby-on-rails
security
raid
cpanel
windows server
virtual dedicated servers
webmin
subversion
cisco
lxadmin
ssh
microsoft
php
hypervm
system administration
vmware
control panels
centos
firewall
XenServer
exchange
networking
fedora
centos5
|
|
Quick Links: Debian Dedicated Servers, Direct Deposit Hosting, Unmetered Dedicated Servers, Virtual Dedicated Servers, Windows Server Management, High Traffic Web Hosting - Load Balanced Clusters, Windows 2008 Server Virtual Dedicated Servers
© Copyright 2003-2008
Crucial Paradigm
ABN 97 125 618 662