-D CMAKE_C_COMPILER=/usr/bin/clang -D CMAKE_CXX_COMPILER=/usr/bin/clang++
i.e. some stuff and junk about Python, Perl, Matlab, Ruby, Mac X, Linux, Solaris, ...
-D CMAKE_C_COMPILER=/usr/bin/clang -D CMAKE_CXX_COMPILER=/usr/bin/clang++
sudo vim /etc/lighttpd/lighttpd.conf
and add for example:
$SERVER["socket"] == ":81" {
server.document-root = "/srv/www/mysite"
}
gpg --recv-keys --keyserver hkp://pgp.mit.edu 2E1AC68ED40814E0
or
gpg --recv-keys --keyserver http://pgp.mit.edu:11371 2E1AC68ED40814E0
or
sudo pacman-key -r 2E1AC68ED40814E0
sudo pacman -S lighttpd php-fpm
include "conf.d/fastcgi.conf"
server.modules += ( "mod_fastcgi" )
index-file.names += ( "index.php" )
fastcgi.server = (
".php" => (
"localhost" => (
"socket" => "/run/php-fpm/php-fpm.sock",
"broken-scriptfilename" => "enable"
))
)
sudo systemctl enable php-fpm
sudo systemctl enable lighttpd
sudo systemctl start php-fpm
sudo systemctl start lighttpd
<?php
phpinfo();
?>
Make sure index.php has permission to be executed and read.
To enable phpmyadmin
sudo pacman -S phpmyadmin
And place the following in /etc/lighttpd/lighttpd.conf
alias.url = ( "/phpmyadmin" => "/usr/share/webapps/phpMyAdmin/")
server.modules = (
"mod_alias"
)
curl -L https://github.com/monero-project/monero/pull/1507.patch | git apply -v -
vboxmanage internalcommands sethduuid /mnt/stuff/linux_backup/VirtualBox\ VMs/w7/w7.vdi
printf "\e[?2004l"
ssh-copy-id -i ~/.ssh/id_rsa.pub username@remote-host
sudo dbus-launch --sh-syntax