apk add apache2 php5-apache2
rc-service apache2 start
rc-update add apache2
echo ok >> /var/www/localhost/htdocs/index.html
apk add apache2 php5-apache2
rc-service apache2 start
rc-update add apache2
echo ok >> /var/www/localhost/htdocs/index.html
cat /proc/net/ip_tables_matches
owner
helper
conntrack
conntrack
conntrack
limit
owner
state
length
ttl
tcpmss
tos
tos
dscp
multiport
multiport
icmp
udplite
udp
tcp
/scripts/smtpmailgidonly on
SMTP Mail protection has been disabled. All users may make smtp connections.
There was a problem setting up iptables. You either have an older kernel or a broken iptables install, or ipt_owner could not be loaded.
cat /proc/net/ip_tables_matches | grep owner
modprobe xt_owner
/scripts/smtpmailgidonly on
SMTP Mail protection has been enabled.
All outbound SMTP connections will be redirected to localhost except:
uid is root (ports: 25,26,465,587)
uid is cpanel (ports: 25,26,465,587)
gid is mail (ports: 25,26,465,587)
gid is mailman (ports: 25,26,465,587)
This could be happen after server migration using some utils like rsync.
vzctl stop server_id
vzquota drop server_id
vzctl start server_id
lxc-console -n name -t 0
SELECT table_schema AS “Database”,
ROUND(SUM(data_length + index_length) / 1024 / 1024, 2) AS “Size (MB)”
FROM information_schema.TABLES
GROUP BY table_schema;
vi /etc/pure-ftpd.conf
LimitRecursion 100000 1
Reboot system after init=/bin/bash should work, this is helpful after password reset:
echo 1 > /proc/sys/kernel/sysrq
echo b > /proc/sysrq-trigger
Installatron error:
FAILURE [3; /opt/curlssl/bin/curl] https://server.com/install/index.php?installFixtures=true&_1518181922185 [http code=0; timeout=10]
You should fine all htaccess and disable them, if they have some server side directives like AddHandler and etc.
If that didn’t work then we’ll try a debug log;
. First, just before you press the [Install] button run these commands:
rm -f /var/installatron/logs/*
echo “debug=yes” >> /usr/local/installatron/etc/settings.ini
. Now press the [Install] button.
. Then when the install process fails immediately remove “debug=yes” from the end of: /usr/local/installatron/etc/settings.ini
That will build a detailed ‘debug_log’. They aren’t always easy to read
cd /tmp && wget –trust-server-names https://go.skype.com/skypeforlinux-64.rpm && dnf install /tmp/skypeforlinux-64.rpm
skypeforlinux
You can found check problem like this:
curl -s https://getcomposer.org/installer | php — –check
suhosin.executor.include.whitelist = phar
to disable suhosin run:
mkdir /root/bin && curl -sS https://getcomposer.org/installer | php -n — –install-dir=/root/bin
/usr/local/php56/bin/php56 -n /root/bin/composer.phar require league/some_package
It could be cause by this libvirt error: libvirtd[18329]: Failed to open file ‘/sys/class/net/vethSUT3FA/operstate’: No such file or directory
Fix:
brctl show
bridge name bridge id STP enabled interfaces
virbr0 8000.525400a97813 yes virbr0-nic
vim /var/lib/lxc/my_server/config
lxc.network.link = virbr0
lxc-start -n my_server -d
php artisan make:model Todo -mcr
awk -F\’ /^menuentry/{print\$2} /etc/grub2.cfg
Fedora (4.14.16-300.fc27.x86_64) 27 (Twenty Seven)
Fedora (4.14.14-300.fc27.x86_64) 27 (Twenty Seven)
Fedora (4.12.13-300.fc26.x86_64) 27 (Twenty Seven)
Fedora (0-rescue-fbb0c4896a9c0f680475c0a07edd2c5a) 27 (Twenty Seven)
grub2-set-default 2
cat /boot/grub2/grubenv |grep saved
saved_entry=2
cp /boot/grub2/grub.cfg /boot/grub2/grub.cfg_backup -v
grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file …
Found linux image: /boot/vmlinuz-4.14.16-300.fc27.x86_64
Found initrd image: /boot/initramfs-4.14.16-300.fc27.x86_64.img
Found linux image: /boot/vmlinuz-4.14.14-300.fc27.x86_64
Found initrd image: /boot/initramfs-4.14.14-300.fc27.x86_64.img
Found linux image: /boot/vmlinuz-4.12.13-300.fc26.x86_64
Found initrd image: /boot/initramfs-4.12.13-300.fc26.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-fbb0c4896a9c0f680475c0a07edd2c5a
Found initrd image: /boot/initramfs-0-rescue-fbb0c4896a9c0f680475c0a07edd2c5a.img
done
systemctl set-default graphical.target