You are on page 1of 3


nmcli d
systemctl restart network

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

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
package-cleanup --oldkernels --count=2 // de asemenea le si sterge

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


EDIT === nano /etc/default/grub


generezi din scripturile din /etc/grub.d

grub2-mkconfig --output=/boot/grub2/grub.cfg
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
Colour Depth 640x480 800x600 1024x768 1152×864 1280x1024 1400x1050
1600x1200 1920x1080
8 (256) vga=769 vga=771 vga=773 vga=353 vga=775
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
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 to

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

Switch to your new desktop environment:

To move to the graphical level (equivalent to the previous level 5), type:
systemctl isolate
to go back
systemctl isolate
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 ->
yum install gnome-disk-utility