Instalar systemd y systemd-sysv Debian
$apt-get update
$apt-get upgrade
$apt-get install systemd
$apt-get install systemd-sysv
Este paquete proporciona las páginas de manual y enlaces para / sbin / init, y herramientas de administración de energía, como el apagado.
$sudo reboot
FrankLinux
domingo, 23 de abril de 2017
sábado, 11 de marzo de 2017
NAT Proxmox
auto lo
iface lo inet loopback
auto eth0
#real IP adress
iface eth0 inet static
address 192.168.1.252
netmask 255.255.255.0
gateway 192.168.1.254
auto vmbr0
#private sub network
iface vmbr0 inet static
address 10.10.10.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '10.10.10.0/24' -o eth0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o eth0 -j MASQUERADE
other
auto lo
iface lo inet loopback
auto vmbr0
iface vmbr0 inet static
address 192.168.1.253
netmask 255.255.255.0
bridge_ports eth0
bridge_stp off
bridge_fd 0
auto eth1
iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0
gateway 192.168.1.254
auto vmbr1
iface vmbr1 inet static
address 10.10.10.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '10.10.10.0/24' -o eth1 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o eth1 -j MASQUERADE
iface lo inet loopback
auto eth0
#real IP adress
iface eth0 inet static
address 192.168.1.252
netmask 255.255.255.0
gateway 192.168.1.254
auto vmbr0
#private sub network
iface vmbr0 inet static
address 10.10.10.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '10.10.10.0/24' -o eth0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o eth0 -j MASQUERADE
other
auto lo
iface lo inet loopback
auto vmbr0
iface vmbr0 inet static
address 192.168.1.253
netmask 255.255.255.0
bridge_ports eth0
bridge_stp off
bridge_fd 0
auto eth1
iface eth1 inet static
address 192.168.1.1
netmask 255.255.255.0
gateway 192.168.1.254
auto vmbr1
iface vmbr1 inet static
address 10.10.10.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up echo 1 > /proc/sys/net/ipv4/ip_forward
post-up iptables -t nat -A POSTROUTING -s '10.10.10.0/24' -o eth1 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o eth1 -j MASQUERADE
jueves, 24 de noviembre de 2016
lunes, 31 de octubre de 2016
lunes, 11 de julio de 2016
php5 Centos y RHEl 7
https://doc.owncloud.org/server/9.0/admin_manual/installation/php_55_installation.html#centos-7-upgrade-to-php-5-5
RHEL 7 Upgrade to PHP 5.5
To upgrade to PHP 5.5, you must use the Software Collections (SCL) repository to be in compliance with your RHEL support contract, and not any other third-party repository. Follow these steps to install PHP 5.5 from SCL. First you must use your Subscription Manager to enable SCL:subscription-manager repos --enable rhel-server-rhscl-7-eus-rpms
yum install php55 php55-php php55-php-gd php55-php-mbstring
yum install php55-php-mysqlnd
yum install php55-php-ldap
mv /etc/httpd/conf.d/php.conf /etc/httpd/conf.d/php54.off
mv /etc/httpd/conf.modules.d/10-php.conf /etc/httpd/conf.modules.d/10-php54.off
cp /opt/rh/httpd24/root/etc/httpd/conf.d/php55-php.conf /etc/httpd/conf.d/
cp /opt/rh/httpd24/root/etc/httpd/conf.modules.d/10-php55-php.conf /etc/httpd/conf.modules.d/
cp /opt/rh/httpd24/root/etc/httpd/modules/libphp55-php5.so /etc/httpd/modules/
service httpd restart
phpinfo
that your Apache server is using PHP 5.5 and loading the
correct modules; see PHP Version and Information to learn how to use phpinfo.CentOS 7 Upgrade to PHP 5.5¶
To upgrade to PHP 5.5, use the Red Hat Software Collections (SCL) repository.Before upgrading, evaluate all of your PHP apps for compatibility with PHP 5.5.
Follow these steps to install PHP 5.5 from SCL. First install the SCL repository:
yum install centos-release-scl
yum install php55 php55-php php55-php-gd php55-php-mbstring
yum install php55-php-mysqlnd
yum install php55-php-ldap
mv /etc/httpd/conf.d/php.conf /etc/httpd/conf.d/php54.off
mv /etc/httpd/conf.modules.d/10-php.conf /etc/httpd/conf.modules.d/10-php54.off
cp /opt/rh/httpd24/root/etc/httpd/conf.d/php55-php.conf /etc/httpd/conf.d/
cp /opt/rh/httpd24/root/etc/httpd/conf.modules.d/10-php55-php.conf /etc/httpdconf.modules.d/
cp /opt/rh/httpd24/root/etc/httpd/modules/libphp55-php5.so /etc/httpd/modules/
service httpd restart
phpinfo
that your Apache server is using PHP 5.5 and loading the
correct modules; see PHP Version and Information to learn how to use phpinfo
.viernes, 1 de julio de 2016
OwnCloud Debian 8.4
Debian 8.4
echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/community/Debian_8.0/ /' >> /etc/apt/sources.list.d/owncloud.list
wget http://download.opensuse.org/repositories/isv:ownCloud:community/Debian_8.0/Release.key
apt-key add - < Release.key
apt-get update
apt-cache search owncloud
apt-get install owncloud
mysql --defaults-file=/etc/mysql/debian.cnf
CREATE DATABASE owncloud;
CREATE USER owncloud@localhost IDENTIFIED BY 'mysecurepassword';
GRANT ALL PRIVILEGES ON owncloud.* TO owncloud@localhost;
flush privileges;
quit
mkdir /var/owncloud
chown www-data:www-data /var/owncloud
chmod 750 /var/owncloud
Habilitar https:
a2enmod ssl
a2ensite default-ssl
service apache2 restart
echo 'deb http://download.opensuse.org/repositories/isv:/ownCloud:/community/Debian_8.0/ /' >> /etc/apt/sources.list.d/owncloud.list
wget http://download.opensuse.org/repositories/isv:ownCloud:community/Debian_8.0/Release.key
apt-key add - < Release.key
apt-get update
apt-cache search owncloud
apt-get install owncloud
mysql --defaults-file=/etc/mysql/debian.cnf
CREATE DATABASE owncloud;
CREATE USER owncloud@localhost IDENTIFIED BY 'mysecurepassword';
GRANT ALL PRIVILEGES ON owncloud.* TO owncloud@localhost;
flush privileges;
quit
mkdir /var/owncloud
chown www-data:www-data /var/owncloud
chmod 750 /var/owncloud
Habilitar https:
a2enmod ssl
a2ensite default-ssl
service apache2 restart
Suscribirse a:
Entradas (Atom)
Instalar systemd y systemd-sysv
Instalar systemd y s ystemd-sysv Debian $apt-get update $apt-get upgrade $apt-get install systemd $apt-get install systemd-sysv Este...
-
vim /etc/sysconfig/network hostname= nombre vim /etc/hosts 127.0.0.1 Nombre hostname nombre service nertworking restart
-
https://doc.owncloud.org/server/9.0/admin_manual/installation/php_55_installation.html#centos-7-upgrade-to-php-5-5 RHEL 7 Upgrade to P...
-
Instalar systemd y s ystemd-sysv Debian $apt-get update $apt-get upgrade $apt-get install systemd $apt-get install systemd-sysv Este...
yum install speedtest_cli
speedtest
speedtest-cli