Pokazywanie postów oznaczonych etykietą install. Pokaż wszystkie posty
Pokazywanie postów oznaczonych etykietą install. Pokaż wszystkie posty

poniedziałek, 27 maja 2013

[Slax] Install Slax on HDD and usefull command





# run sshd


sh /etc/rc.d/rc.sshd start

mkfs -t ext2 /dev/sdc1

sed -i 's/OLD/NEW/g' filename







Installation


fdisk /dev/sda
# delete old partition "d"
# create new partition "n"
# more http://tldp.org/HOWTO/Partition/fdisk_partitioning.html
 
mkfs.ext2 /dev/sda1
mkswap /dev/sda2
swapon /dev/sda2

cd /mnt
mkdir sda1
mount /dev/sda1 sda1
mount

cp --preserve -R /{bin,dev,etc,home,lib,root,sbin,usr,var,opt} /mnt/sda1
mkdir /mnt/sda1/{boot,mnt,proc,sys,tmp}
cp /boot/vmlinuz /mnt/sda1/boot
mount -t proc proc /mnt/sda1/proc
mount --bind /dev /mnt/sda1/dev

Startx
#Enter KDE desktop. Visit slax.org to downlad and install #grub0.93.mo for slax #and rename it as grub.lzm
#www.slax.org/modules.php?category=system&id=2493&name=Grub #install the module

slax activate grub*

grub-install --root-directory=/mnt/sda1 /dev/sda
cd /mnt/sda1/boot/grub

slax activate nano

nano /mnt/sda1/boot/grub/menu.lst


#paste

timeout 1
default 0

color white/blue black/light-gray

# Linux Kernels
title Slax6
root (hd0,0)
kernel /boot/vmlinuz max_loop=255 init=linuxrc root=/dev/sda1 ro autoexec=xconf;kdm
boot

autoexec=swapon~/dev/sdb2





niedziela, 24 lutego 2013

[CentOS] Install google chrome


In terminal:

nano /etc/yum.repos.d/google-chrome.repo

paste for 32-bit

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

for 64-bit

[google-chrome] 
name=google-chrome - 64-bit 
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

and install

## Install Google Chrome Stable version ## 
yum install google-chrome-stable

## Install Google Chrome Beta version ## 
yum install google-chrome-beta

## Install Google Chrome Unstable version ## 
yum install google-chrome-unstable

sobota, 23 lutego 2013

[CentOS] Install skype


in terminal :


yum install libXrender.i686 libstdc++.i686 fontconfig.i686 pulseaudio-libs.i686 qt-x11.i686 qt.i686 glib2.i686 zlib.i686 freetype.i686 alsa-lib.i686 libXScrnSaver.i686 libXi.i686 libXv.i686 libXrandr.i686 libSM.i686


cd /tmp
wget http://download.skype.com/linux/skype_static-4.0.0.8.tar.bz2
mkdir /opt/skype
tar -xvf skype_static-4.0.0.8.tar.bz2 -C /opt/skype --strip-components=1

ln -s /usr/lib/libtiff.so.3 /usr/lib/libtiff.so.4

touch /usr/bin/skype
chmod 755 /usr/bin/skype


nano /usr/bin/skype

fill this:

#!/bin/sh
export SKYPE_HOME="/opt/skype"

$SKYPE_HOME/skype --resources=$SKYPE_HOME $*

and run

skype

środa, 20 lutego 2013

[CentOS] Installation from USB in Windows






CentOS Live USB Flash Drive in Windows:


Download liveusb-creator-x-x.zip and extract to your PC


Download CentOS-6*   .iso


Navigate to folder liveusb-creator and click liveusb-creator.exe to launch the tool


If you have any problems try UNetBootIn

wtorek, 19 lutego 2013

[CentOS] Install wifi card








lspci -nn | grep -i net

02:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR8151 v1.0 Gigabit Ethernet [1969:1073] (rev c0) 03:00.0 Network controller [0280]: Atheros Communications Inc. AR928X Wireless Network Adapter (PCI-Express) [168c:002a] (rev 01)

grep -i 168c /lib/modules/*/modules.alias | grep -i 002a /lib/modules/2.6.32-220.23.1.el6.x86_64/modules.alias:alias pci:v0000168Cd0000002Asv*sd*bc*sc*i* ath9k /lib/modules/2.6.32-279.5.2.el6.x86_64/modules.alias:alias pci:v0000168Cd0000002Asv*sd*bc*sc*i* ath9k /lib/modules/3.5.2-1.el6.elrepo.x86_64/modules.alias:alias pci:v0000168Cd0000002Asv*sd*bc*sc*i* ath9k

modprobe -r ath5x modprobe ath9x

service NetworkManager restart


facebook