home       inleiding       sysadmin       services       links       bash       werk       nothing      

blog ..


26/01/2017. rsyncing centos repo 7.2 from belnet to local:
 
rsync -avrt rsync://rsync.belnet.be/centos/7.2.1511/os/x86_64 /localpath
 


08/09/2016. CENTOS7 -- Resetting the Root Password Using an Installation Disk:
 
Start the system and when BIOS information is displayed, select the option for a boot menu and select to boot from the installation disk.
Choose Troubleshooting.
Choose Rescue a CentOS System.
Choose Continue which is the default option. At this point you will be promoted for a passphrase if an encrypted file system is found.
Press ENTER to acknowledge the information displayed until the shell prompt appears.
Change the file system root as follows:
 
sh-4.2# chroot /mnt/sysimage
 
Enter the passwd command and follow the instructions displayed on the command line to change the root password.
Remove the autorelable file to prevent a time consuming SELinux relabel of the disk:
 
sh-4.2#  rm -f /.autorelabel
 
Enter the exit command to exit the chroot environment.
Enter the exit command again to resume the initialization and finish the system boot.
 


28/04/2016. how to install centos7 without GUI
 
press ESC when the first screen is visible (Install / troubleshooting ...)
next type linux text behind the boot: prompt
 
point 3: repositories needs (1) http://
and repo ftp.belnet.be/ftp.centos.org/7.2.1115/os/x86_64