You are on page 1of 3

NETWORK CONFIGURATION

====================================================================
nmcli d
nmtui
systemctl restart network

YUM
===================================================================================
===
yum --installroot=
yum --showduplicates
yum --obsoletes // enable obsoletes processing during updates
yum --enablerepo=
yum --disablerepo=
yum --skip-broken // skip packs which depsolving problems
yum --color=COLOR // ctl daca color e folosit
yum --release=RELEASEVER
// set value of $releasever in yum config and repo files
yum --downloadonly
yum --version // display YUM version

yum version // display a version for the machine and or avail repos
yum search // search package details for a given string
yum provides // check what package provides the given value

yum repolist // lista de repositories


yum repo-pkgs // threat a repo as a group af pkgs so we can install/remove all
of them
yum groups ... ???

yum install // evident …


yum reinstall // la fel de evident
yum erase // remove a pack or packs from your system

yum check-update // check for available packages updates


yum updateinfo ... ???
yum upgrade // Updates packages taking obsolete into account
yum downgrade // Opus mai sus …
yum distribution-synchronization // sync installed packs to the latest available
ver.

yum clean // Remove cache data

yum autoremove

package-cleanup --leaves --all // This will produce a list of "libraries" on


which nothing else depends. In most cases you can safely remove these packages. If
you add --all to the command line:

/etc/yum.conf to:
installonly_limit=3 //cate kerneluri sa pastrezi
sau
package-cleanup --oldkernels --count=2 // de asemenea le si sterge

. . . and may more check man say bags doar yum


===================================================================================
=======

EDIT === nano /etc/default/grub

GRUB_CMDLINE_LINUX_DEFAULT="video=1024x768"
GRUB_GFXMODE=1024x768
GRUB_GFXPAYLOAD_LINUX=1024x768

generezi din scripturile din /etc/grub.d


cu
grub2-mkconfig --output=/boot/grub2/grub.cfg
sau
cp -a /boot/grub2/grub.cfg{,.orig}
grub2-mkconfig -o /boot/grub2/grub.cfg
grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg

NERECOMANDAT !!! old metod can niu exista KMS


in /boot/grub2/grub.cfg adauci la capatul liniei vmlinux
vga=xxx
Colour Depth 640x480 800x600 1024x768 1152×864 1280x1024 1400x1050
1600x1200 1920x1080
8 (256) vga=769 vga=771 vga=773 vga=353 vga=775
vga=796
15 (32K) vga=784 vga=787 vga=790 vga=793
16 (65K) vga=785 vga=788 vga=791 vga=355 vga=794 vga=834 vga=884
vga=852
24 (16M) vga=786 vga=789 vga=792 vga=795 vga=853

1360x768x32 vga=0x359 transformat in zecimal vga=857


1344x756x32 vga=0x361 transformat in zecimal vga=865

I've got it by setting for 'vga=' statment definitely inappropriate value (I've
used 0x666 :twisted: ) so I've got a message 'bout value's inapproprietness and
after pressing ENTER received possible values list.

P.S. Good luck!

===================================================================================
=======

If you want to run MATE on CentOS 7, I'd suggest opting for the "minimal" package
option during initial installation (or at least not selecting an alternative
desktop environment).

Install the epel repository:


yum install epel-release

Install the X Window System:


yum groupinstall "X Window system"

Install the MATE desktop:


yum groupinstall "MATE Desktop"

Change systemd default.target to graphical.target:


ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target
sau
To set the default run level to non-graphical mode, type:
systemctl set-default graphical.target

Switch to your new desktop environment:


To move to the graphical level (equivalent to the previous level 5), type:
systemctl isolate graphical.target
to go back
systemctl isolate multi-user.target
exist si un
systemctl rescue

You will most likely want the Gnome Disk Utility as it the easiest way to interface
with your disks. Once installed it can be found in: Applications -> Accessories ->
Disks
yum install gnome-disk-utility