Size: 3229
Comment:
|
Size: 3442
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 61: | Line 61: |
{{{GRUB_TIMEOUT=5 | {{{ GRUB_TIMEOUT=5 |
Line 107: | Line 108: |
== Other software == * yum update * yum install qt qt-x11 qt-webkit Get skype-4.3.0.37-fedora.i586.rpm * rpm -i skype-4.3.0.37-fedora.i586.rpm * yum install eclipse jboss-as mysql wget #jboss as 7.1 |
Fedora
Fedora is an operating system based on the Linux kernel, developed by the community-supported Fedora Project and owned by Red Hat.
Installation on Lenovo Thinkpad L440 - Virtualbox
- Name Fedora18
- Linux
- Fedora (64 bit)
- next
- 4GB RAM
- create virtual hard drive
- create , VDI, next , Fixed disk size: 8GB, create
- Change to 2 CPUs and 128 video memory
- Start
- Choose ISO
- Start Fedora 18
- Live User System , * Ctrl + f
- Install to hard disk
- Language english
- continue
- keyboard, +, portugese (portuguese)
- Add
- Remove english keyboard
- done
- Date and time, region europe, city Lisbon, Done
Installation destination, ATA VBOX HardDisk, done
- Begin installation
- Root password: ********
- confirm, done, quit
- Live System User, Power off, restart
Setup system
- Welcome
- Forward, forward, create user vitor, password: ********, Finish
- Sign in vitor
- Activities, terminal, su, cat /etc/redhat_release
- yum install kernel-devel-3.6.10-4.fc18.i686
- yum install java-1.7.0-openjdk java-1.7.0-openjdk-devel
- yum update
- yum install gcc
- ./VBoxLinuxAdditions.run # after mounting the guest additions with virtualbox
Disk resize
- Fedora 18 VM, settings, storage, controller SATA, add hard disk
create new disk, VDI, next, dynamic allocation, Fedora18Disk2, 8GB, create
- cfdisk /dev/sdb
- new, primary, type 8e (Linux LVM), write, quit
- fdisk -l
- pvcreate /dev/sdb1
- vgdisplay
- vgextend fedora /dev/sdb1
- pvscan
- lvdisplay
- lvextend /dev/fedora/root /dev/sdb1
- vgdisplay
- resize2fs /dev/fedora/root
Setup resolution
VBoxManage setextradata "Fedora 18" "CustomVideoMode1" "1366x768x32"
- vi /etc/default/grub
GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" GRUB_DEFAULT=saved GRUB_CMDLINE_LINUX="rd.lvm.lv=fedora/swap rd.md=0 rd.dm=0 $([ -x /usr/sbin/rhcrashkernel-param ] && /usr/sbin/rhcrashkernel-param || :) vconsole.keymap=pt-latin1 rd.luks=0 rd.lvm.lv=fedora/root rhgb quiet " GRUB_DISABLE_RECOVERY="true" GRUB_THEME="/boot/grub2/themes/system/theme.txt" GRUB_GFXMODE=1366x768 GRUB_GFXPAYLOAD_LINUX=1366x768
- vi /etc/X11/xorg.conf.d/50-screen.conf
Section "Monitor" Identifier "My Monitor" HorizSync 31.5 - 50.0 VertRefresh 40-90 EndSection Section "Device" Identifier "VESA Framebuffer" Driver "vesa" EndSection Section "Screen" Identifier "Screen 1" Device "VESA Framebuffer" Monitor "My Monitor" DefaultDepth 24 Subsection "Display" Depth 8 Modes "1366x768" "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 16 Modes "1366x768" "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 24 Modes "1366x768" "1024x768" "800x600" "640x480" EndSubsection Subsection "Display" Depth 32 Modes "1366x768" "1024x768" "800x600" "640x480" EndSubsection EndSection
- grub2-mkconfig -o /boot/grub2/grub.cfg
Other software
- yum update
- yum install qt qt-x11 qt-webkit
Get skype-4.3.0.37-fedora.i586.rpm
- rpm -i skype-4.3.0.37-fedora.i586.rpm
- yum install eclipse jboss-as mysql wget #jboss as 7.1