Fedora 17 on Dell 530s



yum -y update
(umask 022; sudo http_proxy=http://proxy:3128 ftp_proxy=http://proxy:3128 yum install yum-plugin-fastestmirror yum-plugin-{downloadonly,keys,priorities,remove-with-leaves,show-leaves,verify} nedit rxvt-unicode-256color xscreensaver\* xorg\*font\*Type1 xorg\*font\*misc screen dump rxvt rxvt-unicode-256color)
yum groupinstall LXDE
yum install kernel-devel gcc bison
vi /etc/yum.repos.d/google-chrome.repo

[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

chmod 644  /etc/yum.repos.d/google-chrome.repo
chown root:root  /etc/yum.repos.d/google-chrome.repo
yum install google-chrome-stable

sudoedit /etc/default/grub
# s/rhgb quiet/verbose/

sudo grub2-mkconfig -o /boot/grub2/grub.cfg

(umask 022; sudo yum -y groupinstall "Development Tools" "Development Libraries")

Installing virtualbox
curl http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc > oracle_vbox.asc
sudo rpm --import oracle_vbox.asc
rm oracle_vbox.asc
wget 'http://download.virtualbox.org/virtualbox/rpm/fedora/virtualbox.repo'
sudo cp virtualbox.repo /etc/yum.repos.d
sudo chown root:root /etc/yum.repos.d/virtualbox.repo
sudo chmod 0644 /etc/yum.repos.d/virtualbox.repo
(umask 022; sudo yum install VirtualBox-4.2)
sudoedit /etc/group
## add users to vboxusers
sudo VirtualBox
## File->Preferences->Extensions
### add Oracle VM VirtualBox Extension Pack (if you are licensed for it)

sudoedit /etc/mail/sendmail.cf
s/^DS.*$/DSct-svcs.example.com./

systemctl restart sendmail.service

(umask 022; sudo yum install ntp )
sudoedit /etc/ntp.conf
server  127.127.1.0     # local clock
fudge   127.127.1.0 stratum 10

sudoedit /etc/sysconfig/network
NETWORKWAIT=1

sudoedit /etc/hosts
## delete localhost from ipv6 line

sudo systemctl enable ntpd.service
sudo systemctl start ntpd.service

Openbox Configuration Manger -> Mouse -> Focus windows when mouse pointer moves over them


xinetd + tigervnc

sudo yum install xinetd tigervnc-server-minimal
sudoedit /etc/gdm/custom.conf
[security]
RelaxPermissions=0
[xdmcp]
Enable=1
HonorIndirect=1
[greeter]
Quiver=1
sudo useradd -d /var/empty/vncuser -m -s /bin/false vncuser
sudoedit /etc/services
vnc-1280        5900/tcp                        # VNC Listener
vnc-1440        5910/tcp                        # VNC Listener

sudoedit /etc/xinetd.d/vnc
# BEGIN
service vnc-1280
{
socket_type = stream
protocol = tcp
wait = no
user = vncuser
server = /usr/bin/Xvnc
server_args = -inetd -query localhost -desktop 1280x1024x24 -once -geometry 1280x1024 -NeverShared securitytypes=none
}
# END
# BEGIN
service vnc-1440
{
socket_type = stream
protocol = tcp
wait = no
user = vncuser
server = /usr/bin/Xvnc
server_args = -inetd -query localhost -desktop 1440x900x24 -once -geometry 1440x900 -NeverShared securitytypes=none
}
# END
sudo systemctl start xinetd.service
sudo systemctl status prefdm.service
sudo systemctl restart prefdm.service






Comments

Popular posts from this blog

YAML Syntax Highlighting in gedit

Xubuntu Home Server on Dell XPS 13 9370

Cygwin + syslog-ng