IST VLabs Tutorial Fall 2010 Dongwon Lee, Ph.D.
Connect to VLabs From IST classrooms: Working at home Login the computer using: ID: your PSU ID Password: your PSU password Domain: dce.psu.edu Working at home Use a remote connection s/w: Eg, Windows: “Remote Desktop Connection” Mac: “Remote Desktop Connection for Mac”
Connect to Vlabs: Eg, Windows Step 1 Start-> All programs -> Accessories -> Communications -> Remote Desktop Connection -> “vlabs.up.ist.psu.edu” Step 2 (optional): Click on “options” Fill up the configuration info Done!
Connect to VLabs Your PSU ID and Password
Useful Networked Locations Connects to IST’s Web Space Start Computer IST UP Web Space
IST Personal Web Space Personal web page URL Team web page URL Note: http://my.up.ist.psu.edu/your_psu_ID Team web page URL http://teams.up.ist.psu.edu/ follow link therein Note: You have up to 75M storage capacity The web space is enabled for ASP, ASPX, PHP, and HTML
IST Personal Web Space http://my.up.ist.psu.edu/dul13 would access the contents in my IST Personal Web Space
IST Personal Storage Space Your local storage space “My Documents” where you can keep your personal stuff \\upfs1.up.ist.local\Users\your_PSU_ID Start -> Run; then type the UNC (Universal Naming Convention) path \\upfs1.up.ist.local\Users\dul13
IST Personal Storage Space
Using SQL Server Management Studio Open SQL GUI Interface Start -> All Programs -> App Dev. & Mngmt -> Microsoft SQL Server 2008 R2 -> SQL Server management studio Click on “Connect" UPDB1 Use UPDB1
Using SQL Server Management Studio Expand “databases” by clicking on it. Now, you can explore the databases generated for you. The database name is your PSU login-ID. dul13
Ex 1: Create Your First Tables Expand your DB by clicking on it Right-click on “Table” listed in tree-view Choose “New Table” Enter the fields and their characteristics Save
Ex 1: Create Your First Tables SalesPerson Product SID Sname Comm. 10 Tim 4.5 20 Jane 3.8 30 John 2.9 PID Pname Price 101 Printer 100 102 Monitor 500 103 Laptop 1000 Sells Many-Many SID PID Qty 10 101 20 103 2 102 6 30 19
Ex 2: Add a User Add your project team members as users of your DB with certain privileges Eg, To give read or write access to your DB to your proj team members Workflow: Security -> Users -> Right-Click -> New User -> Then …
Ex 2: Add a User Add your project team members as your database users with rights db_datareader db_datawriter db_owner => This will make your team members to be able to read/write your data/tables Eg, UP\dul13