This week's book giveaway is in the NodeJS forum.
We're giving away four copies of Serverless Applications with Node.js and have Slobodan Stojanovic & Aleksandar Simovic on-line!
See this thread for details.
Win a copy of Serverless Applications with Node.js this week in the NodeJS forum!

tangara goh

Ranch Hand
+ Follow
since Dec 27, 2009
I am a beginner in Java and hope to pick up the trade secrets so that I can move on to Android development
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
2
Received in last 30 days
0
Total given
76
Given in last 30 days
1
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by tangara goh

Hello,

My MYSQL database is still down and being the only person that do from A - Z, I havn't got time to look into it.

Recently, I came to know of accessing web host MYSQL where my database reside.

I'd like to know if it is safe to give my IP address away and then doing remote access to test out the web app in my local browser ?

Hope to hear from the experts.

Tks !

Tim Holloway wrote:This is all messed up. That directory structure looks more like Apache httpd than Apache Tomcat.



So is this a common set up in most hosting company - using Apache httpd and Apache Tomcat to work together?

Furthermore, I have subscribed to a dedicated JVM but the IP address is shared so it is all very confused to me now.

What is the norm out there in terms of hosting a Java EE web App with jsp ?

2 weeks ago
I did a test over my current web host and then I observed the following tomcat log.

NFO: Deployment of web application archive /media2/xxx/public_html/test2/ROOT.war has finished in 736 ms
Mar 19, 2019 9:52:29 AM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8138"]
Mar 19, 2019 9:52:29 AM org.apache.catalina.connector.MapperListener findDefaultHost
WARNING: Unknown default host [localhost] for connector [Connector[AJP/1.3-8138]]
Mar 19, 2019 9:52:29 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 4585 ms

I am puzzled that the war file is uploaded to test but the deployment shows test2 instead.

So, my question is why tomcat is showing test2 ?

Here's the directory structure :

public-html
->cgi-bin
+ROOT
-test
->cgi-bin
+ROOT
-test2

1 month ago

Junilu Lacar wrote:Answer this question first: when you bring up that particular form in your browser, can you successfully submit the form and get back a valid response? If so, there is nothing missing. Whether or not your war or jar file was unpacked when it was deployed to the server is irrelevant.



Of course the form can be sent or submitted by user over the 9 years I am with this hosting company hence I do not know why the technical support said I don't have a class file for that jsp.

What do you think ?

I'd like to know do people unpack the .war files themselves or hand it to the web hosting company people to unpack and put it in the relevant directory in Tomcat ?
1 month ago
JSP

Junilu Lacar wrote:Since you don't seem to understand that a JSP essentially is a servlet then I have my doubts about whether you understand how a form submission gets routed to a servlet that handles the form submission request.

Describe how you came to the conclusion that the servlet class was somehow missing. Tell us exactly where you looked and why you looked there. Normally, you'd first look in web.xml to see how URLs are mapped. From there, you can tell if you're using some kind of framework like Struts or Spring MVC and then continue searching from there.

Can you actually submit the form and get a response? If so, then the servlet isn't missing; you just don't know where to look.



I was told by the support that there isn't any class for that particular jsp I pointed out.

And so I am quite shock to get an reply like that.

I'd like to know if people normally extract the class files and upload to the public html ROOT folder when deploying it to web hosting company?

Perhaps they have messed up with my files that they don't know where it is now.....
1 month ago
JSP
I was trying to clean up my codes that was hosted with my web hosting company.

But, when I got to a form which is in jsp and it is linked to a servlet, I couldn't find that class file, as what I could find for another form.

I then emailed the support why is it that I couldn't find that file and he just replied that I do not need to have java class to run it.

However, I remember I did have a servlet for that form.

I feel quite disturbed that the class file could disappear and how then the form could still be submitted normally?

Over these 9 years, I was focusing on building up the site that my stuff just accumulated and I couldn't find the original source code.

I would like to know if there is any way running the .war file could give me back the java class file so that I can see what is the source code like?

I would also like to seek advice from the experts here do we just upload the ROOT.war to Tomcat public/html and all the compile code with JSP and servlet etc will extract on its own ?

The package I subscribed to is a private JVM with shared IP address.

Another thing is will it be a good idea to do remote connecting to the database residing in my web host for testing my code in my browser; since I can't still get MYSQL running in my local computer and I can't go on wasting time like that.

