To create the database. Create a text file, name it a.txt,
which has keys and values like this:
key_0
value_0
key_1
value_1
Run:
$ db_load -T -t hash -f a.txt a.db
To create the database. Create a text file, name it a.txt,
which has keys and values like this:
key_0
value_0
key_1
value_1
$ db_load -T -t hash -f a.txt a.db* Restarting web server apache2
* We failed to correctly shutdown apache, so we're now killing all running apache processes. This is almost certainly suboptimal, so please make sure your system is working as you'd expect now!
... waiting apache2: Syntax error on line 204 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/mem_cache.load: Cannot load /usr/lib/apache2/modules/mod_mem_cache.so into server: /usr/lib/apache2/modules/mod_mem_cache.so: undefined symbol: ap_cache_cacheable_hdrs_out
...fail!
LoadModule cache_module /usr/lib/apache2/modules/mod_cache.so
# Include module configuration:
/etc/apache2/apache2.conf
&hl=en
?hl=en
Cannot open your terminal '/dev/pts/0' - please check.
script -c "screen -S main" /dev/null
# apt-get install libpam-pwdfile
# mkdir /etc/vsftpd
# cd /etc/vsftpd
# htpasswd -c passwd_ftp a_sample_website
# cd /etc/pam.d
# vi vsftpd
# Standard behaviour for ftpd(8).
auth required pam_listfile.so item=user sense=deny file=/etc/ftpusers onerr=succeed
# Note: vsftpd handles anonymous logins on its own. Do not enable
# pam_ftp.so.
# Standard blurb.
#@include common-account
#@include common-session
#@include common-auth
#auth required pam_shells.so
# Customized login using htpasswd file
auth required pam_pwdfile.so pwdfile /etc/vsftpd/passwd_ftp
account required pam_permit.so
# vi /etc/vsftpd.conf
write_enable=YES
local_umask=022
chroot_local_user=YES
# addtitional settings by chaitat
virtual_use_local_privs=YES
connect_from_port_20=YES
guest_enable=YES
guest_username=ftp
user_sub_token=$USER
local_root=/vhdocs/$USER
hide_ids=YES
# /etc/init.d/vsftpd restart
# chown -R ftp.nogroup /vhdocs/a_sample_website
AuthUserFile /var/www/tmp/.htpasswd
AuthName "My Private Directory"
AuthType Basic
require valid-user
admin:$apr1$Y5J7envl$dYoDhqywTT.mD4L6MQIAU/