Skip to content

Instantly share code, notes, and snippets.

View serverok's full-sized avatar
🎯
Focusing

Yujin Boby serverok

🎯
Focusing
View GitHub Profile
Can you edit DNS record on OLD server DNS and point domain
allenamenti.com.mx A 209.182.194.232
www.allenamenti.com.mx A 209.182.194.232
360.allenamenti.com.mx A 209.182.194.232
speakers.allenamenti.com.mx A 209.182.194.232
This will make the web site work from NEW server.
#!/usr/bin/python
"""pwgen: Generate secure password."""
__author__ = "SERVEROK"
__email__ = "admin@serverok.in"
__copyright__ = "Copyright 2016, ServerOk Software"
import random
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
set-window-option -g window-status-current-bg white
wpwebsi2@wpwebsitehosting.com [~/public_html/runlandpainting/wp-admin/includes]# stat network.php
File: `network.php'
Size: 39815 Blocks: 80 IO Block: 4096 regular file
Device: 841h/2113d Inode: 93328926 Links: 1
Access: (0644/-rw-r--r--) Uid: ( 602/wpwebsi2) Gid: ( 603/wpwebsi2)
Access: 2018-09-10 00:28:59.000000000 -0600
Modify: 2018-09-10 00:28:59.000000000 -0600
Change: 2019-06-05 01:11:03.986426686 -0600
wpwebsi2@wpwebsitehosting.com [~/public_html/runlandpainting/wp-admin/includes]# date
Wed Jun 5 12:00:29 MDT 2019
2nd disk is not working (/dev/sdb)
[root@konglingre ~]# parted -l
Model: ATA Crucial_CT120M50 (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Number Start End Size Type File system Flags
1 1049kB 525MB 524MB primary ext3 boot
git clone https://github.com/Mange/rtl8192eu-linux-driver
# https://www.serverok.in/ubuntu-php-72
apt-get install software-properties-common python-software-properties
add-apt-repository ppa:ondrej/php
apt update
apt -y upgrade
apt install php7.2
boby@sok-01:~$ dig +norec @demand.delta.aridns.net.au. braithwaites.ltd. NS
; <<>> DiG 9.11.3-1ubuntu1.5-Ubuntu <<>> +norec @demand.delta.aridns.net.au. braithwaites.ltd. NS
; (2 servers found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 61763
;; flags: qr; QUERY: 1, ANSWER: 0, AUTHORITY: 2, ADDITIONAL: 3
;; OPT PSEUDOSECTION:
$ openssl req -new -newkey rsa:2048 -nodes -keyout multi-domain.key -out multi-domain.csr
Generating a RSA private key
..........................................................................+++++
.........................................+++++
writing new private key to 'multi-domain.key'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
[pure-ftpd]
enabled = true
port = ftp
filter = pure-ftpd
logpath = /var/log/syslog
maxretry = 3
[dovecot]
enabled = true
filter = dovecot