Change phpMyAdmin alias to / on centos
Trying to remove the alias from the URL when accessing phpMyAdmin.
Edited the phpMyAdmin.conf file with "Alias / /usr/share/phpMyAdmin" but I get an error 403 when trying to access. I added "/db" instead of "/" and it works fine.
Alias /db /usr/share/phpMyAdmin Alias / /usr/share/phpMyAdmin
Web page returns Error 403 Forbidden.
See also questions close to this topic
Entries keep on getting doubled when entered on PHP MY Admin
I'm using PHPMyAdmin as part of a tutorial but find that whenever data is is entered into the database, the record for that particular entry is doubled, meaning that I effectively get two times the the data for the same entry. Is there just a problem with a setting?
I Have change utf8mb4 to utf8
Previously I have imported the
phpmyadmin. then error
# 1273 - Unknown collation: 'utf8mb4_unicode_ci'
Without making changes to the sql file I imported earlier, I closed phpmyadmin and xampp all at once.
I hope there is a solution to my problem, thank you.
How do I accept HTML form entries from other computers if I have a mysql database running on XAMPP server?
I have a XAMPP server running on my computer which accepts data from an HTML form and stores in mysql database. But, I want this HTML form to go global and accept other inputs as well. How will the server store these entries since the XAMPP server runs locally? I am running this on Windows 10.
Static IP and DHCP on same bridge on CentOS 7
I set up a bridge (br0) on enp1s0 interface on CentOS 7.
TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO=dhcp DEFROUTE=yes IPV4_FAILURE_FATAL=no IPV6INIT=yes IPV6_AUTOCONF=yes IPV6_DEFROUTE=yes IPV6_FAILURE_FATAL=no IPV6_ADDR_GEN_MODE=stable-privacy NAME=enp1s0 DEVICE=enp1s0 ONBOOT=yes BRIDGE=br0
DEVICE=br0 BOOTPROTO=dhcp IPV6INIT=yes IPV6_AUTOCONF=yes ONBOOT=yes TYPE=Bridge DELAY=0
The bridge gets correctly an IP from DHCP but I also need to assign a static IP to this bridge. Is it possible? If yes, how?
Installing Chrome on Linux, getting dependency error
I'm trying to use
Browsershotwhich uses a headless chrome. I'm trying to install chrome on a Linux machine, I followed at least 10 different tutorials, most of them were pretty much the same. My problem is that it seems that there are some dependencies that aren't getting installed. When I run (in root SSH):
google-chromeI get this error:
/usr/bin/google-chrome: error while loading shared libraries: libatk-bridge-2.0.so.0: cannot open `shared object file: No such file or directory`
I ran some packages that are supposed to install all dependencies - didn't work.
Erased cache and reinstalled - didn't work.
I'm kind of stuck.
My knowledge of server management and packages etc. is pretty minimal, and I'm not sure what I should do from here.
I'd appreciate any help I can get.
(I'm running CentOS 6.10)
SSH port forwarding on VirtualBox does not work
I am trying to SSH to CentOS guest from MacOS Mojave using VirtualBox.
1) Guest additions and open-ssh is installed on the fresh centos image. systemctl shows that sshd is running. I can ssh from localhost to localhost (on both guest and host).
Using virbr0 interface with an ip address of 192.168.122.1
4) Firewall and SELinux are switched-off on guest and guest is rebooted
5) I cannot ssh to guest from host:
ssh -p 2222 email@example.com -v OpenSSH_7.9p1, LibreSSL 2.7.3 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 20: Applying options for * debug1: Connecting to 127.0.0.1 [127.0.0.1] port 2222. debug1: Connection established. debug1: identity file /Users/skornego/.ssh/id_rsa type -1 debug1: identity file /Users/skornego/.ssh/id_rsa-cert type -1 debug1: identity file /Users/skornego/.ssh/id_dsa type -1 debug1: identity file /Users/skornego/.ssh/id_dsa-cert type -1 debug1: identity file /Users/skornego/.ssh/id_ecdsa type -1 debug1: identity file /Users/skornego/.ssh/id_ecdsa-cert type -1 debug1: identity file /Users/skornego/.ssh/id_ed25519 type -1 debug1: identity file /Users/skornego/.ssh/id_ed25519-cert type -1 debug1: identity file /Users/skornego/.ssh/id_xmss type -1 debug1: identity file /Users/skornego/.ssh/id_xmss-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_7.9
at this stage ssh is stuck
6) /var/log/secure does not detect connection attempt
That is it. I am stuck with that. I tried also to use bridged connection or host-only adapter but those did not work either. Any suggestions on how can I debug it further ?