Ubuntu Server on PowerEdge R610 with raid

Linux (Ubuntu) No Comments »

http://ubuntuforums.org/showthread.php?t=1877789&page=2

I was installing Ubuntu Server 12.04 on a Dell PowerEdge R610 with RAID1 on a SAS6ir controller. After install completes successfully, it gets stuck on reboot with a prompt for initramfs
The link above is the only solution that worked for me:

  • type exit followed by Enter at the prompt
  • edit the file /etc/default/grub
  • change this line to: GRUB_CMDLINE_LINUX=”rootdelay=90″

Download and install latest updates

Linux (Ubuntu) No Comments »

sudo apt-get update
sudo apt-get upgrade

Load Server Graphical Interface

Linux (Ubuntu) No Comments »

When I was new to Linux, I needed to use the graphical interface to perform regular management tasks. After installing Ubuntu 8.04, setup was complete and I was left with a command line interface. Now what?
Here is how I loaded the beautiful graphical interface (gnome):

sudo aptitude update
sudo aptitude install ubuntu-desktop

Restart Linux services

Linux (Ubuntu) No Comments »

To restart Apache:
sudo /etc/init.d/apache2 restart

To restart Network:
sudo /etc/init.d/networking restart

Restart MySQL:
sudo /etc/init.d/mysql restart

Reboot server from Terminal:
sudo reboot

Change screen resolution

Linux (Ubuntu) No Comments »

My Ubuntu 8.04 server was connected to a KVM and automatic detection defaulted to 800×600 resolution, making it impossible to even see complete dialog boxes when administring the server. Going to the Screen Resolution option didn’t give me any options to change it.
I found this command that will launch a monitor selection config screen where you are able to select something like Generic LCD 1024×768:

gksudo displayconfig-gtk

Remove password prompt on SSL key

Linux (Ubuntu) No Comments »

I came across this problem the first time installed an SSL certificate on a website using Ubuntu 8.04
The server asked for a password every time Apache was restarted (including reboot). After searching online I found the following solution:

cd /etc/apache2/ssl
cp server.key server.key.orig
openssl rsa -in server.key.orig -out server.key

(replace server.key and related values with actual filenames in your setup)

Multiple static IP addresses on one network card

Linux (Ubuntu) No Comments »

To bind multiple static IPs to the same netowork card on a Linux server I found this solution online and it works great for me:

sudo nano /etc/network/interfaces (add .100 and .101 as static IPs on this server)
# The primary network interface
auto eth0
iface eth0 inet static
        address 192.168.0.100
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.1
auto eth0:1
iface eth0:1 inet static
        address 192.168.0.101
        netmask 255.255.255.0
        network 192.168.0.0
        broadcast 192.168.0.255
        gateway 192.168.0.1

(eth0 is the first physical network card)

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in