Hope to get some help here regarding above.

Thanks.



1 month ago
Sorry about it.

Here's the cut and pasted code :

1 month ago
There is something that rather disconcerting regarding the exposing of password in java class as per this tutorial has outlined and many as well.

So, I'd like to seek confirmation if this is the best practices out there or there is a better way to handle the password.

Here's the tutorial :

http://www.jjoe64.com/2014/01/send-email-via-smtpssl-with-javax-mail.html
1 month ago
I have created a new administrator user as I upgraded to MySQL server 8.0.15 running on Windows 10.

The problem is I can't connect using the new user.



And when I tried logging using the new User via Workbench and mysql prompt, it also doesn't allow me to log in even though I had grant it.


C:\Program Files\MySQL\MySQL Server 8.0.15\bin>mysql GRANT ALL PRIVILEGES ON *.* TO 'xxx'@'localhost' IDENTIFIED BY 'xxx888';
mysql  Ver 8.0.15 for Win64 on x86_64 (MySQL Community Server - GPL)
Copyright (c) 2000, 2019, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Usage: mysql [OPTIONS] [database]
 -?, --help          Display this help and exit.
 -I, --help          Synonym for -?
 --auto-rehash       Enable automatic rehashing. One doesn't need to use
                     'rehash' to get table and field completion, but startup
                     and reconnecting may take a longer time. Disable with
                     --disable-auto-rehash.
                     (Defaults to on; use --skip-auto-rehash to disable.)
 -A, --no-auto-rehash
                     No automatic rehashing. One has to use 'rehash' to get
                     table and field completion. This gives a quicker start of
                     mysql and disables rehashing on reconnect.
 --auto-vertical-output
                     Automatically switch to vertical output mode if the
                     result is wider than the terminal width.
 -B, --batch         Don't use history file. Disable interactive behavior.
                     (Enables --silent.)
 --bind-address=name IP address to bind to.
 --binary-as-hex     Print binary data as hex
 --character-sets-dir=name
                     Directory for character set files.
 --column-type-info  Display column type information.
 -c, --comments      Preserve comments. Send comments to the server. The
                     default is --skip-comments (discard comments), enable
                     with --comments.
 -C, --compress      Use compression in server/client protocol.
 -#, --debug[=#]     This is a non-debug version. Catch this and exit.
 --debug-check       This is a non-debug version. Catch this and exit.
 -T, --debug-info    This is a non-debug version. Catch this and exit.
 -D, --database=name Database to use.
 --default-character-set=name
                     Set the default character set.
 --delimiter=name    Delimiter to be used.
 --enable-cleartext-plugin
                     Enable/disable the clear text authentication plugin.
 -e, --execute=name  Execute command and quit. (Disables --force and history
                     file.)
 -E, --vertical      Print the output of a query (rows) vertically.
 -f, --force         Continue even if we get an SQL error.
 --histignore=name   A colon-separated list of patterns to keep statements
                     from getting logged into syslog and mysql history.
 -G, --named-commands
                     Enable named commands. Named commands mean this program's
                     internal commands; see mysql> help . When enabled, the
                     named commands can be used from any line of the query,
                     otherwise only from the first line, before an enter.
                     Disable with --disable-named-commands. This option is
                     disabled by default.
 -i, --ignore-spaces Ignore space after function names.
 --init-command=name SQL Command to execute when connecting to MySQL server.
                     Will automatically be re-executed when reconnecting.
 --local-infile      Enable/disable LOAD DATA LOCAL INFILE.
 -b, --no-beep       Turn off beep on error.
 -h, --host=name     Connect to host.
 -H, --html          Produce HTML output.
 -X, --xml           Produce XML output.
 --line-numbers      Write line numbers for errors.
                     (Defaults to on; use --skip-line-numbers to disable.)
 -L, --skip-line-numbers
                     Don't write line number for errors.
 -n, --unbuffered    Flush buffer after each query.
 --column-names      Write column names in results.
                     (Defaults to on; use --skip-column-names to disable.)
 -N, --skip-column-names
                     Don't write column names in results.
 --sigint-ignore     Ignore SIGINT (CTRL-C).
 -o, --one-database  Ignore statements except those that occur while the
                     default database is the one named at the command line.
 -p, --password[=name]
                     Password to use when connecting to server. If password is
                     not given it's asked from the tty.
 -W, --pipe          Use named pipes to connect to server.
 -P, --port=#        Port number to use for connection or 0 for default to, in
                     order of preference, my.cnf, $MYSQL_TCP_PORT,
                     /etc/services, built-in default (3306).
 --prompt=name       Set the mysql prompt to this value.
 --protocol=name     The protocol to use for connection (tcp, socket, pipe,
                     memory).
 -q, --quick         Don't cache result, print it row by row. This may slow
                     down the server if the output is suspended. Doesn't use
                     history file.
 -r, --raw           Write fields without conversion. Used with --batch.
 --reconnect         Reconnect if the connection is lost. Disable with
                     --disable-reconnect. This option is enabled by default.
                     (Defaults to on; use --skip-reconnect to disable.)
 -s, --silent        Be more silent. Print results with a tab as separator,
                     each row on new line.
 --shared-memory-base-name=name
                     Base name of shared memory.
 -S, --socket=name   The socket file to use for connection.
 --server-public-key-path=name
                     File path to the server public RSA key in PEM format.
 --get-server-public-key
                     Get server public key
 --ssl-mode=name     SSL connection mode.
 --ssl-ca=name       CA file in PEM format.
 --ssl-capath=name   CA directory.
 --ssl-cert=name     X509 cert in PEM format.
 --ssl-cipher=name   SSL cipher to use.
 --ssl-key=name      X509 key in PEM format.
 --ssl-crl=name      Certificate revocation list.
 --ssl-crlpath=name  Certificate revocation list path.
 --tls-version=name  TLS version to use, permitted values are: TLSv1, TLSv1.1,
                     TLSv1.2
 --ssl-fips-mode=name
                     SSL FIPS mode (applies only for OpenSSL); permitted
                     values are: OFF, ON, STRICT
 -t, --table         Output in table format.
 --tee=name          Append everything into outfile. See interactive help (\h)
                     also. Does not work in batch mode. Disable with
                     --disable-tee. This option is disabled by default.
 -u, --user=name     User for login if not current user.
 -U, --safe-updates  Only allow UPDATE and DELETE that uses keys.
 -U, --i-am-a-dummy  Synonym for option --safe-updates, -U.
 -v, --verbose       Write more. (-v -v -v gives the table output format).
 -V, --version       Output version information and exit.
 -w, --wait          Wait and retry if connection is down.
 --connect-timeout=# Number of seconds before connection timeout.
 --max-allowed-packet=#
                     The maximum packet length to send to or receive from
                     server.
 --net-buffer-length=#
                     The buffer size for TCP/IP and socket communication.
 --select-limit=#    Automatic limit for SELECT when using --safe-updates.
 --max-join-size=#   Automatic limit for rows in a join when using
                     --safe-updates.
 --show-warnings     Show warnings after every statement.
 -j, --syslog        Log filtered interactive commands to syslog. Filtering of
                     commands depends on the patterns supplied via histignore
                     option besides the default patterns.
 --plugin-dir=name   Directory for client-side plugins.
 --default-auth=name Default authentication client-side plugin to use.
 --binary-mode       By default, ASCII '\0' is disallowed and '\r\n' is
                     translated to '\n'. This switch turns off both features,
                     and also turns off parsing of all clientcommands except
                     \C and DELIMITER, in non-interactive mode (for input
                     piped to mysql or loaded using the 'source' command).
                     This is necessary when processing output from mysqlbinlog
                     that may contain blobs.
 --connect-expired-password
                     Notify the server that this client is prepared to handle
                     expired password sandbox mode.

