Centos 7
Centos 7
Centos 7
Si el sistema est ejecutando CentOS o RHEL usted puede utilizar este comando
para comprobar o determinar cul es la versin de su sistema operativo RHEL o
CentOS:
cat /etc/*release*
http://www.linuxito.com/gnu-linux/nivel-medio/407-que-hacer-despues-de-instalarcentos-7-con-kde
Permitir sudo
http://www.dokuwiki.tachtler.net/doku.php?id=tachtler:centos_7__minimal_desktop_installation
eine
Installationsschritt: 1
Installation der rpm-Paket-Gruppe X Window Systems mit nachfolgendem Befehl:
# yum groupinstall "X Window System"
...
Complete!
Installationsschritt: 2
Installation des rpm-Pakets gnome-classic-session mit nachfolgendem Befehl:
# yum install gnome-classic-session
...
Complete!
Installationsschritt: 3
Installation der rpm-Pakete
control-center
gnome-terminal
nautilus-open-terminal
liberation-mono-fonts
Installationsschritt: 4
Lsen der bisherigen Verknpfung des systemd
target - /etc/systemd/system/default.target von der bisherigen Verlinkung nach
/lib/systemd/system/multi-user.target
/lib/systemd/system/graphical.target
# ll /etc/systemd/system/default.target
lrwxrwxrwx. 1 root root 36 Aug 8 14:25 /etc/systemd/system/default.target ->
/lib/systemd/system/graphical.target
HIWEIS - Damit wird beim Startvorgang des Servers in eine grafische Benutzeroberflche
gestartet !
Installationsschritt: 5
Neustart des Servers, was mit nachfolgendem Befehl durchgefhrt werden kann:
# reboot
Anmeldebildschirm
Nach Durchfhrung aller vorhergehenden Installationsschritte, sollte nachfolgender Bildschirm nach
dem Reboot (Neustart) des Servers erscheinen:
#yuminstalllinks
For usage and examples to browse web sites u links tool, read our
article Command Line Web Browsing with Links Tool
sudo apt-get
--purge remove
google-chromebeta
sudo apt-get
--purge remove
google-chromestable
dpkg -i googlechromestable_current_i38
6_36.0.deb
google-chrome
--no-sandbox
--user-data-dir
By using Googles official repository you will keep your Chrome browser upto-date. However, it should also work on RHEL 7.0/6.x, CentOS
7.0/6.x and Fedora 24-15 versions as well.
[googlechrome]
name=googlechrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dlssl.google.com/linux/linux_signing_key.pub
#yuminfogooglechromestable
Sample Output
Check Google Chrome Package Info
Loadedplugins:fastestmirror,langpacks,versionlock
Loadingmirrorspeedsfromcachedhostfile
*base:centosmirror.go4hosting.in
*epel:epel.scopesky.iq
*extras:centosmirror.go4hosting.in
*remisafe:mirror.cedia.org.ec
*rpmforge:mirror.smartmedia.net.id
*updates:centosmirror.go4hosting.in
AvailablePackages
Name:googlechromestable
Arch:x86_64
Version
: 53.0.2785.116
Release:1
Size:47M
Repo:googlechrome
Summary:GoogleChrome
URL:https://chrome.google.com/
License:Multiple,seehttps://chrome.google.com/
Description:ThewebbrowserfromGoogle
:
:GoogleChromeisabrowserthatcombinesaminimaldesignwithsophisticated
technologytomakethewebfaster,safer,andeasier.
Do you see the highlighted output in the above, that clearly telling that the
latest version of chrome is available from repository. So, lets install it
using yum command as shown below, which will automatically install all
needed dependencies.
#yuminstallgooglechromestable
Sample Output
Install Google Chrome in Linux
Loadedplugins:fastestmirror,langpacks,versionlock
Loadingmirrorspeedsfromcachedhostfile
*base:centosmirror.go4hosting.in
*epel:mirror.premi.st
*extras:centosmirror.go4hosting.in
*remisafe:mirror.cedia.org.ec
*rpmforge:mirror.smartmedia.net.id
*updates:centosmirror.go4hosting.in
ResolvingDependencies
>Runningtransactioncheck
>Packagegooglechromestable.x86_640:53.0.2785.1161willbeinstalled
>FinishedDependencyResolution
DependenciesResolved
==============================================================================
==========================
PackageArch
VersionRepository
Size
==============================================================================
==========================
Installing:
googlechromestablex86_64
53.0.2785.116-1googlechrome
47M
TransactionSummary
==============================================================================
==========================
Totaldownloadsize:47M
Installedsize:181M
Isthisok[y/d/N]:y
Update : Sadly, the Google Chrome browser no longer supports the most
famous commercial distribution RHEL 6.x and its free clones such
as CentOS and Scientific Linux.
Yes, theyve discontinued support for RHEL 6.X version as of Google
Chrome and on other side, latest Firefoxand Opera browsers run
successfully on the same platforms.
Luckily, there is a script developed by Richard Lloyd, that automatically
download and install latest Google Chrome browser by picking libraries from
a more recent released distro and put those libraries in
(/opt/google/chrome/lib) directory and then you can able to run Google
Chrome on RHEL/CentOS 6.x versions.
#wgethttp://chrome.richardlloyd.org.uk/install_chrome.sh
#chmodu+xinstall_chrome.sh
#./install_chrome.sh
Sample Output
Richard Lloyd Google Chrome Script
GoogleChromeInstaller7.50onthex86_64platform
(C)RichardK.Lloyd2016
***Creatingtemporarydirectory/tmp/chrome_install...
***Changingworkingdirectoryto/tmp/chrome_install...
***Generatingalistofoutofdatepackages(pleasewait)...
***Checkingforanupdatetoinstall_chrome.sh...
***Downloadingversion.dat(pleasewait)...
2016092002:11:44https://chrome.richardlloyd.org.uk/version.dat
Resolvingchrome.richardlloyd.org.uk(chrome.richardlloyd.org.uk)...
193.110.246.232
Connectingtochrome.richardlloyd.org.uk(chrome.richardlloyd.org.uk)|
193.110.246.232|:443...connected.
HTTPrequestsent,awaitingresponse...200OK
Length:5
Savingto:version.dat
100%
[=============================================================================
========================================================================>]5
.K/sin0s
2016092002:11:44(335KB/s)version.datsaved[5/5]
***install_chrome.shisalreadythelatestversion(7.50)continuing...
***DetermininglatestGoogleChromeversionnumber(pleasewait)...
***Downloadingchrome_versions.csv(pleasewait)...
2016092002:11:46http://omahaproxy.appspot.com/all?
os=linux&channel=stable
Resolvingomahaproxy.appspot.com(omahaproxy.appspot.com)...216.58.220.177,
2404:6800:4009:801::2011
Connectingtoomahaproxy.appspot.com(omahaproxy.appspot.com)|
216.58.220.177|:80...connected.
HTTPrequestsent,awaitingresponse...200OK
Length:318[text/plain]
Savingto:chrome_versions.csv
100%
[=============================================================================
========================================================================>]318
.K/sin0s
2016092002:11:46(39.1MB/s)chrome_versions.csvsaved[318/318]
***Latestgooglechromestableversionnumberis53.0.2785.116...
***Downloadinggooglechromestable_current_x86_64.rpm(pleasewait)...
2016092002:11:46https://dl.google.com/linux/direct/googlechrome
stable_current_x86_64.rpm
Resolvingdl.google.com(dl.google.com)...216.58.199.142,
2404:6800:4009:806::200e
Connectingtodl.google.com(dl.google.com)|216.58.199.142|:443...connected.
HTTPrequestsent,awaitingresponse...200OK
Length:49781619(47M)[application/xrpm]
Savingto:googlechromestable_current_x86_64.rpm
100%
[=============================================================================
========================================================================>]
4,97,81,6193.40MB/sin14s
2016092002:12:00(3.42MB/s)googlechromestable_current_x86_64.rpm
saved[49781619/49781619]
***GoogleChrome53.0.2785.116downloadedsuccessfully...
***InstallingGoogleChrome53.0.2785.116RPM(pleasewait)...
Preparing...#################################[100%]
Updating/installing...
1:googlechromestable53.0.2785.11#################################[100%]
Redirectingto/bin/systemctlstartatd.service
***GoogleChrome53.0.2785.116wasinstalledsuccessfully...
***/opt/google/chrometreecontains87filestotalling181MB...
***/tmp/chrome_installtreecontains1filestotalling47MB...
GoogleChrome53.0.2785.116wasinstalledsuccessfully.
Pleaserunthebrowserviathe'googlechrome'commandasanonrootuser.
ToupdateGoogleChrome,run"yumupdategooglechromestable"or
simplyrerunthisscriptwith"./install_chrome.sh".
TouninstallGoogleChrome,
run"yumremovegooglechromestable"or"./install_chrome.shu".
#googlechrome&
http://www.tecmint.com/install-google-chrome-on-redhat-centos-fedora-linux/
vi/etc/yum.repos.d/webmin.repo
[Webmin]
name=WebminDistributionNeutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1
rpmimporthttp://www.webmin.com/jcameronkey.asc
yumcheckupdate
Install webmin:
yuminstallwebminy
chkconfigwebminon
servicewebminstart
firewallcmdaddport=10000/tcp
Webmin screen
http://lintut.com/how-to-install-webmin-on-centos-7/
#aptgetinstalllynx
#aptgetinstalllinks
#yumyinstalllynx
#yumyinstalllinks
#lynxhttp://www.tecmint.com
OR
#linkshttp://www.tecmint.com
http://www.tecmint.com/command-line-web-browsers/
https://globedrill.com/webmin-this-web-server-is-running-in-ssl-mode-try-the-urlinstead/
IPV6_FAILURE_FATAL="no"
NAME="ens160"
UUID="5fc69-xxx-xxx-xxx-xxx"
ONBOOT="yes"
IPADDR0= "192.168.1.100"
PREFIX0= "24"
GATEWAY0= "192.168.1.1"
DNS1= "8.8.8.8"
Luego debemos actualizar los paquetes ya existentes en el sistema (tomar algunos minutos):
1
yum update
Despus que Yum ha actualizado todo y nos permite continuar, debemos instalar varios paquetes
adicionales que se requieren en el servidor.
Para instalar un paquete que no est instalado ya, hay que usar la opcin de yum install, de la forma:
1
Empezamos con:
1
A su vez, para instalar varios paquetes simultneamente es posible colocar los nombres de los mismos
separados por espacios. En este caso los paquetes que requerimos se obtienen con el comando (tomar
varios minutos):
1 yum install fetchmail wget bzip2 unzip zip nmap openssl lynx fileutils ncftp
gcc gcc-c++
La funcin de estos paquetes es:
fetchmail: Permite bajar correo electrnico desde un servidor remoto, el cual podr ser filtrado y
retransmitirlo al sistema local.
wget: Permite la descarga de contenidos desde servidores web de una forma simple. Actualmente
soporta descargas mediante los protocolos HTTP, HTTPS y FTP.
bzip2: Comprime y descomprime archivos ms eficientemente que gzip y winZip pero empleando ms
memoria y ms tiempo en su ejecucin.
unzip: Descomprime archivos zip.
zip: Comprime archivos zip.
nmap: Sirve para efectuar el rastreo de puertos. Se usa para evaluar la seguridad de sistemas
informticos, as como para descubrir servicios o servidores en una red.
jjjj