Tuesday, October 3, 2017

Prepare a DEV machine on Fedora 26

1. Install basic packages.
yum install gcc zlib-devel bzip2 bzip2-devel readline readline-devel sqlite sqlite-devel openssl openssl-devel git yum-utils make wget make autoconf

2. Install local databases.
2.1 MySQL/MariaDB
# yum install mariadb-server phpMyAdmin php-mysqlnd
2.2 PostgreSQL
# yum install postgresql-server phpPgAdmin
3. Network settings
# nmcli c s
# nmcli c e "enp0s3"
> p
> set ipv4.addresses 192.168.10.150/24
> set ipv4.dns 192.168.10.10
> set ipv4.dns 192.168.10.20
> verify 
> save persistent
Or
# nmcli c m "enp0s3" ipv4.addresses 192.168.200.151/24 
# nmcli c m "enp0s3" ipv4.dns 192.168.10.10 192.168.10.20










No comments:

Post a Comment

Setup EMACS (Emacs Server) running as a daemon

1. run emacs as a daemon 1.1 start emacs as a server in existing instance - server stops with current Emacs process a. M-x server-start ...