Default options are read from the following files in the given order:
C:\WINDOWS\my.ini C:\WINDOWS\my.cnf C:\my.ini C:\my.cnf C:\Program Files\MySQL\MySQL Server 8.0.15\my.ini C:\Program Files\MySQL\MySQL Server 8.0.15\my.cnf
The following groups are read: mysql client
The following options may be given as the first argument:
--print-defaults        Print the program argument list and exit.
--no-defaults           Don't read default options from any option file,
                       except for login file.
--defaults-file=#       Only read default options from the given file #.
--defaults-extra-file=# Read this file after the global files are read.
--defaults-group-suffix=#
                       Also read groups with concat(group, suffix)
--login-path=#          Read this path from the login file.

Variables (--variable-name=value)
and boolean options {FALSE|TRUE}  Value (after reading options)
--------------------------------- ----------------------------------------
auto-rehash                       TRUE
auto-vertical-output              FALSE
bind-address                      (No default value)
binary-as-hex                     FALSE
character-sets-dir                (No default value)
column-type-info                  FALSE
comments                          FALSE
compress                          FALSE
database                          (No default value)
default-character-set             auto
delimiter                         ;
enable-cleartext-plugin           FALSE
vertical                          FALSE
force                             FALSE
histignore                        (No default value)
named-commands                    FALSE
ignore-spaces                     FALSE
init-command                      (No default value)
local-infile                      FALSE
no-beep                           FALSE
host                              (No default value)
html                              FALSE
xml                               FALSE
line-numbers                      TRUE
unbuffered                        FALSE
column-names                      TRUE
sigint-ignore                     FALSE
port                              0
prompt                            mysql>
quick                             FALSE
raw                               FALSE
reconnect                         TRUE
shared-memory-base-name           (No default value)
socket                            (No default value)
server-public-key-path            (No default value)
get-server-public-key             FALSE
ssl-ca                            (No default value)
ssl-capath                        (No default value)
ssl-cert                          (No default value)
ssl-cipher                        (No default value)
ssl-key                           (No default value)
ssl-crl                           (No default value)
ssl-crlpath                       (No default value)
tls-version                       (No default value)
table                             FALSE
user                              (No default value)
safe-updates                      FALSE
i-am-a-dummy                      FALSE
connect-timeout                   0
max-allowed-packet                16777216
net-buffer-length                 16384
select-limit                      1000
max-join-size                     1000000
show-warnings                     FALSE
plugin-dir                        (No default value)
default-auth                      (No default value)
binary-mode                       FALSE
connect-expired-password          FALSE



Hope someone can tell me how to resolve the problem. Tks.
1 month ago

Claude Moore wrote:Personally I develop on Windows and deploy on Linux. While developing on Windows is more an habit that an actual need , deployment on a Linux machine is mine #1 best practice. At least for me. Why ? Because most of times Linux makes the deployment stage - and monitoring also -simpler.



Tks for sharing.

May I know do I partition my harddisk on my Windows OS so that I can use Linux every time instead of first having to use Windows system before switching to Linux ?

I would appreciate it if you could point me to some beginner tutorial so that I can use Linux on my machine without logging into Windows 10 administrator command prompt.

1 month ago
OS : Windows 10
Ubuntu trusty 64.
Virtual box.


Hope someone can help me how to make vagrant up again:



C:\Users\tangara\VMLinux>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'ubuntu/trusty64' version '20190206.0.0' is up to date...
==> default: A newer version of the box 'ubuntu/trusty64' for provider 'virtualbox' is
==> default: available! You currently have version '20190206.0.0'. The latest is version
==> default: '20190209.0.0'. Run `vagrant box update` to update.
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.

C:\Users\tangara\VMLinux>vagrant box update
==> default: Checking for updates to 'ubuntu/trusty64'
   default: Latest installed version: 20190206.0.0
   default: Version constraints:
   default: Provider: virtualbox
==> default: Updating 'ubuntu/trusty64' with provider 'virtualbox' from version
==> default: '20190206.0.0' to '20190209.0.0'...
==> default: Loading metadata for box 'https://vagrantcloud.com/ubuntu/trusty64'
==> default: Adding box 'ubuntu/trusty64' (v20190209.0.0) for provider: virtualbox
   default: Downloading: https://vagrantcloud.com/ubuntu/boxes/trusty64/versions/20190209.0.0/providers/virtualbox.box
   default: Download redirected to host: cloud-images.ubuntu.com--:--:--)
   default: Progress: 100% (Rate: 4551k/s, Estimated time remaining: --:--:--)
==> default: Successfully added box 'ubuntu/trusty64' (v20190209.0.0) for 'virtualbox'!

C:\Users\tangara\VMLinux>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'ubuntu/trusty64' version '20190206.0.0' is up to date...
==> default: A newer version of the box 'ubuntu/trusty64' for provider 'virtualbox' is
==> default: available! You currently have version '20190206.0.0'. The latest is version
==> default: '20190209.0.0'. Run `vagrant box update` to update.
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.

C:\Users\tangara\VMLinux>vagrant box update
==> default: Checking for updates to 'ubuntu/trusty64'
   default: Latest installed version: 20190206.0.0
   default: Version constraints:
   default: Provider: virtualbox
==> default: Updating 'ubuntu/trusty64' with provider 'virtualbox' from version
==> default: '20190206.0.0' to '20190209.0.0'...
==> default: Loading metadata for box 'https://vagrantcloud.com/ubuntu/trusty64'
==> default: Adding box 'ubuntu/trusty64' (v20190209.0.0) for provider: virtualbox
The box you're attempting to add already exists. Remove it before
adding it again or add it with the `--force` flag.

Name: ubuntu/trusty64
Provider: virtualbox
Version: 20190209.0.0

C:\Users\tangara\VMLinux>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'ubuntu/trusty64' version '20190206.0.0' is up to date...
==> default: A newer version of the box 'ubuntu/trusty64' is available and already
==> default: installed, but your Vagrant machine is running against
==> default: version '20190206.0.0'. To update to version '20190209.0.0',
==> default: destroy and recreate your machine.
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.

C:\Users\tangara\VMLinux>vagrant provision
==> default: Running provisioner: shell...
   default: Running: inline script
   default: Provisioning system ...
   default: Reading package lists...
   default: Building dependency tree...
   default: Reading state information...
   default: cowsay is already the newest version.
   default: unzip is already the newest version.
   default: 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
   default: rm:
   default: cannot remove ‘/usr/share/cowsay/cows/*odo*’
   default: : No such file or directory
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.

C:\Users\tangara\VMLinux>vagrant destroy
   default: Are you sure you want to destroy the 'default' VM? [y/N] y
==> default: Forcing shutdown of VM...
==> default: Destroying VM and associated drives...

C:\Users\tangara\VMLinux>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'ubuntu/trusty64'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'ubuntu/trusty64' version '20190209.0.0' is up to date...
==> default: Setting the name of the VM: VMLinux_default_1550903430584_16801
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
   default: Adapter 1: nat
==> default: Forwarding ports...
   default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
   default: SSH address: 127.0.0.1:2222
   default: SSH username: vagrant
   default: SSH auth method: private key
   default: Warning: Remote connection disconnect. Retrying...
   default: Warning: Connection aborted. Retrying...
   default: Warning: Connection reset. Retrying...
   default: Warning: Remote connection disconnect. Retrying...
   default:
   default: Vagrant insecure key detected. Vagrant will automatically replace
   default: this with a newly generated keypair for better security.
   default:
   default: Inserting generated public key within guest...
   default: Removing insecure key from the guest if it's present...
   default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
   default: The guest additions on this VM do not match the installed version of
   default: VirtualBox! In most cases this is fine, but in rare cases it can
   default: prevent things such as shared folders from working properly. If you see
   default: shared folder errors, please make sure the guest additions within the
   default: virtual machine match the version of VirtualBox you have installed on
   default: your host and reload your VM.
   default:
   default: Guest Additions Version: 4.3.36
   default: VirtualBox Version: 5.2
==> default: Mounting shared folders...
   default: /vagrant => C:/Users/tangara/VMLinux
==> default: Running provisioner: shell...
   default: Running: inline script
   default: Provisioning system ...
   default: Reading package lists...
   default: Building dependency tree...
   default: Reading state information...
   default: Suggested packages:
   default:   filters zip
   default: The following NEW packages will be installed:
   default:   cowsay unzip
   default: 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
   default: Need to get 175 kB of archives.
   default: After this operation, 485 kB of additional disk space will be used.
   default: Get:1 http://archive.ubuntu.com/ubuntu/ trusty/universe cowsay all 3.03+dfsg1-6 [18.5 kB]
   default: Get:2 http://archive.ubuntu.com/ubuntu/ trusty-updates/main unzip amd64 6.0-9ubuntu1.5 [157 kB]
   default: dpkg-preconfigure: unable to re-open stdin: No such file or directory
   default: Fetched 175 kB in 3s (45.0 kB/s)
   default: Selecting previously unselected package cowsay.
   default: (Reading database ... 63153 files and directories currently installed.)
   default: Preparing to unpack .../cowsay_3.03+dfsg1-6_all.deb ...
   default: Unpacking cowsay (3.03+dfsg1-6) ...
   default: Selecting previously unselected package unzip.
   default: Preparing to unpack .../unzip_6.0-9ubuntu1.5_amd64.deb ...
   default: Unpacking unzip (6.0-9ubuntu1.5) ...
   default: Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
   default: Processing triggers for mime-support (3.54ubuntu1.1) ...
   default: Setting up cowsay (3.03+dfsg1-6) ...
   default: Setting up unzip (6.0-9ubuntu1.5) ...

C:\Users\tangara\VMLinux>vagrant reload
==> default: Attempting graceful shutdown of VM...
==> default: Checking if box 'ubuntu/trusty64' version '20190209.0.0' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
   default: Adapter 1: nat
==> default: Forwarding ports...
   default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
   default: SSH address: 127.0.0.1:2222
   default: SSH username: vagrant
   default: SSH auth method: private key
   default: Warning: Connection aborted. Retrying...
   default: Warning: Remote connection disconnect. Retrying...
   default: Warning: Connection reset. Retrying...
   default: Warning: Connection aborted. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
   default: The guest additions on this VM do not match the installed version of
   default: VirtualBox! In most cases this is fine, but in rare cases it can
   default: prevent things such as shared folders from working properly. If you see
   default: shared folder errors, please make sure the guest additions within the
   default: virtual machine match the version of VirtualBox you have installed on
   default: your host and reload your VM.
   default:
   default: Guest Additions Version: 4.3.36
   default: VirtualBox Version: 5.2
==> default: Mounting shared folders...
   default: /vagrant => C:/Users/tangara/VMLinux
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.

C:\Users\tangara\VMLinux>--provision
'--provision' is not recognized as an internal or external command,
operable program or batch file.

C:\Users\tangara\VMLinux>vagrant halt
==> default: Attempting graceful shutdown of VM...

C:\Users\tangara\VMLinux>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'ubuntu/trusty64' version '20190209.0.0' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
   default: Adapter 1: nat
==> default: Forwarding ports...
   default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
   default: SSH address: 127.0.0.1:2222
   default: SSH username: vagrant
   default: SSH auth method: private key
   default: Warning: Connection aborted. Retrying...
   default: Warning: Remote connection disconnect. Retrying...
   default: Warning: Connection reset. Retrying...
   default: Warning: Connection aborted. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
   default: The guest additions on this VM do not match the installed version of
   default: VirtualBox! In most cases this is fine, but in rare cases it can
   default: prevent things such as shared folders from working properly. If you see
   default: shared folder errors, please make sure the guest additions within the
   default: virtual machine match the version of VirtualBox you have installed on
   default: your host and reload your VM.
   default:
   default: Guest Additions Version: 4.3.36
   default: VirtualBox Version: 5.2
==> default: Mounting shared folders...
   default: /vagrant => C:/Users/tangara/VMLinux
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.

C:\Users\tangara\VMLinux>vagrant suspend
==> default: Saving VM state and suspending execution...

C:\Users\tangara\VMLinux>vagrant resume
==> default: Resuming suspended VM...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
   default: SSH address: 127.0.0.1:2222
   default: SSH username: vagrant
   default: SSH auth method: private key
==> default: Machine booted and ready!
==> default: Machine already provisioned. Run `vagrant provision` or use the `--provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.

C:\Users\tangara\VMLinux>

2 months ago
I have come across full stack development course with Udacity etc whereby configuring linux web server is part of the course.

However, I do not understand why would developer wants to learn linux since they just hand over the web app to the web hosting company.

As I don't have the chance to work in this industry, I hope someone can tell me why.

Tks.
2 months ago
I am new in 'data-migration' and I think it is best seek out advice with the experts before I get my hands dirty.

Basically, I have a database which has a few thousands of rows and just a single table.

With the new schema which has a many to many relationship(many tables), I would need to migrate the data to my new schema.

Can I know if there is/are a free tool(s) out there to migrate the data ?

I will be using MYSQL server 8.0.14.

Running on Windows 10 OS.

Any opinions are most welcomed.

Tks.
2 months ago
It is not giving me the key and values. It returned not found
3 months ago

Jeanne Boyarsky wrote:Remember that the longer you wait, the higher the chance the internship goes to someone else.  You definitely aren't going to be able to take the test and not have them count the result.

I don't think it will look good if you ask for another delay either. You are worried about taking the test and leaving a bad impression. Someone who keeps asking for delays also creates a bad impression.



I think I am not ready for the test; as I have forgotten most of the stuff.

Is it alright if I just tell them that I will withdraw my application and apply again when I am more ready?
3 months ago